POST public-api/ic/purchaseorder/FindOrderByASNTrackbyContainerId

This method finds the open purchase orders whose preliminary (Advance Shipping Notice) track-by information references any of the supplied container ids. Each container id is searched separately and the matching orders are combined into a single response. Null, empty, and whitespace-only entries are ignored, and duplicate container ids are searched only once regardless of letter case. A container id that matches no order is reported as success with no data, with the container id in the FieldName field. Note: This is a Post API to avoid limitations inherent to passing parameters on the URL.



Request Information

URI Parameters

None.

Body Parameters

Collection of string

Request Formats

application/json

Sample:
[
  "sample string 1",
  "sample string 2"
]



Response Information

Resource Description

WaspResultOfListOfOrderModelSimple
NameDescriptionTypeAdditional information
Data

Collection of OrderModelSimple

None.

Messages

Collection of WtResult

None.

BatchNumber

integer

None.

HasError

boolean

None.

HasHttpError

boolean

None.

HasMessage

boolean

None.

HasSuccessWithMoreDataRemaining

boolean

None.

TotalRecordsLongCount

integer

None.

Response Formats

application/json

Sample:
{
  "Data": [
    {
      "OrderId": 1,
      "OrderNumber": "sample string 2",
      "OrderTypeId": 0,
      "OrderStatusId": 1,
      "OrderStatusReasonCodeId": 0,
      "OrderSourceId": 0,
      "OrderPriorityId": 0,
      "AssignedUserId": "eab2caf4-d2b7-41c5-9d80-61d80c74aa11",
      "DateStarted": "2026-09-15T18:16:30.956788+00:00",
      "DateDue": "2026-09-15T18:16:30.956788+00:00",
      "DateComplete": "2026-09-15T18:16:30.956788+00:00",
      "ReferenceNumber": "sample string 3",
      "SupplierId": 4,
      "CustomerId": 5,
      "OrderSiteId": 6,
      "OrderSiteName": "sample string 7",
      "OrderContainerId": "sample string 8"
    },
    {
      "OrderId": 1,
      "OrderNumber": "sample string 2",
      "OrderTypeId": 0,
      "OrderStatusId": 1,
      "OrderStatusReasonCodeId": 0,
      "OrderSourceId": 0,
      "OrderPriorityId": 0,
      "AssignedUserId": "eab2caf4-d2b7-41c5-9d80-61d80c74aa11",
      "DateStarted": "2026-09-15T18:16:30.956788+00:00",
      "DateDue": "2026-09-15T18:16:30.956788+00:00",
      "DateComplete": "2026-09-15T18:16:30.956788+00:00",
      "ReferenceNumber": "sample string 3",
      "SupplierId": 4,
      "CustomerId": 5,
      "OrderSiteId": 6,
      "OrderSiteName": "sample string 7",
      "OrderContainerId": "sample string 8"
    }
  ],
  "Messages": [
    {
      "ResultCode": 0,
      "Message": "sample string 1",
      "HttpStatusCode": 200,
      "FieldName": "sample string 2"
    },
    {
      "ResultCode": 0,
      "Message": "sample string 1",
      "HttpStatusCode": 200,
      "FieldName": "sample string 2"
    }
  ],
  "BatchNumber": 1,
  "HasError": false,
  "HasHttpError": false,
  "HasMessage": true,
  "HasSuccessWithMoreDataRemaining": false,
  "TotalRecordsLongCount": 1
}