调用该接口解绑设备的事件联动计划。
| 路径 | /vision/customer/eventrecord/plan/unbind |
| 版本号 | 2.0.1 |
| 协议 | HTTP,HTTPS |
| 请求方法 | POST |
| 是否需要用户身份鉴权 | 可选 |
| 超时时间 | 3000 |
请求参数
|
名称 |
类型 |
是否必选 |
示例值 |
描述 |
| iotId | String | 是 | 设备ID。 | |
| streamType | Int | 否 | 码流类型。0(表示主码流),1(表示辅码流)。 |
返回数据
名称 |
类型 |
示例值 |
描述 |
| code | Int | 接口返回码。200表示成功。 |
|
| message | String | 调用失败时,返回的出错信息。 |
|
| localizedMsg | String | 本地语言的错误消息。 |
示例
请求示例
{
"id": "1509086454180",
"version": "1.0",
"request":{
"apiVer": "2.0.1"
},
"params":{
"iotId": "value0",
"streamType": "value1"
}
}
正常返回示例
JSON格式
{
"id": "37f7e5fa-d6a5-4efe-8abf-5bf23dca6284",
"code": 200,
"message":"success",
"localizedMsg": "请求成功"
}
异常返回示例
JSON格式
{
"id": "37f7e5fa-d6a5-4efe-8abf-5bf23dca6284",
"code": 403,
"message": "request forbidden.",
"localizedMsg": "请求被禁止"
}
错误码
|
HttpCode |
错误码 |
错误信息 |
描述 |
| 500 | 500 | Internal Error | Internal Error |
| 503 | 503 | Service Unavailable | Service Unavailable |
| 403 | 403 | Request Limited | Request Limited |
| 401 | 401 | Empty Signature | Empty Signature |
| 400 | 400 | Request Format Error | Request Format Error |
| 200 | 20003 | Find Backend Error | Find Backend Error |
| 200 | 20004 | Backend Service Error | Backend Service Error |
| 200 | 20055 | Backend Service Invalid | Request Format Error |
| 200 | 20056 | Hsf Invoke Timeout | Hsf Invoke Timeout |
| 200 | 401 | Request Authorized Error | Request Authorized Error |
| 200 | 403 | Request Forbidden | Request Forbidden |
| 200 | 500 | Server Error | Server Error |
该文章对您有帮助吗?