Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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.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": "2f5c8306-60c2-4bbb-9f8c-e773583306e9"
}

Response

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

[
  {
    "pkPurchaseAuditTrailId": "4ae67bce-508b-46c2-a689-a82cb7e089cf",
    "AuditTrailDateTimeStamp": "2021-07-29T09:24:43.3222153+01:00",
    "fkPurchaseId": "39107cea-d0a0-4d6d-a49c-5b600c8cf817",
    "AuditTrailType": "sample string 4",
    "AuditTrailTag": "sample string 5",
    "AuditTrailNote": "sample string 6",
    "UserName": "sample string 7",
    "AuditTrailDate": " 29 Jul 21",
    "AuditTrailTime": " 09:24"
  }
]