POST api/Tracking/GetTrackingTMAsync
Request Information
URI Parameters
None.
Body Parameters
Collection of TrackingRequestDataName | Description | Type | Additional information |
---|---|---|---|
tracking_number | string |
None. |
|
carrier_code | string |
None. |
|
lang | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "tracking_number": "sample string 1", "carrier_code": "sample string 2", "lang": "sample string 3" }, { "tracking_number": "sample string 1", "carrier_code": "sample string 2", "lang": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfTrackingRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dds.Join2Ship.Entities.TrackingMore"> <TrackingRequestData> <carrier_code>sample string 2</carrier_code> <lang>sample string 3</lang> <tracking_number>sample string 1</tracking_number> </TrackingRequestData> <TrackingRequestData> <carrier_code>sample string 2</carrier_code> <lang>sample string 3</lang> <tracking_number>sample string 1</tracking_number> </TrackingRequestData> </ArrayOfTrackingRequestData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TrackingMoreResponseName | Description | Type | Additional information |
---|---|---|---|
IsError | boolean |
None. |
|
ErrorCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Meta | Meta |
None. |
|
Data | Data |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IsError": true, "ErrorCode": 2, "ErrorMessage": "sample string 3", "Meta": { "Code": 1, "Type": "sample string 1", "Message": "sample string 2" }, "Data": { "Items": [ { "Id": "sample string 1", "Tracking_number": "sample string 2", "Carrier_code": "sample string 3", "Status": "sample string 4", "Original_country": "sample string 5", "Destination_country": "sample string 6", "ItemTimeLength": 1, "Origin_info": { "Weblink": "sample string 1", "Phone": "sample string 2", "Carrier_code": "sample string 3", "Trackinfo": [ { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" }, { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" } ] }, "Destination_info": {}, "LastEvent": "sample string 8", "LastUpdateTime": "sample string 9" }, { "Id": "sample string 1", "Tracking_number": "sample string 2", "Carrier_code": "sample string 3", "Status": "sample string 4", "Original_country": "sample string 5", "Destination_country": "sample string 6", "ItemTimeLength": 1, "Origin_info": { "Weblink": "sample string 1", "Phone": "sample string 2", "Carrier_code": "sample string 3", "Trackinfo": [ { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" }, { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" } ] }, "Destination_info": {}, "LastEvent": "sample string 8", "LastUpdateTime": "sample string 9" } ] } }, { "IsError": true, "ErrorCode": 2, "ErrorMessage": "sample string 3", "Meta": { "Code": 1, "Type": "sample string 1", "Message": "sample string 2" }, "Data": { "Items": [ { "Id": "sample string 1", "Tracking_number": "sample string 2", "Carrier_code": "sample string 3", "Status": "sample string 4", "Original_country": "sample string 5", "Destination_country": "sample string 6", "ItemTimeLength": 1, "Origin_info": { "Weblink": "sample string 1", "Phone": "sample string 2", "Carrier_code": "sample string 3", "Trackinfo": [ { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" }, { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" } ] }, "Destination_info": {}, "LastEvent": "sample string 8", "LastUpdateTime": "sample string 9" }, { "Id": "sample string 1", "Tracking_number": "sample string 2", "Carrier_code": "sample string 3", "Status": "sample string 4", "Original_country": "sample string 5", "Destination_country": "sample string 6", "ItemTimeLength": 1, "Origin_info": { "Weblink": "sample string 1", "Phone": "sample string 2", "Carrier_code": "sample string 3", "Trackinfo": [ { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" }, { "Date": "2024-12-29T14:28:40.4040843+00:00", "StatusDescription": "sample string 1", "Details": "sample string 2" } ] }, "Destination_info": {}, "LastEvent": "sample string 8", "LastUpdateTime": "sample string 9" } ] } } ]
application/xml, text/xml
Sample:
<ArrayOfTrackingMoreResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dds.Join2Ship.Entities.TrackingMore"> <TrackingMoreResponse> <Data> <Items> <Item> <Carrier_code>sample string 3</Carrier_code> <Destination_country>sample string 6</Destination_country> <Destination_info /> <Id>sample string 1</Id> <ItemTimeLength>1</ItemTimeLength> <LastEvent>sample string 8</LastEvent> <LastUpdateTime>sample string 9</LastUpdateTime> <Origin_info> <Carrier_code>sample string 3</Carrier_code> <Phone>sample string 2</Phone> <Trackinfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> </Trackinfo> <Weblink>sample string 1</Weblink> </Origin_info> <Original_country>sample string 5</Original_country> <Status>sample string 4</Status> <Tracking_number>sample string 2</Tracking_number> </Item> <Item> <Carrier_code>sample string 3</Carrier_code> <Destination_country>sample string 6</Destination_country> <Destination_info /> <Id>sample string 1</Id> <ItemTimeLength>1</ItemTimeLength> <LastEvent>sample string 8</LastEvent> <LastUpdateTime>sample string 9</LastUpdateTime> <Origin_info> <Carrier_code>sample string 3</Carrier_code> <Phone>sample string 2</Phone> <Trackinfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> </Trackinfo> <Weblink>sample string 1</Weblink> </Origin_info> <Original_country>sample string 5</Original_country> <Status>sample string 4</Status> <Tracking_number>sample string 2</Tracking_number> </Item> </Items> </Data> <ErrorCode>2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <IsError>true</IsError> <Meta> <Code>1</Code> <Message>sample string 2</Message> <Type>sample string 1</Type> </Meta> </TrackingMoreResponse> <TrackingMoreResponse> <Data> <Items> <Item> <Carrier_code>sample string 3</Carrier_code> <Destination_country>sample string 6</Destination_country> <Destination_info /> <Id>sample string 1</Id> <ItemTimeLength>1</ItemTimeLength> <LastEvent>sample string 8</LastEvent> <LastUpdateTime>sample string 9</LastUpdateTime> <Origin_info> <Carrier_code>sample string 3</Carrier_code> <Phone>sample string 2</Phone> <Trackinfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> </Trackinfo> <Weblink>sample string 1</Weblink> </Origin_info> <Original_country>sample string 5</Original_country> <Status>sample string 4</Status> <Tracking_number>sample string 2</Tracking_number> </Item> <Item> <Carrier_code>sample string 3</Carrier_code> <Destination_country>sample string 6</Destination_country> <Destination_info /> <Id>sample string 1</Id> <ItemTimeLength>1</ItemTimeLength> <LastEvent>sample string 8</LastEvent> <LastUpdateTime>sample string 9</LastUpdateTime> <Origin_info> <Carrier_code>sample string 3</Carrier_code> <Phone>sample string 2</Phone> <Trackinfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> <TrackInfo> <Date>2024-12-29T14:28:40.4040843+00:00</Date> <Details>sample string 2</Details> <StatusDescription>sample string 1</StatusDescription> </TrackInfo> </Trackinfo> <Weblink>sample string 1</Weblink> </Origin_info> <Original_country>sample string 5</Original_country> <Status>sample string 4</Status> <Tracking_number>sample string 2</Tracking_number> </Item> </Items> </Data> <ErrorCode>2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <IsError>true</IsError> <Meta> <Code>1</Code> <Message>sample string 2</Message> <Type>sample string 1</Type> </Meta> </TrackingMoreResponse> </ArrayOfTrackingMoreResponse>