1.URL
http://124.223.60.234:8080/system/asset/configure/queryEventEnum
or Server in US
https://cloud.aovx.com/prod/system/asset/configure/queryEventEnum
2.Request parameters
2.1.Request headers
Add token in Headers: After successful login verification, the corresponding tokenId in user login response data
2.2.Parameters example
{
"id":"F940B79790004404AAC277418FC71C5E"
}
2.3.Parameters description
Field | Data type | description | required |
---|---|---|---|
id | String | Unique identification of organizations in the system | Y |
3.Response content
3.1.Response example
{
"code": 200,
"message": "Operation succeeded",
"data": [
{
"id": 0,
"name": "{\"0\":\"OTA Start\",\"1\":\"OTA开始\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 1,
"name": "{\"0\":\"OTA Succeed\",\"1\":\"OTA成功\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 2,
"name": "{\"0\":\"OTA Failed\",\"1\":\"OTA失败\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 3,
"name": "{\"0\":\"Open Door\",\"1\":\"开门\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 4,
"name": "{\"0\":\"Close Door\",\"1\":\"关门\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 5,
"name": "{\"0\":\"Open Box\",\"1\":\"开箱\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 6,
"name": "{\"0\":\"Close Box\",\"1\":\"关箱\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 7,
"name": "{\"0\":\"Unlock\",\"1\":\"开锁\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 8,
"name": "{\"0\":\"Lock\",\"1\":\"上锁\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
}
]
}
3.2.Response description
Field | Data type | description |
---|---|---|
code | int | Return code |
message | String | Return message |
data | object | Response data |
Response data description
Field | Data type | description |
---|---|---|
id | int | Event type Id |
name | String | Event type name (0: English; 1: Chinese) |
index | int | Event type Sorting Index |
status | int | Event type on status (1: enabled; 0: disabled), disabled will not be reflected in the event type selection bar corresponding to the event report |
systemPush | int | System reminder (1: enabled; 0: disabled) |
appPush | int | APP push (1: enabled; 0: disabled) |
作者:admin 创建时间:2023-04-25 11:45
最后编辑:admin 更新时间:2024-12-27 19:48
最后编辑:admin 更新时间:2024-12-27 19:48