POST public-api/ic/purchaseorder/SaveASNOrderLineTrackbyInfo

This method saves the preliminary (Advance Shipping Notice) track-by information for the lines of a single purchase order, so that the values are already known when the order is later received. Existing entries are updated and new entries are added. The order is identified by the first non-empty OrderNumber found in the submitted values, and that order number is applied to every value in the request, so all values in a single call must belong to the same purchase order. 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 OrderLineTrackbyInfoModel
NameDescriptionTypeAdditional information
UniqueRecordIdentitifier

string

None.

ResultCode

string

None.

OrderNumber

string

None.

TrackbyChildContainerId

string

None.

TrackbySerialNumber

string

None.

TrackbyLot

string

None.

TrackbyDateCode

string

None.

TrackbyCustom1

string

None.

TrackbyCustom2

string

None.

TrackbyCustom3

string

None.

TrackbyCustom4

string

None.

TrackbyCustom5

string

None.

TrackbyCustom6

string

None.

ItemNumber

string

None.

ImmediateParentSiteName

string

None.

ImmediateParentLocationCode

string

None.

ImmediateParentContainerId

string

None.

OrderId

integer

None.

OrderTypeId

integer

None.

OrderLineId

integer

None.

LineTrackedItemSiteId

integer

None.

LineTrackedItemLocationId

integer

None.

LineTrackedItemContainerId

integer

None.

OrderLineQuantityRequested

decimal number

None.

OrderLineQuantityCompleted

decimal number

None.

OrderLineOverUnderRequestQtyDelta

decimal number

None.

RecordCountOLTI

integer

None.

SumQuantityRequestedOLTI

decimal number

None.

SumQuantityCompletedOLTI

decimal number

None.

LineTrackedItemLocationQuantityRequested

decimal number

None.

LineTrackedItemLocationQuantityComplete

decimal number

None.

InternalIdentifiers

string

None.

Hierarchy

Collection of string

None.

Request Formats

application/json

Sample:
[
  {
    "UniqueRecordIdentitifier": "sample string 1",
    "ResultCode": "sample string 2",
    "OrderNumber": "sample string 3",
    "TrackbyChildContainerId": "sample string 4",
    "TrackbySerialNumber": "sample string 5",
    "TrackbyLot": "sample string 6",
    "TrackbyDateCode": "sample string 7",
    "TrackbyCustom1": "sample string 8",
    "TrackbyCustom2": "sample string 9",
    "TrackbyCustom3": "sample string 10",
    "TrackbyCustom4": "sample string 11",
    "TrackbyCustom5": "sample string 12",
    "TrackbyCustom6": "sample string 13",
    "ItemNumber": "sample string 14",
    "ImmediateParentSiteName": "sample string 15",
    "ImmediateParentLocationCode": "sample string 16",
    "ImmediateParentContainerId": "sample string 17",
    "OrderId": 18,
    "OrderTypeId": 19,
    "OrderLineId": 20,
    "LineTrackedItemSiteId": 21,
    "LineTrackedItemLocationId": 22,
    "LineTrackedItemContainerId": 23,
    "OrderLineQuantityRequested": 24.0,
    "OrderLineQuantityCompleted": 25.0,
    "OrderLineOverUnderRequestQtyDelta": 26.0,
    "RecordCountOLTI": 27,
    "SumQuantityRequestedOLTI": 28.0,
    "SumQuantityCompletedOLTI": 29.0,
    "LineTrackedItemLocationQuantityRequested": 30.0,
    "LineTrackedItemLocationQuantityComplete": 31.0,
    "InternalIdentifiers": "sample string 32",
    "Hierarchy": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "UniqueRecordIdentitifier": "sample string 1",
    "ResultCode": "sample string 2",
    "OrderNumber": "sample string 3",
    "TrackbyChildContainerId": "sample string 4",
    "TrackbySerialNumber": "sample string 5",
    "TrackbyLot": "sample string 6",
    "TrackbyDateCode": "sample string 7",
    "TrackbyCustom1": "sample string 8",
    "TrackbyCustom2": "sample string 9",
    "TrackbyCustom3": "sample string 10",
    "TrackbyCustom4": "sample string 11",
    "TrackbyCustom5": "sample string 12",
    "TrackbyCustom6": "sample string 13",
    "ItemNumber": "sample string 14",
    "ImmediateParentSiteName": "sample string 15",
    "ImmediateParentLocationCode": "sample string 16",
    "ImmediateParentContainerId": "sample string 17",
    "OrderId": 18,
    "OrderTypeId": 19,
    "OrderLineId": 20,
    "LineTrackedItemSiteId": 21,
    "LineTrackedItemLocationId": 22,
    "LineTrackedItemContainerId": 23,
    "OrderLineQuantityRequested": 24.0,
    "OrderLineQuantityCompleted": 25.0,
    "OrderLineOverUnderRequestQtyDelta": 26.0,
    "RecordCountOLTI": 27,
    "SumQuantityRequestedOLTI": 28.0,
    "SumQuantityCompletedOLTI": 29.0,
    "LineTrackedItemLocationQuantityRequested": 30.0,
    "LineTrackedItemLocationQuantityComplete": 31.0,
    "InternalIdentifiers": "sample string 32",
    "Hierarchy": [
      "sample string 1",
      "sample string 2"
    ]
  }
]



Response Information

Resource Description

WaspResultOfListOfOrderLineTrackbyInfoModel
NameDescriptionTypeAdditional information
Data

Collection of OrderLineTrackbyInfoModel

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": [
    {
      "UniqueRecordIdentitifier": "sample string 1",
      "ResultCode": "sample string 2",
      "OrderNumber": "sample string 3",
      "TrackbyChildContainerId": "sample string 4",
      "TrackbySerialNumber": "sample string 5",
      "TrackbyLot": "sample string 6",
      "TrackbyDateCode": "sample string 7",
      "TrackbyCustom1": "sample string 8",
      "TrackbyCustom2": "sample string 9",
      "TrackbyCustom3": "sample string 10",
      "TrackbyCustom4": "sample string 11",
      "TrackbyCustom5": "sample string 12",
      "TrackbyCustom6": "sample string 13",
      "ItemNumber": "sample string 14",
      "ImmediateParentSiteName": "sample string 15",
      "ImmediateParentLocationCode": "sample string 16",
      "ImmediateParentContainerId": "sample string 17",
      "OrderId": 18,
      "OrderTypeId": 19,
      "OrderLineId": 20,
      "LineTrackedItemSiteId": 21,
      "LineTrackedItemLocationId": 22,
      "LineTrackedItemContainerId": 23,
      "OrderLineQuantityRequested": 24.0,
      "OrderLineQuantityCompleted": 25.0,
      "OrderLineOverUnderRequestQtyDelta": 26.0,
      "RecordCountOLTI": 27,
      "SumQuantityRequestedOLTI": 28.0,
      "SumQuantityCompletedOLTI": 29.0,
      "LineTrackedItemLocationQuantityRequested": 30.0,
      "LineTrackedItemLocationQuantityComplete": 31.0,
      "InternalIdentifiers": "sample string 32",
      "Hierarchy": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "UniqueRecordIdentitifier": "sample string 1",
      "ResultCode": "sample string 2",
      "OrderNumber": "sample string 3",
      "TrackbyChildContainerId": "sample string 4",
      "TrackbySerialNumber": "sample string 5",
      "TrackbyLot": "sample string 6",
      "TrackbyDateCode": "sample string 7",
      "TrackbyCustom1": "sample string 8",
      "TrackbyCustom2": "sample string 9",
      "TrackbyCustom3": "sample string 10",
      "TrackbyCustom4": "sample string 11",
      "TrackbyCustom5": "sample string 12",
      "TrackbyCustom6": "sample string 13",
      "ItemNumber": "sample string 14",
      "ImmediateParentSiteName": "sample string 15",
      "ImmediateParentLocationCode": "sample string 16",
      "ImmediateParentContainerId": "sample string 17",
      "OrderId": 18,
      "OrderTypeId": 19,
      "OrderLineId": 20,
      "LineTrackedItemSiteId": 21,
      "LineTrackedItemLocationId": 22,
      "LineTrackedItemContainerId": 23,
      "OrderLineQuantityRequested": 24.0,
      "OrderLineQuantityCompleted": 25.0,
      "OrderLineOverUnderRequestQtyDelta": 26.0,
      "RecordCountOLTI": 27,
      "SumQuantityRequestedOLTI": 28.0,
      "SumQuantityCompletedOLTI": 29.0,
      "LineTrackedItemLocationQuantityRequested": 30.0,
      "LineTrackedItemLocationQuantityComplete": 31.0,
      "InternalIdentifiers": "sample string 32",
      "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
}