POST api/TrackingNumbers
Request Information
URI Parameters
None.
Body Parameters
TrackingNumbersRequestDataName | Description | Type | Additional information |
---|---|---|---|
Brand | string |
None. |
|
BatchSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Brand": "sample string 1", "BatchSize": 2 }
application/xml, text/xml
Sample:
<TrackingNumbersModel.TrackingNumbersRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models"> <BatchSize>2</BatchSize> <Brand>sample string 1</Brand> </TrackingNumbersModel.TrackingNumbersRequestData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseCoreName | Description | Type | Additional information |
---|---|---|---|
status | Status |
None. |
|
result | Object |
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": {} }
application/xml, text/xml
Sample:
<ResponseCore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HanoverAPI.Models"> <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> </ResponseCore>