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 ElevatorReaderViewModel| Name | 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": "e7f60399-c62e-4d51-9fa2-d40e2603177e",
"Name": "sample string 2"
},
{
"ElevatorReaderId": "e7f60399-c62e-4d51-9fa2-d40e2603177e",
"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>e7f60399-c62e-4d51-9fa2-d40e2603177e</ElevatorReaderId>
<Name>sample string 2</Name>
</ElevatorReaderViewModel>
<ElevatorReaderViewModel>
<ElevatorReaderId>e7f60399-c62e-4d51-9fa2-d40e2603177e</ElevatorReaderId>
<Name>sample string 2</Name>
</ElevatorReaderViewModel>
</ArrayOfElevatorReaderViewModel>