GET v1/PurchaseOrders/{purchaseOrderId}/TrackingInfo

Get a list with all tracking info for a given PurchaseOrder.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
purchaseOrderId

The PurchaseOrder identifier.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the TrackingInfo objects.

Collection of PurchaseOrderTrackingInfo
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

PurchaseOrderDeliveryId

Gets or sets the delivery's identifier.

integer

None.

CarrierName

Gets or sets the Carrier Name.

string

Required

Max length: 50

TrackingCode

Gets or sets the Tracking Code.

string

Max length: 2147483647

TrackingUrl

Gets or sets the Tracking Url.

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>