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

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": "a4a6ac76-b422-4bab-9bc6-ca35018e789c"
}

Response

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

[
  {
    "pkPurchaseAuditTrailId": "c7608c74-feb2-4875-9f72-6e39351fb6eb",
    "AuditTrailDateTimeStamp": "2022-03-09T13:04:12.1320396+00:00",
    "fkPurchaseId": "eb43e300-2c3f-485c-bb63-497f4299864e",
    "AuditTrailType": "sample string 4",
    "AuditTrailTag": "sample string 5",
    "AuditTrailNote": "sample string 6",
    "UserName": "sample string 7",
    "AuditTrailDate": " 09 Mar 22",
    "AuditTrailTime": " 13:04"
  }
]