POST TCPv1/Enquiries/PurchaseHistory?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
PODetailByDepot| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| DepotIDs | string |
None. |
|
| SupplierID | integer |
None. |
|
| DateFrom | date |
None. |
|
| DateTo | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"DepotIDs": "sample string 2",
"SupplierID": 3,
"DateFrom": "2026-06-08T00:08:57.1566734+01:00",
"DateTo": "2026-06-08T00:08:57.1566734+01:00"
}
application/xml, text/xml
Sample:
<PODetailByDepot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTCPWebAPI.Models.SmartAPI"> <DateFrom>2026-06-08T00:08:57.1566734+01:00</DateFrom> <DateTo>2026-06-08T00:08:57.1566734+01:00</DateTo> <DepotIDs>sample string 2</DepotIDs> <ProductID>1</ProductID> <SupplierID>3</SupplierID> </PODetailByDepot>
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. |