Skip to main content
BluINFO

GetAllReadersByBuildingId

Overview 

Returns a list of RoleViewModels that the API token has rights to view.

Request Information


Method

GET - api/Reader/GetAllReadersByBuildingId/{FacilityId}

URI Parameters

Name Description Type Additional information
FacilityId

 

globally unique identifier

Required

Body Parameters

None.

Response Information 


Resource Description

Collection of ReaderViewModel

Name Description Type Additional information
ReaderId

Represents the PK of the Reader

globally unique identifier

None.

Name

Represents the name of the Reader

string

None.

Response Formats 

JSON

{
  "ReaderId": "31afe9e9-37ea-4ef3-bfdb-d8a4b1a55faf",
  "Name": "sample string 2"
}

XML

<ReaderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers">
  <Name>sample string 2</Name>
  <ReaderId>31afe9e9-37ea-4ef3-bfdb-d8a4b1a55faf</ReaderId>
</ReaderViewModel>
  • Was this article helpful?