POST api/Invoices/SaveInvoice

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": 2,
  "StatusId": 3,
  "TenantId": 4,
  "PackageId": 5,
  "Date": "2026-03-17T23:01:15.5191951+02:00",
  "Total": 7.0,
  "Paid": 8.0,
  "User1": "sample string 9",
  "UserRevenueShare1": 1.0,
  "UserRevenueValue1": 1.0,
  "User2": "sample string 10",
  "UserRevenueShare2": 1.0,
  "UserRevenueValue2": 1.0,
  "User3": "sample string 11",
  "UserRevenueShare3": 1.0,
  "Description": "sample string 12",
  "UserRevenueValue3": 1.0,
  "Status": "sample string 13",
  "TenantName": "sample string 14",
  "Package": "sample string 15",
  "Phone": "sample string 16",
  "Email": "sample string 17",
  "IsDeleted": true,
  "DeletedUserId": "sample string 19",
  "CreatedUserId": "sample string 20",
  "DeletedDate": "2026-03-17T23:01:15.5201961+02:00",
  "CreatedDate": "2026-03-17T23:01:15.5201961+02:00",
  "Remaining": 22.0
}

application/xml, text/xml

Sample:
<Invoices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Subscription">
  <Code>2</Code>
  <CreatedDate>2026-03-17T23:01:15.5201961+02:00</CreatedDate>
  <CreatedUserId>sample string 20</CreatedUserId>
  <Date>2026-03-17T23:01:15.5191951+02:00</Date>
  <DeletedDate>2026-03-17T23:01:15.5201961+02:00</DeletedDate>
  <DeletedUserId>sample string 19</DeletedUserId>
  <Description>sample string 12</Description>
  <Email>sample string 17</Email>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <Package>sample string 15</Package>
  <PackageId>5</PackageId>
  <Paid>8</Paid>
  <Phone>sample string 16</Phone>
  <Remaining>22</Remaining>
  <Status>sample string 13</Status>
  <StatusId>3</StatusId>
  <TenantId>4</TenantId>
  <TenantName>sample string 14</TenantName>
  <Total>7</Total>
  <User1>sample string 9</User1>
  <User2>sample string 10</User2>
  <User3>sample string 11</User3>
  <UserRevenueShare1>1</UserRevenueShare1>
  <UserRevenueShare2>1</UserRevenueShare2>
  <UserRevenueShare3>1</UserRevenueShare3>
  <UserRevenueValue1>1</UserRevenueValue1>
  <UserRevenueValue2>1</UserRevenueValue2>
  <UserRevenueValue3>1</UserRevenueValue3>
</Invoices>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Invoices'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.