Last Updated on : 2023-06-15 05:26:43
Send a call command to a specified elevator controller. After receiving the command, the elevator controller dispatches an elevator to a specified floor.
POST: /v1.0/elevator-control/{device_id}/persons/{person_id}/actions/call
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
person_id | String | uri | true | The ID of a specified person. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
type | String | true | The type of an elevator call. Valid values:
| |
start_floor | Integer | true | The floor from which the elevator starts. | |
end_floor | Integer | true | The floor at which the elevator arrives. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResultResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The ID of a specified command record. |
POST: /v1.0/elevator-control/6ce****/persons/123****/actions/call
{
"type": "in",
"startFloor": 1,
"endFloor": 5
}
{
"result": {
"sn": "133****"
},
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback