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
Name | Description | Type | Additional information |
---|---|---|---|
FacilityId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ElevatorReaderViewModelName | Description | Type | Additional 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": "1b0f4686-e0cd-4b04-9bf9-3341e15defe4", "Name": "sample string 2" }, { "ElevatorReaderId": "1b0f4686-e0cd-4b04-9bf9-3341e15defe4", "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>1b0f4686-e0cd-4b04-9bf9-3341e15defe4</ElevatorReaderId> <Name>sample string 2</Name> </ElevatorReaderViewModel> <ElevatorReaderViewModel> <ElevatorReaderId>1b0f4686-e0cd-4b04-9bf9-3341e15defe4</ElevatorReaderId> <Name>sample string 2</Name> </ElevatorReaderViewModel> </ArrayOfElevatorReaderViewModel>