Comment on page
Get Action Attempt
Retrieve an Action Attempt using its ID.
get
https://connect.getseam.com
/action_attempts/get
Get an Action Attempt
Python
Javascript
Ruby
seam.action_attempts.get("")
# ActionAttempt(
# action_attempt_id='f7d02670-128a-49f1-b615-b44a2808e5c4',
# action_type='UNLOCK_DOOR',
# status='success',
# result={},
# error=None
# )
await seam.actionAttempts.get(
"f7d02670-128a-49f1-b615-b44a2808e5c4"
);
// {
// status: 'success',
// action_attempt_id: 'f7d02670-128a-49f1-b615-b44a2808e5c4',
// action_type: 'UNLOCK_DOOR',
// result: {},
// error: null
// }
seam.action_attempts.get("f7d02670-128a-49f1-b615-b44a2808e5c4")
action_attempt_id | type: string | ID of the Action Attempt to be retrieved |
This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.
JSON
{
"action_attempt": {
"status": "success",
"action_attempt_id": "f7d02670-128a-49f1-b615-b44a2808e5c4",
"action_type": "UNLOCK_DOOR",
"result": {},
"error": null
},
"ok": true
}
Last modified 3mo ago