/events/list
Last updated
Last updated
https://api.intserv.se/v1/events/list
Fetches event history from the access control systems the integration has permission to. Events that indicates access granted and access denied is currenly supported.
Authentication Type: Integration API Key
Field | Type | Description |
| string
| (optional) Start of time range of events to receive. Default is 7 days from now. |
| string
| (optional) End of time range of events to receive. Default is now. |
| string[] | (optional) An identifier for each access control system to filter on. If omitted, events from all systems will be included. |
| boolean | (optional) |
| boolean | (optional) |
| int
| (optional) The maximum number of events to return. Default and max allowed is 1000 events. |
| string | (optional) Token returned in a previous response that can be used to return the next set of events. |
If both include_access_granted
and include_access_denied
fields is omitted or is set to false
in the request, this will be eqvivalent to not filtering on a event category at all.
Field | Type | Description |
| string
| Indicates until which point in time it is guaranteed that events has been synchronized for the access control systems in scope for the request. |
| boolean | Is |
| string | Token that can be used to fetch the next set of events (if any). |
| array[Event] | Array of the requested events. |
Field | Type | Description |
| string | The time of the event. |
| int | A sequence number that can be used to determine the order of the events originating from the same access control system. Guaranteed to be unique only in the scope of the same access control system and event_time value. |
| string | The category of events this event belongs to. |
| int | The type of event. See event types for more information. |
| string | Identifier of the access control system the event originates from. |
| string | Name of the door. |
| string(uuid) | Identifier of the access key or |
| AccessKey | The access key used or |
| Person | The person associated to the event, or |
| Subject | The subject (if the subject is not a person) associated to the event, or |
Field | Type | Description |
| string | The raw identification number (csn or code) of the access key. |
| string | The type of access key. See access keys for more information. |
Field | Type | Description |
| string(uuid) | Identifier of an existing person to assign the access key to. |
| string | The first name of the person. |
| string | The last name of the person. |
Field | Type | Description |
| string | The name of the subject. |