get_reader_access_history
Retrieves a reader's access grant/deny history by READERKEY, resolving person IDs to names. Scans recent system-wide records (default 2000) and optionally includes reader description.
Instructions
Returns a single reader's access (grant/deny) history for a given READERKEY, with each match's PERSONID enriched to a name (composite: wraps NBAPI GetAccessHistory + GetPerson). GetAccessHistory has no server-side reader filter, so this reads and filters client-side. Rather than a date range, it scans the most recent SCANWINDOW system-wide records (default 2000). RESOLVEDESCRIPTIONS defaults to true — an inverted, opt-out default like get_access_history's own RESOLVEDESCRIPTIONS: it attaches a single top-level READERDESCRIPTION field for the given READERKEY (not one per match — every match already shares this identical READERKEY by construction) via one GetReaders full-table fetch; set to false to omit it entirely.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| READERKEY | Yes | Required. Only access records for this reader are returned. | |
| MAXMATCHES | No | Optional. Maximum number of matches to include, in chronological order. Defaults to 100. | |
| SCANWINDOW | No | Optional. Number of most-recent system-wide access records to scan. Defaults to 2000. | |
| RESOLVEDESCRIPTIONS | No | Optional (default true — on by default). Attaches a single top-level READERDESCRIPTION field (the description for this call's own READERKEY, not one per match) via one GetReaders full-table fetch. Set to false to omit the field entirely. |