POST TCPv1/WSHPRA/ClientOrder/AddProductsQuantity?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
AddProductsQuantity| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductIDs | string |
None. |
|
| ProductQuantity | string |
None. |
|
| Shortestexpiry | string |
None. |
|
| NextTreatmentDate | string |
None. |
|
| NextCollectionDate | string |
None. |
|
| NextOrderQty | string |
None. |
|
| ClientOrderID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductIDs": "sample string 1",
"ProductQuantity": "sample string 2",
"Shortestexpiry": "sample string 3",
"NextTreatmentDate": "sample string 4",
"NextCollectionDate": "sample string 5",
"NextOrderQty": "sample string 6",
"ClientOrderID": 7
}
application/xml, text/xml
Sample:
<AddProductsQuantity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTCPWebAPI.Models.SmartAPI"> <ClientOrderID>7</ClientOrderID> <NextCollectionDate>sample string 5</NextCollectionDate> <NextOrderQty>sample string 6</NextOrderQty> <NextTreatmentDate>sample string 4</NextTreatmentDate> <ProductIDs>sample string 1</ProductIDs> <ProductQuantity>sample string 2</ProductQuantity> <Shortestexpiry>sample string 3</Shortestexpiry> </AddProductsQuantity>
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. |