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=915eace5-35f0-4de9-814b-2aac7709d68a

Response

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

{
  "Items": [
    {
      "pkDeliveryRecordId": 1,
      "fkPurchaseItemId": "57a2faaa-2f21-4814-9549-686318ae35d8",
      "fkStockLocationId": "1097c120-87c2-4102-8926-6c1f5c92cfe0",
      "UnitCost": 4.0,
      "DeliveredQuantity": 5,
      "CreatedDateTime": "2018-10-03T11:12:35.4661906+01:00",
      "ModifiedDateTime": "2018-10-03T11:12:35.4661906+01:00",
      "fkBatchInventoryId": 1
    },
    {
      "pkDeliveryRecordId": 1,
      "fkPurchaseItemId": "57a2faaa-2f21-4814-9549-686318ae35d8",
      "fkStockLocationId": "1097c120-87c2-4102-8926-6c1f5c92cfe0",
      "UnitCost": 4.0,
      "DeliveredQuantity": 5,
      "CreatedDateTime": "2018-10-03T11:12:35.4661906+01:00",
      "ModifiedDateTime": "2018-10-03T11:12:35.4661906+01:00",
      "fkBatchInventoryId": 1
    }
  ]
}