Seam Docs
Search…
Action Attempt

The Action Attempt Object

action_attempt_id
uuid
ID of the Action Attempt
action_type
string
​See table below for list of action types
status
string
pending or success or error
result
object
Response data from the action
error
object
Error data from the action

Action Types

CREATE_ACCESS_CODE
​Creates an Access Code for a keypad lock
DELETE_ACCESS_CODE
​Deletes an Access Code for a keypad lock
LOCK_DOOR
​Locks a Door Lock for a door lock
UNLOCK_DOOR
​Unlocks a Door Lock for a door lock
CREATE_NOISE_THRESHOLD
​Creates a Noise Threshold for a noise sensor
REMOVE_NOISE_THRESHOLD
​Removes a Noise Threshold for a noise sensor

Get Action Attempt

get
https://connect.getseam.com
/action_attempts/get
Get an Action Attempt
Python
Javascript
Ruby
seam.action_attempts.get("")
​
# ActionAttempt(
# action_attempt_id='0b56b93a-403c-4227-8517-8db361ba6b6a',
# action_type='UNLOCK_DOOR',
# status='success',
# result={},
# error=None
# )
// Coming Soon!
require "seamapi"
​
seam = Seam::Client.new(api_key: "MY_API_KEY")
action_attempt_id = "123e4567-e89b-12d3-a456-426614174000"
​
action_attempt = seam.action_attempts.get(action_attempt_id)
​
puts action_attempt
# <Seam::ActionAttempt:0x0000000106956cd8