GET v1/PurchaseOrders/{purchaseOrderId}/TrackingInfo
Get a list with all tracking info for a given PurchaseOrder.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
purchaseOrderId |
The PurchaseOrder identifier. |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the TrackingInfo objects.
Collection of PurchaseOrderTrackingInfo
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
PurchaseOrderDeliveryId | integer |
None. |
|
CarrierName | string |
Required Max length: 50 |
|
TrackingCode | string |
Max length: 2147483647 |
|
TrackingUrl | string |
Max length: 2147483647 |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "PurchaseOrderDeliveryId": 1, "CarrierName": "sample string 2", "TrackingCode": "sample string 3", "TrackingUrl": "sample string 4" }, { "Id": 1, "PurchaseOrderDeliveryId": 1, "CarrierName": "sample string 2", "TrackingCode": "sample string 3", "TrackingUrl": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfPurchaseOrderTrackingInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PurchaseOrderTrackingInfo> <Id>1</Id> <PurchaseOrderDeliveryId>1</PurchaseOrderDeliveryId> <CarrierName>sample string 2</CarrierName> <TrackingCode>sample string 3</TrackingCode> <TrackingUrl>sample string 4</TrackingUrl> </PurchaseOrderTrackingInfo> <PurchaseOrderTrackingInfo> <Id>1</Id> <PurchaseOrderDeliveryId>1</PurchaseOrderDeliveryId> <CarrierName>sample string 2</CarrierName> <TrackingCode>sample string 3</TrackingCode> <TrackingUrl>sample string 4</TrackingUrl> </PurchaseOrderTrackingInfo> </ArrayOfPurchaseOrderTrackingInfo>