Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PurchaseOrder /Get_PurchaseOrderAudit

Allows 150 calls per minute

Response: List<PurchaseOrderAudit>



Get the Audit Log of a Purchase Order. Returns maxium 1000 records in descending order

Parameters

NameTypeDescription
auditLogSearch_PurchaseOrder_AuditLogClass that represents parameters when searching the Audit Log

Permissions

GlobalPermissions.Inventory.PurchaseOrder.ViewPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/PurchaseOrder/Get_PurchaseOrderAudit

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

auditLog={
  "pkPurchaseId": "b3b6e601-d34f-4a23-b500-5577a93fef93"
}

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "pkPurchaseAuditTrailId": "1aeba7f9-3051-4806-8b7d-c3c8bc1a0f6d",
    "AuditTrailDateTimeStamp": "2023-01-10T13:49:49.989427+00:00",
    "fkPurchaseId": "b9496b3a-8f30-4e99-aaa0-70352d4a5216",
    "AuditTrailType": "sample string 4",
    "AuditTrailTag": "sample string 5",
    "AuditTrailNote": "sample string 6",
    "UserName": "sample string 7",
    "AuditTrailDate": " 10 Jan 23",
    "AuditTrailTime": " 13:49"
  }
]