POST public-api/ic/purchaseorder/UpdateASNOrderLineTrackbyInfo



Request Information

URI Parameters

None.

Body Parameters

Collection of OrderLineTrackbyInfoDetailModel
NameDescriptionTypeAdditional information
AssetId

integer

None.

AssetDescription

string

None.

AssetTypeId

integer

None.

AssetType

string

None.

CategoryId

integer

None.

ItemBaseUomId

integer

None.

BaseUomAbbreviation

string

None.

ItemOrderUomId

integer

None.

OrderUomAbbreviation

string

None.

LocationId

integer

None.

SiteId

integer

None.

ContainerId

integer

None.

ContainerTag

string

None.

Cost

decimal number

None.

UniqueRecordIdentitifier

string

None.

ResultCode

string

None.

OrderNumber

string

None.

TrackbyChildContainerId

The globally unique tag which identiies the child container. In contrast, the value specified by ImmediateParentContainerId could be duplicated since a tracked parent container (ImmediateParentContainerId) can have multiple inventory items and/or multiple nested child container identifiers. When a receive or add transaction is performed, and the total inventory quantity of a container id exceeds 1, an error will occur to indicate duplicate container identifier.

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

from the order line

decimal number

None.

OrderLineQuantityCompleted

from the order line

decimal number

None.

OrderLineOverUnderRequestQtyDelta

(sum of trackby quantities) MINUS the order line (OrderLineQuantityRequested) if negative that means we have an under-receive potential if positive that means we have a potential over-receive potential eg: SumQuantityRequestedOLTI - OrderLineQuantityRequested eg:

decimal number

None.

RecordCountOLTI

sum of all distinct trackby quantity value records

integer

None.

SumQuantityRequestedOLTI

decimal number

None.

SumQuantityCompletedOLTI

decimal number

None.

LineTrackedItemLocationQuantityRequested

LineTrackedItemLocationQuantityRequested LineTrackedItemLocationQuantityComplete Trackby detail quantity. For example track by serial # or License Plate Number should have max qty = 1

decimal number

None.

LineTrackedItemLocationQuantityComplete

Trackby detail quantity. For example track by serial # or License Plate Number should have max qty = 1 Transactions will NOT allow receive of QTY more than 1 since this violates singularity enforcement rules

decimal number

None.

InternalIdentifiers

string

None.

Hierarchy

Collection of string

None.

Request Formats

application/json

Sample:
[
  {
    "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"
    ]
  }
]



Response Information

Resource Description

WaspResultOfBoolean
NameDescriptionTypeAdditional information
Data

Type specific result that always depends on the function called.

boolean

None.

Messages

List of Messages. All APIs should return messages. If an API function returns an error you can find more information about the error or errors in this collection of messages.

Collection of WtResult

None.

BatchNumber

This is a global batch number generated by a mass group of transaction records to be returned to the consumer on each call to rolling transaction rules. This requests that each group of Move/Add/Remove transaction batches is tied together. In prior products (such as Mobile Asset Cloud), all are set to null and the only time when the batch number is generated is for multiple check-out transactions but the old is to generate for each responsible party.

integer

None.

HasError

True if an API function result has an error message in the results. If this is false, the function succeeded but other informative messages may be available.

boolean

None.

HasHttpError

True if an API function call could not be fully posted to the server or the results could not be fully returned.

boolean

None.

HasMessage

True if any message is available.

boolean

None.

HasSuccessWithMoreDataRemaining

True if the server sent part of the data and there is more data available. Use with paging APIs to fetch data one page at a time.

boolean

None.

TotalRecordsLongCount

This is the total number of records available in the database based on the query and filer conditions provided. It is possible that the value can change from call to call as users add and delete records so this should not be used to page through multiple recordsets of data. This is used, for example, to set relative scroll bar sizes. When paging through data using functions like the assetadvancedinfosearch, calculating TotalRecordsLongCount for every page full of data is an time-consuming operation. To avoid that extra calculation, and help prevent throttling, assign TotalRecordsLongCount to TotalCountFromPriorFetch in the AdvancedSearchParameters to skip recalculating this total page count and to page thru the records faster.

integer

None.

Response Formats

application/json

Sample:
{
  "Data": true,
  "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
}