GET api/Inventories/Warehouses

Retrieves a list of warehouses which currently contain active inventory.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WarehouseData
NameDescriptionTypeAdditional information
WarehouseId

Unique identifier from the ASAP WMS system that is assigned at warehouse creation, and it can be used as the id parameter.

integer

None.

WarehouseName

Full name of the warehouse.

string

Required

String length: inclusive between 3 and 100

WarehouseCode

3 digit code identifying the warehouse.

string

String length: inclusive between 3 and 3

SkidCount

Count of currently active skids within the warehouse.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WarehouseId": 1,
    "WarehouseName": "sample string 2",
    "WarehouseCode": "sample string 3",
    "SkidCount": 4
  },
  {
    "WarehouseId": 1,
    "WarehouseName": "sample string 2",
    "WarehouseCode": "sample string 3",
    "SkidCount": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfWarehouseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISCLGTAPI.Models">
  <WarehouseData>
    <SkidCount>4</SkidCount>
    <WarehouseCode>sample string 3</WarehouseCode>
    <WarehouseId>1</WarehouseId>
    <WarehouseName>sample string 2</WarehouseName>
  </WarehouseData>
  <WarehouseData>
    <SkidCount>4</SkidCount>
    <WarehouseCode>sample string 3</WarehouseCode>
    <WarehouseId>1</WarehouseId>
    <WarehouseName>sample string 2</WarehouseName>
  </WarehouseData>
</ArrayOfWarehouseData>