POST api/ReceiptConfirmation

Request Information

URI Parameters

None.

Body Parameters

Collection of ReceiptConfirmationItem
NameDescriptionTypeAdditional information
ReceiptReferenceNumber

string

Required

String length: inclusive between 1 and 24

Request Formats

application/json, text/json

Sample:
[
  {
    "ReceiptReferenceNumber": "sample string 1"
  },
  {
    "ReceiptReferenceNumber": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReceiptConfirmationItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models">
  <ReceiptConfirmationItem>
    <ReceiptReferenceNumber>sample string 1</ReceiptReferenceNumber>
  </ReceiptConfirmationItem>
  <ReceiptConfirmationItem>
    <ReceiptReferenceNumber>sample string 1</ReceiptReferenceNumber>
  </ReceiptConfirmationItem>
</ArrayOfReceiptConfirmationItem>

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

ResponseBaseOfListOfReceiptConfirmationResult
NameDescriptionTypeAdditional information
status

Status

None.

result

Collection of ReceiptConfirmationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "status": {
    "type": "Info",
    "code": "sample string 1",
    "message": "sample string 2",
    "refCode": "sample string 3",
    "stackTrace": "sample string 4",
    "requestErrors": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    }
  },
  "result": [
    {
      "ReceiptReferenceNumber": "sample string 1",
      "LotNo": "sample string 2",
      "VENDORSTYLE": "sample string 3",
      "SIZE": "sample string 4",
      "COLOR": "sample string 5",
      "UPCEAN": 1.0,
      "ALTSKU": "sample string 6",
      "UM": "sample string 7",
      "QTY": 1.0
    },
    {
      "ReceiptReferenceNumber": "sample string 1",
      "LotNo": "sample string 2",
      "VENDORSTYLE": "sample string 3",
      "SIZE": "sample string 4",
      "COLOR": "sample string 5",
      "UPCEAN": 1.0,
      "ALTSKU": "sample string 6",
      "UM": "sample string 7",
      "QTY": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseBaseOfArrayOfReceiptConfirmationResultStGUShCv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models">
  <result>
    <ReceiptConfirmationResult>
      <ALTSKU>sample string 6</ALTSKU>
      <COLOR>sample string 5</COLOR>
      <LotNo>sample string 2</LotNo>
      <QTY>1</QTY>
      <ReceiptReferenceNumber>sample string 1</ReceiptReferenceNumber>
      <SIZE>sample string 4</SIZE>
      <UM>sample string 7</UM>
      <UPCEAN>1</UPCEAN>
      <VENDORSTYLE>sample string 3</VENDORSTYLE>
    </ReceiptConfirmationResult>
    <ReceiptConfirmationResult>
      <ALTSKU>sample string 6</ALTSKU>
      <COLOR>sample string 5</COLOR>
      <LotNo>sample string 2</LotNo>
      <QTY>1</QTY>
      <ReceiptReferenceNumber>sample string 1</ReceiptReferenceNumber>
      <SIZE>sample string 4</SIZE>
      <UM>sample string 7</UM>
      <UPCEAN>1</UPCEAN>
      <VENDORSTYLE>sample string 3</VENDORSTYLE>
    </ReceiptConfirmationResult>
  </result>
  <status>
    <code>sample string 1</code>
    <message>sample string 2</message>
    <refCode>sample string 3</refCode>
    <requestErrors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </requestErrors>
    <stackTrace>sample string 4</stackTrace>
    <type>Info</type>
  </status>
</ResponseBaseOfArrayOfReceiptConfirmationResultStGUShCv>