POST public-api/transactions/item/move
This api is used to move quantity of an item. If an item has trackbys they must be entered. Quantity moved in this way is always moved using the stocking units. Requires the Allow Move permission, enforces Role Site Accepts a maximum of 500 records at a time
Request Information
URI Parameters
None.
Body Parameters
Collection of ItemMoveTransactionModelName | Description | Type | Additional information |
---|---|---|---|
ItemNumber |
the unique identifier for this item |
string |
None. |
FromSiteName |
the old site of the inventory |
string |
None. |
FromLocationCode |
the old location within the site where the inventory was |
string |
None. |
FromParentContainerId |
the Inventory Quantity can be moved out of a container (such as a carton, box, tote, tub, pallet, cage, etc). The From Parent Container Id (From Parent ContainerLicense Plate Number) must already exist in the system prior to use. |
string |
None. |
ToSiteName |
the new site of the inventory |
string |
None. |
ToLocationCode |
the new location of the inventory |
string |
None. |
ToParentContainerId |
the Inventory Quantity can be moved into a container (such as a carton, box, tote, tub, pallet, cage, etc). The value of move To Parent Container Id (Move To Parent Container License Plate Number_ must already exist in the system prior to use. |
string |
None. |
Quantity |
the amount to adjust |
decimal number |
None. |
DateCode |
the date code of the inventory |
date |
None. |
Lot |
the lot of the inventory |
string |
None. |
SerialNumber |
the unique serial number of the inventory |
string |
None. |
ChildContainerId |
when moving an entire container this is the license plate number of that container. For example, there are 3 containers: CON-LPN-SOURCE1, CON-LPN-DEST2, and CON-LPN-CHILD1 AND ''CON-LPN-CHILD1'' is currently nested within ''CON-LPN-SOURCE1'' AND we want to move ''CON-LPN-SOURCE1'' into a different container: ''CON-LPN-DEST2'' In this case, the value of FromParentContainerId should be set to the OLD-parent: ''CON-LPN-SOURCE1'' The value of ToParentContainerId should be set to the NEW-parent: ''CON-LPN-DEST2'' The child container that is being moved should have the field (Trackby) ChildContainerId set to ''CON-LPN-CHILD1'' |
string |
None. |
Request Formats
application/json
[ { "ItemNumber": "DateCodeItem8dd529a2f4ae32c", "FromSiteName": "Site8dd529a2f4ae32c", "FromLocationCode": "Location8dd529a2f4ae32c", "ToSiteName": "Site8dd529a2f4ae32c", "ToLocationCode": "Location28dd529a2f4ae32c", "Quantity": 50.0, "DateCode": "2025-02-21T00:00:00Z" } ]
Response Information
Resource Description
WaspResultOfResultsName | Description | Type | Additional information |
---|---|---|---|
Data |
Type specific result that always depends on the function called. |
Results |
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
{ "Data": { "ResultList": [], "SuccessfullResults": 1, "TotalResults": 0, "ErrorCount": 0 }, "Messages": [ { "ResultCode": 0, "Message": "Success", "HttpStatusCode": 200, "FieldName": "" } ], "TotalRecordsLongCount": 1, "HasSuccessWithMoreDataRemaining": false, "HasError": false, "HasMessage": true, "HasHttpError": false }