POST v1/Generic/CheckInvoice

Request Information

URI Parameters

None.

Body Parameters

CheckInvoiceRequestModel
NameDescriptionTypeAdditional information
Number

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Number": "sample string 1"
}

application/xml, text/xml

Sample:
<CheckInvoiceRequestModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Number>sample string 1</Number>
</CheckInvoiceRequestModel>

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 'CheckInvoiceRequestModel'.

Response Information

Resource Description

CheckInvoiceResponseModel
NameDescriptionTypeAdditional information
isInvoicingOn

boolean

None.

OrderInvoiceNumber

Collection of InvoiceNumberOrderNumber

None.

Response Formats

application/json, text/json

Sample:
{
  "isInvoicingOn": true,
  "OrderInvoiceNumber": [
    {
      "OrderNumber": "sample string 1",
      "InvoiceNumber": "sample string 2"
    },
    {
      "OrderNumber": "sample string 1",
      "InvoiceNumber": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<CheckInvoiceResponseModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <isInvoicingOn>true</isInvoicingOn>
  <OrderInvoiceNumber>
    <InvoiceNumberOrderNumber>
      <OrderNumber>sample string 1</OrderNumber>
      <InvoiceNumber>sample string 2</InvoiceNumber>
    </InvoiceNumberOrderNumber>
    <InvoiceNumberOrderNumber>
      <OrderNumber>sample string 1</OrderNumber>
      <InvoiceNumber>sample string 2</InvoiceNumber>
    </InvoiceNumberOrderNumber>
  </OrderInvoiceNumber>
</CheckInvoiceResponseModel>