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

GET | 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": [
    "af971fd6-fe01-4117-b0c6-1171b7122006"
  ]
}

Response

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

{
  "AuditTrails": [
    {
      "pkOrderId": "9bd421db-188a-4fdc-928e-bc83c247657c",
      "AuditTrail": [
        {
          "Date": "2022-09-05T15:10:05.7473032+03: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"
        }
      ]
    }
  ]
}