Overview of ReaderInfo goes here.
Item -> BaseInfo -> PeripheralInfo -> ReaderInfo
ReaderInfo -> AscReaderInfo -> IsonasReaderInfo -> iStarReaderInfo -> SafrReaderInfo
Field | Type | Inherited from | Description |
---|---|---|---|
Href | String | Item | Gets or sets the Href value |
CommonName | String | BaseInfo | Gets or sets the CommonName value |
ConcurrencyVersion | Nullable<Int64> | BaseInfo | Gets or sets the ConcurrencyVersion value |
InFolderHref | String | BaseInfo | Gets or sets the InFolderHref value |
InFolderKey | String | BaseInfo | Gets or sets the InFolderKey value |
IsGlobal | Boolean | BaseInfo | Gets or sets the IsGlobal value |
Key | String | BaseInfo | Gets or sets the Key value |
Links | List<Link> | BaseInfo | Gets or sets the Links value |
Metadata | MetadataItem[] | BaseInfo | Gets or sets the Metadata value |
Monikers | MonikerItem[] | BaseInfo | Gets or sets the Monikers value |
Notes | NoteInfo[] | BaseInfo | Gets or sets the Notes value |
ObjectLinks | ObjectLinkItem[] | BaseInfo | Gets or sets the ObjectLinks value |
Tags | String[] | BaseInfo | Gets or sets the Tags value |
{
"Href" : "String",
"CommonName" : "String",
"ConcurrencyVersion" : "Nullable\<Int64\>",
"InFolderHref" : "String",
"InFolderKey" : "String",
"IsGlobal" : "Boolean",
"Key" : "String",
"Links" : "List\<[Link](/object-model/link)\>",
"Metadata" : "[MetadataItem](/object-model/metadataitem)[]",
"Monikers" : "[MonikerItem](/object-model/monikeritem)[]",
"Notes" : "[NoteInfo](/object-model/noteinfo)[]",
"ObjectLinks" : "[ObjectLinkItem](/object-model/objectlinkitem)[]",
"Tags" : "String[]"
}
Example in C#
// Returns: ReaderInfo
var readerInfo = await client.AddReaderAsync(FolderInfo folder, ReaderInfo item);
Example in C#
// Returns: nothing
await client.AddReaderToLocalAreaAsync(LocalAreaInfo localArea, MercuryReaderInfo reader, LocalAreaReaderDirections direction);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/localareas/LOCALAREA.KEY/readers?direction=In \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D '"/api/f/INSTANCE.KEY/peripherals/READER.KEY"'
Example in C#
// Returns: nothing
await client.ChangeReaderTypeAsync(MercuryReaderInfo reader, String newType);
Example in C#
// Returns: nothing
await client.DeleteReaderAsync(ReaderInfo item);
Example in C#
// Returns: IEnumerable<ReaderInfo>
var readerInfo = await client.GetReadersAsync(FolderInfo folder);
Example in C#
// Returns: nothing
await client.RemoveReaderFromLocalAreaAsync(LocalAreaInfo localArea, ObjectLinkItem readerLink);
Example in CURL
curl -X DELETE \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/localareas/LOCALAREA.KEY/readers/READER.KEY \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: nothing
await client.SetVersionForReaderAsync(MercuryReaderInfo reader, String version);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/peripherals/READER.KEY/version
-H 'Authorization: Bearer TOKEN_GOES_HERE'
-d "VERSION"
Example in C#
// Returns: nothing
await client.UpdateReaderAsync(ReaderInfo item);