POST TCPv1/order/product/batch/Varification?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
BarcodeConfirmation| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseOrderID | integer |
None. |
|
| POTypeID | integer |
None. |
|
| batchno | string |
None. |
|
| batchnoConfrim | string |
None. |
|
| expirydate | date |
None. |
|
| expirydateConfirm | date |
None. |
|
| quantity | integer |
None. |
|
| quantityConfirm | integer |
None. |
|
| orderedQuantity | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PurchaseOrderID": 1,
"POTypeID": 2,
"batchno": "sample string 3",
"batchnoConfrim": "sample string 4",
"expirydate": "2026-06-08T00:06:23.0563586+01:00",
"expirydateConfirm": "2026-06-08T00:06:23.0563586+01:00",
"quantity": 7,
"quantityConfirm": 8,
"orderedQuantity": 9
}
application/xml, text/xml
Sample:
<BarcodeConfirmation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTCPWebAPI.Models.HHT"> <POTypeID>2</POTypeID> <PurchaseOrderID>1</PurchaseOrderID> <batchno>sample string 3</batchno> <batchnoConfrim>sample string 4</batchnoConfrim> <expirydate>2026-06-08T00:06:23.0563586+01:00</expirydate> <expirydateConfirm>2026-06-08T00:06:23.0563586+01:00</expirydateConfirm> <orderedQuantity>9</orderedQuantity> <quantity>7</quantity> <quantityConfirm>8</quantityConfirm> </BarcodeConfirmation>
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. |