跳至主要內容

发送调用设备功能指令

eview小于 1 分钟evmars

发送调用设备功能指令

接口地址:/device/instance/{deviceId}/function/{functionId}
请求方式:POST
请求数据类型:application/json
响应数据类型:*/*

接口描述:

请求示例:

{ 
	"参数":"值"
}

请求参数

参数名称参数说明请求类型是否必须数据类型schema
deviceIdpathtruestring
functionIdpathtruestring

响应状态码-200:
响应参数:

参数名称参数说明类型schema
message消息提示string
result数据内容array
status状态码integer(int32)integer(int32)
code业务码string
timestamp时间戳(毫秒)integer(int64)integer(int64)

响应示例:

{
	"message": "",
	"result": [],
	"status": 0,
	"code": "",
	"timestamp": 0
}