GET v1/Inventory/GetItemLocationLots?itemId={itemId}&fromLocationId={fromLocationId}
Retrieves the item location lots based on the provided item ID and from location ID.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
itemId |
The unique identifier of the item. |
integer |
Required |
fromLocationId |
The unique identifier of the source location. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
An HTTP response message containing: - A list of if the operation is successful. - A if there is a bad request. - A 404 Not Found response if no item location lots are found. - A 500 Internal Server Error response in case of an exception.
Collection of LotLocationDTOName | Description | Type | Additional information |
---|---|---|---|
ItemID | integer |
None. |
|
LotID | integer |
None. |
|
LotNumer | string |
None. |
|
Quantity | decimal number |
None. |
|
WarehouseName | string |
None. |
|
WarehouseDesc | string |
None. |
|
WarehouseLocationId | integer |
None. |
|
CreatedDate | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ItemID": 1, "LotID": 2, "LotNumer": "sample string 3", "Quantity": 4.0, "WarehouseName": "sample string 5", "WarehouseDesc": "sample string 6", "WarehouseLocationId": 7, "CreatedDate": "sample string 8" }, { "ItemID": 1, "LotID": 2, "LotNumer": "sample string 3", "Quantity": 4.0, "WarehouseName": "sample string 5", "WarehouseDesc": "sample string 6", "WarehouseLocationId": 7, "CreatedDate": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfLotLocationDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <LotLocationDTO> <ItemID>1</ItemID> <LotID>2</LotID> <LotNumer>sample string 3</LotNumer> <Quantity>4</Quantity> <WarehouseName>sample string 5</WarehouseName> <WarehouseDesc>sample string 6</WarehouseDesc> <WarehouseLocationId>7</WarehouseLocationId> <CreatedDate>sample string 8</CreatedDate> </LotLocationDTO> <LotLocationDTO> <ItemID>1</ItemID> <LotID>2</LotID> <LotNumer>sample string 3</LotNumer> <Quantity>4</Quantity> <WarehouseName>sample string 5</WarehouseName> <WarehouseDesc>sample string 6</WarehouseDesc> <WarehouseLocationId>7</WarehouseLocationId> <CreatedDate>sample string 8</CreatedDate> </LotLocationDTO> </ArrayOfLotLocationDTO>