GetAllReaders
Overview
Returns a list of RoleViewModels that the API token has rights to view.
Request Information
Method
GET - api/Reader/GetAllReaders
URI Parameters
None.
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": "62b0272d-a4c5-471e-b152-79f7c35bc613", "Name": "sample string 2" }, { "ReaderId": "62b0272d-a4c5-471e-b152-79f7c35bc613", "Name": "sample string 2" } ]
XML
<ArrayOfReaderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers"> <ReaderViewModel> <Name>sample string 2</Name> <ReaderId>62b0272d-a4c5-471e-b152-79f7c35bc613</ReaderId> </ReaderViewModel> <ReaderViewModel> <Name>sample string 2</Name> <ReaderId>62b0272d-a4c5-471e-b152-79f7c35bc613</ReaderId> </ReaderViewModel> </ArrayOfReaderViewModel>