GET api/warehouse

Returns all Warehouses

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Warehouse
NameDescriptionTypeAdditional information
WarehouseId

Sedona internal autonumber for Warehouse

integer

None.

WarehouseCode

Abbreviated Warehouse code

string

String length: inclusive between 0 and 25

Description

string

String length: inclusive between 0 and 50

BranchId

foreign key from ARBranch table

integer

None.

BranchCode

string

String length: inclusive between 0 and 25

Inactive

boolean

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

GETable1Id

integer

None.

GETable2Id

integer

None.

GETable3Id

integer

None.

GETable4Id

integer

None.

GETable5Id

integer

None.

ZipCodePlus4

string

None.

CountryId

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WarehouseId": 1,
    "WarehouseCode": "sample string 2",
    "Description": "sample string 3",
    "BranchId": 4,
    "BranchCode": "sample string 5",
    "Inactive": true,
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "Address3": "sample string 9",
    "GETable1Id": 10,
    "GETable2Id": 11,
    "GETable3Id": 12,
    "GETable4Id": 13,
    "GETable5Id": 14,
    "ZipCodePlus4": "sample string 15",
    "CountryId": 16,
    "Latitude": 17.0,
    "Longitude": 18.0
  },
  {
    "WarehouseId": 1,
    "WarehouseCode": "sample string 2",
    "Description": "sample string 3",
    "BranchId": 4,
    "BranchCode": "sample string 5",
    "Inactive": true,
    "Address1": "sample string 7",
    "Address2": "sample string 8",
    "Address3": "sample string 9",
    "GETable1Id": 10,
    "GETable2Id": 11,
    "GETable3Id": 12,
    "GETable4Id": 13,
    "GETable5Id": 14,
    "ZipCodePlus4": "sample string 15",
    "CountryId": 16,
    "Latitude": 17.0,
    "Longitude": 18.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfWarehouse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <Warehouse>
    <Address1>sample string 7</Address1>
    <Address2>sample string 8</Address2>
    <Address3>sample string 9</Address3>
    <BranchCode>sample string 5</BranchCode>
    <BranchId>4</BranchId>
    <CountryId>16</CountryId>
    <Description>sample string 3</Description>
    <GETable1Id>10</GETable1Id>
    <GETable2Id>11</GETable2Id>
    <GETable3Id>12</GETable3Id>
    <GETable4Id>13</GETable4Id>
    <GETable5Id>14</GETable5Id>
    <Inactive>true</Inactive>
    <Latitude>17</Latitude>
    <Longitude>18</Longitude>
    <WarehouseCode>sample string 2</WarehouseCode>
    <WarehouseId>1</WarehouseId>
    <ZipCodePlus4>sample string 15</ZipCodePlus4>
  </Warehouse>
  <Warehouse>
    <Address1>sample string 7</Address1>
    <Address2>sample string 8</Address2>
    <Address3>sample string 9</Address3>
    <BranchCode>sample string 5</BranchCode>
    <BranchId>4</BranchId>
    <CountryId>16</CountryId>
    <Description>sample string 3</Description>
    <GETable1Id>10</GETable1Id>
    <GETable2Id>11</GETable2Id>
    <GETable3Id>12</GETable3Id>
    <GETable4Id>13</GETable4Id>
    <GETable5Id>14</GETable5Id>
    <Inactive>true</Inactive>
    <Latitude>17</Latitude>
    <Longitude>18</Longitude>
    <WarehouseCode>sample string 2</WarehouseCode>
    <WarehouseId>1</WarehouseId>
    <ZipCodePlus4>sample string 15</ZipCodePlus4>
  </Warehouse>
</ArrayOfWarehouse>