GET v1/Warehouses/{warehouseId}/Locations
Get all locations in the Warehouse.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseId |
The id of the Warehouse |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the WarehouseLocationBasicInfo objects.
Collection of WarehouseLocationBasicInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
Required |
| Name |
Gets or sets the name. |
string |
Required Max length: 80 |
| WarehouseId |
Gets or sets the warehouse identifier. |
integer |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"WarehouseId": 3
},
{
"Id": 1,
"Name": "sample string 2",
"WarehouseId": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfWarehouseLocationBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<WarehouseLocationBasicInfo>
<Id>1</Id>
<Name>sample string 2</Name>
<WarehouseId>3</WarehouseId>
</WarehouseLocationBasicInfo>
<WarehouseLocationBasicInfo>
<Id>1</Id>
<Name>sample string 2</Name>
<WarehouseId>3</WarehouseId>
</WarehouseLocationBasicInfo>
</ArrayOfWarehouseLocationBasicInfo>