POST api/InvoiceBatch

Request Information

URI Parameters

None.

Body Parameters

Collection of Invoice
NameDescriptionTypeAdditional information
Deleted

boolean

None.

Number

string

Required

String length: inclusive between 0 and 50

DateTime

date

None.

ClientId

string

Required

String length: inclusive between 0 and 50

ClientPmsId

string

Required

String length: inclusive between 0 and 50

ProviderId

string

String length: inclusive between 0 and 50

ProviderPmsId

string

String length: inclusive between 0 and 50

Amount

decimal number

None.

BalanceDue

decimal number

None.

DiscountAmount

decimal number

None.

AdjustmentAmount

decimal number

None.

TotalTaxAmount

decimal number

None.

PmsStatus

string

String length: inclusive between 0 and 50

IsComplete

boolean

None.

IsPaid

boolean

None.

SiteId

string

String length: inclusive between 0 and 50

ApiCreateDate

date

Required

ApiLastChangeDate

date

None.

CheckSum

integer

None.

RowKey

integer

Required

Id

string

Required

String length: inclusive between 0 and 50

SyncId

string

Required

String length: inclusive between 0 and 50

SubscriberId

string

Required

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
[
  {
    "Deleted": true,
    "Number": "sample string 1",
    "DateTime": "2025-12-16T00:51:54.4190046+00:00",
    "ClientId": "sample string 2",
    "ClientPmsId": "sample string 3",
    "ProviderId": "sample string 4",
    "ProviderPmsId": "sample string 5",
    "Amount": 1.0,
    "BalanceDue": 1.0,
    "DiscountAmount": 1.0,
    "AdjustmentAmount": 1.0,
    "TotalTaxAmount": 1.0,
    "PmsStatus": "sample string 6",
    "IsComplete": true,
    "IsPaid": true,
    "SiteId": "sample string 8",
    "ApiCreateDate": "2025-12-16T00:51:54.4190046+00:00",
    "ApiLastChangeDate": "2025-12-16T00:51:54.4190046+00:00",
    "CheckSum": 10,
    "RowKey": 11,
    "Id": "sample string 12",
    "SyncId": "sample string 13",
    "SubscriberId": "sample string 14"
  },
  {
    "Deleted": true,
    "Number": "sample string 1",
    "DateTime": "2025-12-16T00:51:54.4190046+00:00",
    "ClientId": "sample string 2",
    "ClientPmsId": "sample string 3",
    "ProviderId": "sample string 4",
    "ProviderPmsId": "sample string 5",
    "Amount": 1.0,
    "BalanceDue": 1.0,
    "DiscountAmount": 1.0,
    "AdjustmentAmount": 1.0,
    "TotalTaxAmount": 1.0,
    "PmsStatus": "sample string 6",
    "IsComplete": true,
    "IsPaid": true,
    "SiteId": "sample string 8",
    "ApiCreateDate": "2025-12-16T00:51:54.4190046+00:00",
    "ApiLastChangeDate": "2025-12-16T00:51:54.4190046+00:00",
    "CheckSum": 10,
    "RowKey": 11,
    "Id": "sample string 12",
    "SyncId": "sample string 13",
    "SubscriberId": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PVExDataModel">
  <Invoice>
    <AdjustmentAmount>1</AdjustmentAmount>
    <Amount>1</Amount>
    <ApiCreateDate>2025-12-16T00:51:54.4190046+00:00</ApiCreateDate>
    <ApiLastChangeDate>2025-12-16T00:51:54.4190046+00:00</ApiLastChangeDate>
    <BalanceDue>1</BalanceDue>
    <CheckSum>10</CheckSum>
    <ClientId>sample string 2</ClientId>
    <ClientPmsId>sample string 3</ClientPmsId>
    <DateTime>2025-12-16T00:51:54.4190046+00:00</DateTime>
    <Deleted>true</Deleted>
    <DiscountAmount>1</DiscountAmount>
    <Id>sample string 12</Id>
    <IsComplete>true</IsComplete>
    <IsPaid>true</IsPaid>
    <Number>sample string 1</Number>
    <PmsStatus>sample string 6</PmsStatus>
    <ProviderId>sample string 4</ProviderId>
    <ProviderPmsId>sample string 5</ProviderPmsId>
    <RowKey>11</RowKey>
    <SiteId>sample string 8</SiteId>
    <SubscriberId>sample string 14</SubscriberId>
    <SyncId>sample string 13</SyncId>
    <TotalTaxAmount>1</TotalTaxAmount>
  </Invoice>
  <Invoice>
    <AdjustmentAmount>1</AdjustmentAmount>
    <Amount>1</Amount>
    <ApiCreateDate>2025-12-16T00:51:54.4190046+00:00</ApiCreateDate>
    <ApiLastChangeDate>2025-12-16T00:51:54.4190046+00:00</ApiLastChangeDate>
    <BalanceDue>1</BalanceDue>
    <CheckSum>10</CheckSum>
    <ClientId>sample string 2</ClientId>
    <ClientPmsId>sample string 3</ClientPmsId>
    <DateTime>2025-12-16T00:51:54.4190046+00:00</DateTime>
    <Deleted>true</Deleted>
    <DiscountAmount>1</DiscountAmount>
    <Id>sample string 12</Id>
    <IsComplete>true</IsComplete>
    <IsPaid>true</IsPaid>
    <Number>sample string 1</Number>
    <PmsStatus>sample string 6</PmsStatus>
    <ProviderId>sample string 4</ProviderId>
    <ProviderPmsId>sample string 5</ProviderPmsId>
    <RowKey>11</RowKey>
    <SiteId>sample string 8</SiteId>
    <SubscriberId>sample string 14</SubscriberId>
    <SyncId>sample string 13</SyncId>
    <TotalTaxAmount>1</TotalTaxAmount>
  </Invoice>
</ArrayOfInvoice>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.