GET api/StockOrder/GetStockOrder?TCPReferenceCode={TCPReferenceCode}&SiteCode={SiteCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TCPReferenceCode | integer |
Required |
|
SiteCode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StockOrderHeaderViewModelName | Description | Type | Additional information |
---|---|---|---|
CatalogueId | integer |
None. |
|
SiteCode | integer |
None. |
|
TCPReferenceCode | integer |
None. |
|
TCPTransactionReference | string |
None. |
|
TCPDateGenerated | date |
None. |
|
TCPNote | string |
None. |
|
TCPDateCreated | date |
None. |
|
TCPDateModified | date |
None. |
|
TCPDateDelivery | date |
None. |
|
TCPSupplier | integer |
None. |
|
TCPDiscount | decimal number |
None. |
|
TCPCharge | decimal number |
None. |
|
Temperature | Temperature |
None. |
|
ExpectedDeliveryDate | date |
None. |
|
Details | Collection of StockOrderDetailViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "CatalogueId": 1, "SiteCode": 2, "TCPReferenceCode": 3, "TCPTransactionReference": "sample string 4", "TCPDateGenerated": "2024-11-23T16:29:02.1032045+00:00", "TCPNote": "sample string 6", "TCPDateCreated": "2024-11-23T16:29:02.1032045+00:00", "TCPDateModified": "2024-11-23T16:29:02.1032045+00:00", "TCPDateDelivery": "2024-11-23T16:29:02.1032045+00:00", "TCPSupplier": 9, "TCPDiscount": 10.1, "TCPCharge": 11.1, "Temperature": 0, "ExpectedDeliveryDate": "2024-11-23T16:29:02.1032045+00:00", "Details": [ { "ProductID": "63a905ee-4872-43d3-bbe6-ad95c95aee51", "SKUCostPrice": 1.0, "SKUSellingPrice": 1.0, "SKUSize": 1.0, "SKUName": "sample string 2", "TaxRate": 1.0, "TaxName": "sample string 3", "QuantityRequested": 4.1, "QuantityAccepted": 5.1, "QuantityRejected": 6.1, "LineNumber": 7, "ProviderStatus": 0, "ProviderNotes": "sample string 8", "QuantitySubstituted": 9.1, "ExpectedDeliveryDate": "2024-11-23T16:29:02.1032045+00:00", "TemperatureAtTime": 0 }, { "ProductID": "63a905ee-4872-43d3-bbe6-ad95c95aee51", "SKUCostPrice": 1.0, "SKUSellingPrice": 1.0, "SKUSize": 1.0, "SKUName": "sample string 2", "TaxRate": 1.0, "TaxName": "sample string 3", "QuantityRequested": 4.1, "QuantityAccepted": 5.1, "QuantityRejected": 6.1, "LineNumber": 7, "ProviderStatus": 0, "ProviderNotes": "sample string 8", "QuantitySubstituted": 9.1, "ExpectedDeliveryDate": "2024-11-23T16:29:02.1032045+00:00", "TemperatureAtTime": 0 } ] }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.