Last Updated on : 2023-06-15 05:28:03
Based on the ID of a specified barrier gate, send a control command to open or close a barrier gate, or keep it normally open or normally closed. The parking lots of some brands do not support the normally open and normally closed features.
PUT: /v1.0/parking-control/{device_id}/gates/control
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a specified barrier gate. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
open_model | Integer | true | The mode of a specified barrier gate. Some parking lots only support 1 and 2 .
|
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResultResponse | The response result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The ID of a specified command record. |
PUT: /v1.0/parking-control/6ce****/cars/current
{
"openModel": 1
}
{
"result": {
"sn": "135****"
},
"t": 1652779976771,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback