GET api/Cabinets/{id}

Get all active cabinets from specific location.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Identification number of location.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Select list of cabinets fltered by location.

SelectListViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

StrId

string

None.

Desc

string

None.

Code

string

None.

Checked

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "strId": "sample string 2",
  "desc": "sample string 3",
  "code": "sample string 4",
  "checked": true
}

application/xml, text/xml

Sample:
<SelectListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMedit.BDO.HelperModels">
  <Checked>true</Checked>
  <Code>sample string 4</Code>
  <Desc>sample string 3</Desc>
  <Id>1</Id>
  <StrId>sample string 2</StrId>
</SelectListViewModel>