Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /GetOrderAuditTrailsByIds

Allows 150 calls per minute

Response: GetOrderAuditTrailsByIdsResponse



Returns a list of audit trails for the provided order ids

Parameters

NameTypeDescription
requestGetOrderAuditTrailsByIdsRequest

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/GetOrderAuditTrailsByIds

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.

request={
  "OrderIds": [
    "9c03f3c1-ae94-426c-bb43-75e1dd622c30"
  ]
}

Response

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

{
  "AuditTrails": [
    {
      "pkOrderId": "f122f874-4224-4a8c-adfc-7467224fa732",
      "AuditTrail": [
        {
          "Date": "2022-03-09T13:04:14.3069142+00:00",
          "Type": "sample string 2",
          "Note": "sample string 3",
          "User": "sample string 4",
          "fkOrderHistoryTypeId": "sample string 5",
          "Tag": "sample string 6",
          "TypeDescription": "sample string 7"
        }
      ]
    }
  ]
}