Back

Search

Search

Methods

Inventory

Orders

PurchaseOrder /Get_DeliveredRecords

Response: Get_DeliveredRecords_Response



Get delivered item records for specific PO

Parameters

NameTypeDescription
pkPurchaseIdGuidPO id

HTTP Endpoint

Server /PurchaseOrder / Get_DeliveredRecords

Permissions

GlobalPermissions.PurchaseOrder.ViewPurchaseOrderNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/PurchaseOrder/Get_DeliveredRecords HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

pkPurchaseId=12ce9ea1-3833-46dd-b029-eefc4ce1bebb

Response

This is an example response. Results may vary depending on your data.

{
  "Items": [
    {
      "pkDeliveryRecordId": 1,
      "fkPurchaseItemId": "b0c0fb39-a6ba-40b5-9bf0-7586b99aa878",
      "fkStockLocationId": "d395acc2-cc19-4a57-8861-08a4725c1f76",
      "UnitCost": 4.0,
      "DeliveredQuantity": 5,
      "CreatedDateTime": "2019-07-23T15:31:56.1783567+01:00",
      "ModifiedDateTime": "2019-07-23T15:31:56.1783567+01:00",
      "fkBatchInventoryId": 1
    },
    {
      "pkDeliveryRecordId": 1,
      "fkPurchaseItemId": "b0c0fb39-a6ba-40b5-9bf0-7586b99aa878",
      "fkStockLocationId": "d395acc2-cc19-4a57-8861-08a4725c1f76",
      "UnitCost": 4.0,
      "DeliveredQuantity": 5,
      "CreatedDateTime": "2019-07-23T15:31:56.1783567+01:00",
      "ModifiedDateTime": "2019-07-23T15:31:56.1783567+01:00",
      "fkBatchInventoryId": 1
    }
  ]
}