GET v1/Inventory/GetFromLocation?itemId={itemId}
Retrieves the location details for a specific item from all locations.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
itemId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LocationDTOName | Description | Type | Additional information |
---|---|---|---|
WarehouseLocationID |
Gets or sets the unique identifier for the warehouse location. |
integer |
None. |
Description |
Gets or sets the description of the location. |
string |
None. |
Quantity |
Gets or sets the quantity of items at the location. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "WarehouseLocationID": 1, "Description": "sample string 2", "Quantity": 3 }, { "WarehouseLocationID": 1, "Description": "sample string 2", "Quantity": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfLocationDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <LocationDTO> <WarehouseLocationID>1</WarehouseLocationID> <Description>sample string 2</Description> <Quantity>3</Quantity> <IsExist>true</IsExist> </LocationDTO> <LocationDTO> <WarehouseLocationID>1</WarehouseLocationID> <Description>sample string 2</Description> <Quantity>3</Quantity> <IsExist>true</IsExist> </LocationDTO> </ArrayOfLocationDTO>