POST v1/Generic/InvoiceCheck

Request Information

URI Parameters

None.

Body Parameters

InvoiceCheckRequestModel
NameDescriptionTypeAdditional information
OrderID

integer

None.

Guid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderID": 1,
  "Guid": "b1c49ae6-cfb2-4b0b-a04d-5e5bb7e81fa0"
}

application/xml, text/xml

Sample:
<InvoiceCheckRequestModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Guid>b1c49ae6-cfb2-4b0b-a04d-5e5bb7e81fa0</Guid>
  <OrderID>1</OrderID>
</InvoiceCheckRequestModel>

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

Response Information

Resource Description

InvoiceCheckModel
NameDescriptionTypeAdditional information
HeaderSection

InvoiceCheckHeaderSectionModel

None.

OrderSection

InvoiceCheckServiceSectionModel

None.

Response Formats

application/json, text/json

Sample:
{
  "HeaderSection": {
    "PurchaseOrderNumber": {
      "Data": "sample string 1",
      "Match": true
    },
    "InvoiceTitle": {
      "Data": "sample string 1",
      "Match": true
    },
    "TermsCode": {
      "Data": "sample string 1",
      "Match": true
    },
    "Contact": {
      "Data": "sample string 1",
      "Match": true
    },
    "AddressLine1": {
      "Data": "sample string 1",
      "Match": true
    },
    "AddressLine2": {
      "Data": "sample string 1",
      "Match": true
    },
    "AddressLine3": {
      "Data": "sample string 1",
      "Match": true
    },
    "City": {
      "Data": "sample string 1",
      "Match": true
    },
    "StateCode": {
      "Data": "sample string 1",
      "Match": true
    },
    "ZipCode": {
      "Data": "sample string 1",
      "Match": true
    },
    "CountryCode": {
      "Data": "sample string 1",
      "Match": true
    },
    "Match": true
  },
  "OrderSection": {
    "Orders": {
      "Service": [
        {
          "VersionDetailID": "sample string 1",
          "OrderID": "sample string 2",
          "OrderNumber": "sample string 3",
          "VersionID": "sample string 4",
          "Value": "sample string 5",
          "Match": true,
          "Quantity": 7.0,
          "Rate": 8.0,
          "Amount": 9.0,
          "Tax": 10.0,
          "DateCreated": "sample string 11"
        },
        {
          "VersionDetailID": "sample string 1",
          "OrderID": "sample string 2",
          "OrderNumber": "sample string 3",
          "VersionID": "sample string 4",
          "Value": "sample string 5",
          "Match": true,
          "Quantity": 7.0,
          "Rate": 8.0,
          "Amount": 9.0,
          "Tax": 10.0,
          "DateCreated": "sample string 11"
        }
      ],
      "Postage": [
        {
          "VersionPostageID": "sample string 1",
          "OrderID": "sample string 2",
          "OrderNumber": "sample string 3",
          "VersionID": "sample string 4",
          "Value": "sample string 5",
          "Match": true,
          "Quantity": 7.0,
          "Rate": 8.0,
          "Amount": 9.0,
          "Tax": 10.0,
          "DateCreated": "sample string 11"
        },
        {
          "VersionPostageID": "sample string 1",
          "OrderID": "sample string 2",
          "OrderNumber": "sample string 3",
          "VersionID": "sample string 4",
          "Value": "sample string 5",
          "Match": true,
          "Quantity": 7.0,
          "Rate": 8.0,
          "Amount": 9.0,
          "Tax": 10.0,
          "DateCreated": "sample string 11"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<InvoiceCheckModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <HeaderSection>
    <PurchaseOrderNumber>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </PurchaseOrderNumber>
    <InvoiceTitle>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </InvoiceTitle>
    <TermsCode>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </TermsCode>
    <Contact>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </Contact>
    <AddressLine1>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </AddressLine1>
    <AddressLine2>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </AddressLine2>
    <AddressLine3>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </AddressLine3>
    <City>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </City>
    <StateCode>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </StateCode>
    <ZipCode>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </ZipCode>
    <CountryCode>
      <Data>sample string 1</Data>
      <Match>true</Match>
    </CountryCode>
    <Match>true</Match>
  </HeaderSection>
  <OrderSection>
    <Orders>
      <Service>
        <InvoiceCheckServiceItemModel>
          <OrderID>sample string 2</OrderID>
          <OrderNumber>sample string 3</OrderNumber>
          <VersionID>sample string 4</VersionID>
          <Value>sample string 5</Value>
          <Match>true</Match>
          <Quantity>7</Quantity>
          <Rate>8</Rate>
          <Amount>9</Amount>
          <Tax>10</Tax>
          <DateCreated>sample string 11</DateCreated>
          <VersionDetailID>sample string 1</VersionDetailID>
        </InvoiceCheckServiceItemModel>
        <InvoiceCheckServiceItemModel>
          <OrderID>sample string 2</OrderID>
          <OrderNumber>sample string 3</OrderNumber>
          <VersionID>sample string 4</VersionID>
          <Value>sample string 5</Value>
          <Match>true</Match>
          <Quantity>7</Quantity>
          <Rate>8</Rate>
          <Amount>9</Amount>
          <Tax>10</Tax>
          <DateCreated>sample string 11</DateCreated>
          <VersionDetailID>sample string 1</VersionDetailID>
        </InvoiceCheckServiceItemModel>
      </Service>
      <Postage>
        <InvoiceCheckPostageItemModel>
          <OrderID>sample string 2</OrderID>
          <OrderNumber>sample string 3</OrderNumber>
          <VersionID>sample string 4</VersionID>
          <Value>sample string 5</Value>
          <Match>true</Match>
          <Quantity>7</Quantity>
          <Rate>8</Rate>
          <Amount>9</Amount>
          <Tax>10</Tax>
          <DateCreated>sample string 11</DateCreated>
          <VersionPostageID>sample string 1</VersionPostageID>
        </InvoiceCheckPostageItemModel>
        <InvoiceCheckPostageItemModel>
          <OrderID>sample string 2</OrderID>
          <OrderNumber>sample string 3</OrderNumber>
          <VersionID>sample string 4</VersionID>
          <Value>sample string 5</Value>
          <Match>true</Match>
          <Quantity>7</Quantity>
          <Rate>8</Rate>
          <Amount>9</Amount>
          <Tax>10</Tax>
          <DateCreated>sample string 11</DateCreated>
          <VersionPostageID>sample string 1</VersionPostageID>
        </InvoiceCheckPostageItemModel>
      </Postage>
    </Orders>
  </OrderSection>
</InvoiceCheckModel>