POST public-api/ic/purchaseorder/GetASNOrderLineTrackbyInfo
This method retrieves the preliminary (Advance Shipping Notice) track-by information recorded against the order lines of the supplied purchase orders. Each order number is queried separately and the results are combined into a single response. Only outstanding track-by rows are returned — rows whose requested quantity has already been fully received are omitted, as are orders in a Draft, Cancelled, Closed, Closed-Complete, Rejected, Deleted, or e-commerce shipping state. Null, empty, and whitespace-only entries are ignored, and duplicate order numbers are queried only once regardless of letter case. An order number with no preliminary track-by information is reported as success with no data, with the order number in the FieldName field. Note: TotalRecordsLongCount reports the number of order numbers queried successfully, not the number of track-by records returned. 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 stringRequest Formats
application/json
[ "sample string 1", "sample string 2" ]
Response Information
Resource Description
WaspResultOfListOfOrderLineTrackbyInfoDetailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of OrderLineTrackbyInfoDetailModel |
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
{
"Data": [
{
"AssetId": 1,
"AssetDescription": "sample string 2",
"AssetTypeId": 3,
"AssetType": "sample string 4",
"CategoryId": 1,
"ItemBaseUomId": 5,
"BaseUomAbbreviation": "sample string 6",
"ItemOrderUomId": 7,
"OrderUomAbbreviation": "sample string 8",
"LocationId": 9,
"SiteId": 10,
"ContainerId": 11,
"ContainerTag": "sample string 12",
"Cost": 13.0,
"UniqueRecordIdentitifier": "sample string 14",
"ResultCode": "sample string 15",
"OrderNumber": "sample string 16",
"TrackbyChildContainerId": "sample string 17",
"TrackbySerialNumber": "sample string 18",
"TrackbyLot": "sample string 19",
"TrackbyDateCode": "sample string 20",
"TrackbyCustom1": "sample string 21",
"TrackbyCustom2": "sample string 22",
"TrackbyCustom3": "sample string 23",
"TrackbyCustom4": "sample string 24",
"TrackbyCustom5": "sample string 25",
"TrackbyCustom6": "sample string 26",
"ItemNumber": "sample string 27",
"ImmediateParentSiteName": "sample string 28",
"ImmediateParentLocationCode": "sample string 29",
"ImmediateParentContainerId": "sample string 30",
"OrderId": 31,
"OrderTypeId": 32,
"OrderLineId": 33,
"LineTrackedItemSiteId": 34,
"LineTrackedItemLocationId": 35,
"LineTrackedItemContainerId": 36,
"OrderLineQuantityRequested": 37.0,
"OrderLineQuantityCompleted": 38.0,
"OrderLineOverUnderRequestQtyDelta": 39.0,
"RecordCountOLTI": 40,
"SumQuantityRequestedOLTI": 41.0,
"SumQuantityCompletedOLTI": 42.0,
"LineTrackedItemLocationQuantityRequested": 43.0,
"LineTrackedItemLocationQuantityComplete": 44.0,
"InternalIdentifiers": "sample string 45",
"Hierarchy": [
"sample string 1",
"sample string 2"
]
},
{
"AssetId": 1,
"AssetDescription": "sample string 2",
"AssetTypeId": 3,
"AssetType": "sample string 4",
"CategoryId": 1,
"ItemBaseUomId": 5,
"BaseUomAbbreviation": "sample string 6",
"ItemOrderUomId": 7,
"OrderUomAbbreviation": "sample string 8",
"LocationId": 9,
"SiteId": 10,
"ContainerId": 11,
"ContainerTag": "sample string 12",
"Cost": 13.0,
"UniqueRecordIdentitifier": "sample string 14",
"ResultCode": "sample string 15",
"OrderNumber": "sample string 16",
"TrackbyChildContainerId": "sample string 17",
"TrackbySerialNumber": "sample string 18",
"TrackbyLot": "sample string 19",
"TrackbyDateCode": "sample string 20",
"TrackbyCustom1": "sample string 21",
"TrackbyCustom2": "sample string 22",
"TrackbyCustom3": "sample string 23",
"TrackbyCustom4": "sample string 24",
"TrackbyCustom5": "sample string 25",
"TrackbyCustom6": "sample string 26",
"ItemNumber": "sample string 27",
"ImmediateParentSiteName": "sample string 28",
"ImmediateParentLocationCode": "sample string 29",
"ImmediateParentContainerId": "sample string 30",
"OrderId": 31,
"OrderTypeId": 32,
"OrderLineId": 33,
"LineTrackedItemSiteId": 34,
"LineTrackedItemLocationId": 35,
"LineTrackedItemContainerId": 36,
"OrderLineQuantityRequested": 37.0,
"OrderLineQuantityCompleted": 38.0,
"OrderLineOverUnderRequestQtyDelta": 39.0,
"RecordCountOLTI": 40,
"SumQuantityRequestedOLTI": 41.0,
"SumQuantityCompletedOLTI": 42.0,
"LineTrackedItemLocationQuantityRequested": 43.0,
"LineTrackedItemLocationQuantityComplete": 44.0,
"InternalIdentifiers": "sample string 45",
"Hierarchy": [
"sample string 1",
"sample string 2"
]
}
],
"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
}