The action_attempt Object
Represents an attempt to perform an action against a device.
Properties
action_attempt_id
UUID
ID of the action attempt.
status
Enum
Status of the action attempt.
Enum values
action_type
Enum
Type of the action attempt.
Enum values
SIMULATE_KEYPAD_CODE_ENTRY
SIMULATE_MANUAL_LOCK_VIA_KEYPAD
error
Object
Error associated with the action attempt. Null for pending and successful action attempts.
result
Object
Result of the action attempt. Null for pending and errored action attempts.
Events
action_attempt.lock_door.succeeded
A lock door action attempt succeeded.
Properties
action_attempt_id
UUID
ID of the affected action attempt.
action_type
String
Type of the action.
created_at
Datetime
Date and time at which the event was created.
event_id
UUID
ID of the event.
event_type
Enum
Value: action_attempt.lock_door.succeeded
occurred_at
Datetime
Date and time at which the event occurred.
status
String
Status of the action.
workspace_id
UUID
ID of the workspace associated with the event.
action_attempt.lock_door.failed
A lock door action attempt failed.
Properties
action_attempt_id
UUID
ID of the affected action attempt.
action_type
String
Type of the action.
created_at
Datetime
Date and time at which the event was created.
event_id
UUID
ID of the event.
event_type
Enum
Value: action_attempt.lock_door.failed
occurred_at
Datetime
Date and time at which the event occurred.
status
String
Status of the action.
workspace_id
UUID
ID of the workspace associated with the event.
action_attempt.unlock_door.succeeded
An unlock door action attempt succeeded.
Properties
action_attempt_id
UUID
ID of the affected action attempt.
action_type
String
Type of the action.
created_at
Datetime
Date and time at which the event was created.
event_id
UUID
ID of the event.
event_type
Enum
Value: action_attempt.unlock_door.succeeded
occurred_at
Datetime
Date and time at which the event occurred.
status
String
Status of the action.
workspace_id
UUID
ID of the workspace associated with the event.
action_attempt.unlock_door.failed
An unlock door action attempt failed.
Properties
action_attempt_id
UUID
ID of the affected action attempt.
action_type
String
Type of the action.
created_at
Datetime
Date and time at which the event was created.
event_id
UUID
ID of the event.
event_type
Enum
Value: action_attempt.unlock_door.failed
occurred_at
Datetime
Date and time at which the event occurred.
status
String
Status of the action.
workspace_id
UUID
ID of the workspace associated with the event.
Endpoints
/action_attempts/get
Returns a specified action attempt.
/action_attempts/list
Returns a list of the action attempts that you specify as an array of action_attempt_id
s.