查询场景日志详情
接口地址:/v2/cep/enduserapi/selectSceneLogDetail
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*
接口描述:
查询场景日志详情
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
executionId | 执行记录ID | body | true | integer | |
Authorization | header | false | string |
响应状态:
状态码 | 说明 | schema |
---|---|---|
200 | OK | ApiResult«场景日志详情» |
201 | Created | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数:
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | integer(int32) | integer(int32) | |
data | 场景日志详情 | 场景日志详情 | |
callType | 调用方式 | string | |
executionId | 执行记录ID | integer(int64) | |
executionList | 执行详情 | array | 执行详情 |
actionResultList | 执行动作详情 | array | 执行动作结果 |
action | 场景物模型 | ActionModel | ActionModel |
code | 物模型标识符 | string | |
dataType | 物模型数据类型 | string | |
id | 物模型功能ID | integer | |
name | 物模型功能名称 | string | |
subName | string | ||
subType | 读写类型 | string | |
type | 物模型功能类型 | string | |
unit | 物模型单位 | string | |
value | 物模型值 | object | |
executionTime | 执行时间 | integer | |
reason | 失败原因 | string | |
result | 执行结果。成功:true,失败:false | boolean | |
deviceKey | 设备/群组ID | string | |
deviceName | 设备名称/群组名称 | string | |
deviceType | 设备类型,1:普通设备,2:群组设备 | integer | |
executionResult | 执行动作结果,1:成功,2:失败,3:部分成功 | integer | |
logoImage | 场景LOGO | string | |
productKey | 产品KEY | string | |
executionResult | 执行结果,1:成功,2:失败,3:部分成功) | integer(int32) | |
executionTime | 执行时间 | integer(int64) | |
sceneIcon | 场景图标 | string | |
sceneId | 场景ID | string | |
sceneName | 场景名称 | string | |
extMsg | string | ||
msg | string |
响应示例:
javascript
{
"code": 0,
"data": {
"callType": "",
"executionId": 0,
"executionList": [
{
"actionResultList": [
{
"action": {
"code": "",
"dataType": "",
"id": 0,
"name": "",
"subName": "",
"subType": "",
"type": "",
"unit": "",
"value": {}
},
"executionTime": 0,
"reason": "",
"result": true
}
],
"deviceKey": "",
"deviceName": "",
"deviceType": 0,
"executionResult": 0,
"logoImage": "",
"productKey": ""
}
],
"executionResult": 0,
"executionTime": 0,
"sceneIcon": "",
"sceneId": "",
"sceneName": ""
},
"extMsg": "",
"msg": ""
}