POST v1/PurchaseOrders/{purchaseOrderId}/TrackingInfo
Adds the specified tracking info.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
purchaseOrderId |
The PurchaseOrder identifier. |
integer |
Required. |
Body Parameters
The tracking info.
PurchaseOrderTrackingInfoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Must be 0 |
|
PurchaseOrderDeliveryId | integer |
None. |
|
CarrierName | string |
Required Max length: 50 |
|
TrackingCode | string |
Max length: 2147483647 |
|
TrackingUrl | string |
Max length: 2147483647 |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "PurchaseOrderDeliveryId": 1, "CarrierName": "sample string 2", "TrackingCode": "sample string 3", "TrackingUrl": "sample string 4" }
application/xml, text/xml
Sample:
<PurchaseOrderTrackingInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <PurchaseOrderDeliveryId>1</PurchaseOrderDeliveryId> <CarrierName>sample string 2</CarrierName> <TrackingCode>sample string 3</TrackingCode> <TrackingUrl>sample string 4</TrackingUrl> </PurchaseOrderTrackingInfo>
Response Information
Resource Description
The HttpResponseMessage object.
HttpResponseMessage
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |