GET api/v1/Readers/ElevatorReaders?FacilityId={FacilityId}

Returns a list of ElevatorReaderViewModels for a given Facility that the API token has rights to view

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FacilityId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ElevatorReaderViewModel
NameDescriptionTypeAdditional information
ElevatorReaderId

Represents the PK of the Reader

globally unique identifier

None.

Name

Represents the name of the Reader

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ElevatorReaderId": "eb486519-bd87-48c4-9ca0-8181ea595752",
    "Name": "sample string 2"
  },
  {
    "ElevatorReaderId": "eb486519-bd87-48c4-9ca0-8181ea595752",
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfElevatorReaderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers">
  <ElevatorReaderViewModel>
    <ElevatorReaderId>eb486519-bd87-48c4-9ca0-8181ea595752</ElevatorReaderId>
    <Name>sample string 2</Name>
  </ElevatorReaderViewModel>
  <ElevatorReaderViewModel>
    <ElevatorReaderId>eb486519-bd87-48c4-9ca0-8181ea595752</ElevatorReaderId>
    <Name>sample string 2</Name>
  </ElevatorReaderViewModel>
</ArrayOfElevatorReaderViewModel>