Skip to main content

GetReaderById

Overview

Returns a single ReaderViewModel that the API token has rights to view based on a parameterized PK.

Request Information


Method

GET - api/Reader/GetReaderById/{ReaderId}

URI Parameters

NameDescriptionTypeAdditional information
ReaderIdglobally unique identifierRequired

Body Parameters

None.

Response Information


Resource Description

ReaderViewModel

NameDescriptionTypeAdditional information
ReaderIdRepresents the PK of the Readerglobally unique identifierNone.
NameRepresents the name of the ReaderstringNone.

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>