GET api/StockOrder/GetStockOrder/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

StockOrderHeaderViewModel
NameDescriptionTypeAdditional 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:34:03.9389445+00:00",
  "TCPNote": "sample string 6",
  "TCPDateCreated": "2024-11-23T16:34:03.9389445+00:00",
  "TCPDateModified": "2024-11-23T16:34:03.9389445+00:00",
  "TCPDateDelivery": "2024-11-23T16:34:03.9389445+00:00",
  "TCPSupplier": 9,
  "TCPDiscount": 10.1,
  "TCPCharge": 11.1,
  "Temperature": 0,
  "ExpectedDeliveryDate": "2024-11-23T16:34:03.9389445+00:00",
  "Details": [
    {
      "ProductID": "0e403903-691e-4170-9380-20aa7b86d397",
      "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:34:03.9389445+00:00",
      "TemperatureAtTime": 0
    },
    {
      "ProductID": "0e403903-691e-4170-9380-20aa7b86d397",
      "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:34:03.9389445+00:00",
      "TemperatureAtTime": 0
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.