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": "ad7a6b5b-b069-469a-98bb-e21b606bc6f0"
}

Response

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

[
  {
    "pkPurchaseAuditTrailId": "b6446643-1c04-422e-8e06-e43a556295fb",
    "AuditTrailDateTimeStamp": "2022-09-05T15:10:03.9991766+03:00",
    "fkPurchaseId": "93c55067-948c-4416-8e80-dde17260e00f",
    "AuditTrailType": "sample string 4",
    "AuditTrailTag": "sample string 5",
    "AuditTrailNote": "sample string 6",
    "UserName": "sample string 7",
    "AuditTrailDate": " 05 Sep 22",
    "AuditTrailTime": " 15:10"
  }
]