GetToPartLocations
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Inventory/Parts/GetToPartLocations
Retrieves part locations that a part can be moved to.
Returns PartLocationInfo[]
Required permission
Show part
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
PartId | Int64 | The business key identifier of the part to move. References Parts
|
|
UnitId | Int64? | Defaults to default part unit id References Units
|
|
FromWarehouseId | Int64? | The business key identifier of the warehouse to move from. References Warehouses
|
|
ToWarehouseId | Int64? | The business key identifier of the warehouse to move to. References Warehouses
|
|
FromLocationKey | PartLocationInfoKey | The part location key of the part location to move the part from.
|
|
FromLocationReservationId | Int64? | The business key identifier of a cleared material reservation.
|
Example
{
"PartId": 0,
"UnitId": null,
"FromWarehouseId": null,
"ToWarehouseId": null,
"FromLocationKey": null,
"FromLocationReservationId": null
}