PUT v1/PurchaseOrders/{purchaseOrderId}/TrackingInfo
Update an existing tracking info.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseOrderId |
The PurchaseOrder identifier. |
integer |
Required. |
Body Parameters
The tracking info.
PurchaseOrderTrackingInfo| Name | Description | Type | Additional 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 |
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. |