POST TCPv1/BatchTracking/BatchPurchaseOrders?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
BatchTrack| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| BatchNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"BatchNo": "sample string 2"
}
application/xml, text/xml
Sample:
<BatchTrack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTCPWebAPI.Models.SmartAPI"> <BatchNo>sample string 2</BatchNo> <ProductID>1</ProductID> </BatchTrack>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |