Action Attempts

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

Enum values
  • success

  • pending

  • error


action_type String

Type of the action attempt.

Enum values
  • LOCK_DOOR

  • UNLOCK_DOOR

  • SCAN_CREDENTIAL

  • ENCODE_CREDENTIAL

  • RESET_SANDBOX_WORKSPACE

  • SET_FAN_MODE

  • SET_HVAC_MODE

  • ACTIVATE_CLIMATE_PRESET

  • SIMULATE_KEYPAD_CODE_ENTRY

  • SIMULATE_MANUAL_LOCK_VIA_KEYPAD

  • PUSH_THERMOSTAT_PROGRAMS

  • SYNC_ACCESS_CODES

  • CREATE_ACCESS_CODE

  • DELETE_ACCESS_CODE

  • UPDATE_ACCESS_CODE

  • CREATE_NOISE_THRESHOLD

  • DELETE_NOISE_THRESHOLD

  • UPDATE_NOISE_THRESHOLD


error Object

Errors associated with the action attempt. Null for pending action attempts.


result Object

Result of the action attempt. Null for pending 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_ids.

Last updated

Was this helpful?