Entries

This endpoint shows the logs of unlocking, including tag entries and master key entries on a particular lock.

What is Audit Trail? Check out our Glossary.

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
            
call response
Endpoint: "/v1/entries"
Method: GET

Response Content Type (application/json):
{
  
items;
type: array

items returned as result

"items"
: [ {
id;
type: string, format: uuid;

The id of the entry

"id"
: "string",
type;
type: string
enumeration: [Unknown, InsideHandle, OpenedByTag, UserViaWeb, OpenedByMasterKey, StartedOfficeModeByTag, EndedOfficeModeByTag, StartOfficeMode, TagRejected, TagOutOfTime, TagRejectedLowBatteries, TagRejectedOffline, OpenedRemote, StartedOfficeModeRemote, EndedOfficeModeRemote, TagWithoutAccessGroup, TagBlocked, TagSuspended, StartEasyOfficeModeByTag, EndEasyOfficeModeByTag, StartEasyOfficeModeRemote, EndEasyOfficeModeRemote, EndEasyOfficeMode];

The type of the entry

"type"
: "string",
utc_date_time;
type: string, format: date-time;

The UTC timestamp that marks when the event happened

"utc_date_time"
: "string",
local_date_time;
type: string, format: date-time;

The timestamp that marks when the event happened but converted to the timezone of the IQ the lock is connected to

"local_date_time"
: "string",
lock;

The lock which is subject of the entry

"lock"
: [ {
id;
type: string, format: uuid;

Id of the lock

"id"
: "string",
customer_reference;
type: string

The name or any sort of reference that can be used to identify the lock by the client

"customer_reference"
: "string",
mac_address;
type: string

Mac address of the lock

"mac_address"
: "string",
is_online;
type: boolean

Online status of the lock

"is_online"
: boolean,
collection_id;
type: string, format: uuid;

The id of the collection the lock is assigned

"collection_id"
: "string" } ],
accessor;

The accessor which executed the entry

"accessor"
: [ {
id;
type: string, format: uuid;

The database id of the accessor

"id"
: "string",
remote_access;
type: boolean

Indicates if the accessor can execute remote openings

"remote_access"
: boolean,
blocked;
type: boolean

Indicates if the IQ is blocked (all tags and remote openings)

"blocked"
: boolean,
collection_id;
type: string, format: uuid;

The id of the collection the accessor is assigned

"collection_id"
: "string" } ],
exit;
type: boolean

Indicates if it is an exit event.

"exit"
: boolean } ],
next_page_link;
type: string

next page uri link

"next_page_link"
: "string",
count;
type: integer, format: int64;

number of items returned

"count"
: "integer" }
Clay Locking Platform logo
Get in touch to learn more about how we can integrate smart locks into your business.