GET api/warehouse/{id}

Returns the specified Warehouse

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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.

City

string

None.

GETable2Id

integer

None.

State

string

None.

GETable3Id

integer

None.

Zip

string

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,
  "City": "sample string 11",
  "GETable2Id": 12,
  "State": "sample string 13",
  "GETable3Id": 14,
  "Zip": "sample string 15",
  "GETable4Id": 16,
  "GETable5Id": 17,
  "ZipCodePlus4": "sample string 18",
  "CountryId": 19,
  "Latitude": 20.0,
  "Longitude": 21.0
}

application/xml, text/xml

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