全部产品
Search
文档中心

阿里云物联网平台:GetThingTemplate

更新时间:Sep 15, 2023

调用该接口查询指定品类的物模型信息。

QPS限制

单个阿里云账号调用该接口的每秒请求数(QPS)最大限制为2。

说明 单个阿里云账号下的所有RAM用户共享该阿里云账号的配额。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String GetThingTemplate

系统规定参数。取值:GetThingTemplate。

IotInstanceId String iot_instc_pu****_c*-v64********

实例ID。您可在物联网平台控制台的实例概览页面,查看当前实例的ID

重要
  • 若有ID值,必须传入该ID值,否则调用会失败。
  • 若无实例概览页面或ID值,则无需传入。

实例的更多信息,请参见实例概述

ResourceGroupId String rg-acfm4l5tcwd****

资源组ID。

重要 目前,物联网平台仅支持实例维度的资源组管理。请求参数ResourceGroupId配置已无效,无需再传入。
CategoryKey String Lighting

要查询的品类的标识符。

可以从调用ListThingTemplates的返回数据中,查看各品类的CategoryKey。

调用API时,除了本文介绍的该API的特有请求参数,还需传入公共请求参数。公共请求参数说明,请参见公共参数文档

返回数据

名称 类型 示例值 描述
Code String iot.system.SystemException

调用失败时,返回的错误码。更多信息,请参见错误码

ErrorMessage String 系统异常

调用失败时,返回的出错信息。

RequestId String E55E50B7-40EE-4B6B-8BBE-D3ED55CCF565

阿里云为该请求生成的唯一标识符。

Success Boolean true

表示是否调用成功。

  • true:调用成功。
  • false:调用失败。
ThingModelJSON String { "properties":[],"services":[], "events":[]}

调用成功时,返回的物模型功能定义,格式为:


{
  "properties":[],//属性列表
  "services":[],//服务列表
  "events":[]//事件列表
}

功能信息中包含的具体参数结构,请参见物模型格式

示例

请求示例

https://iot.cn-shanghai.aliyuncs.com/?Action=GetThingTemplate
&CategoryKey=Lighting
&<公共请求参数>

正常返回示例

XML格式

<GetThingTemplateResponse>
  <ThingModelJSON>{"services":[{"callType":"ASYNC","custom":false,"description":"","identifier":"TimeReset","inputParams":[{"custom":false,"dataSpecs":{"dataType":"TEXT","length":255},"dataType":"TEXT","direction":"PARAM_INPUT","identifier":"TimeReset","name":"TimeReset","paraOrder":0}],"outputParams":[],"required":false,"serviceName":"设备校时服务"},{"callType":"ASYNC","custom":false,"description":"","identifier":"SetTimerTask","inputParams":[],"outputParams":[{"custom":false,"dataSpecs":{"dataType":"TEXT","length":255},"dataType":"TEXT","direction":"PARAM_OUTPUT","identifier":"SetTimer","name":"SetTimer","paraOrder":0}],"required":false,"serviceName":"时间任务下发"}],"properties":[{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"打开","value":1},{"dataType":"BOOL","name":"关闭","value":0}],"dataType":"BOOL","description":"","identifier":"LightStatus","name":"工作状态","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"100","min":"0","precise":0,"step":"1","unit":"%","unitName":"百分比"},"dataType":"INT","description":"调光等级采用百分比表示","identifier":"LightAdjustLevel","name":"调光等级","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"FLOAT","max":"4","min":"0","precise":7,"step":"0.1","unit":"V","unitName":"伏特"},"dataType":"FLOAT","description":"显示设备电压;电参数采用4个字节浮点型数据","identifier":"LightVolt","name":"工作电压","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"FLOAT","max":"9","min":"0","precise":7,"step":"0.1","unit":"A","unitName":"安培"},"dataType":"FLOAT","description":"电参数采用4个字节浮点型数据","identifier":"LightCurrent","name":"工作电流","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"FLOAT","max":"1000","min":"0","precise":7,"step":"0.1","unit":"W","unitName":"瓦特"},"dataType":"FLOAT","description":"电参数采用4个字节浮点型数据","identifier":"ActivePower","name":"有功功率值","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"FLOAT","max":"1","min":"0.01","precise":7,"step":"0.1","unit":"pF","unitName":"皮法"},"dataType":"FLOAT","description":"电参数采用4个字节浮点型数据","identifier":"PowerRatio","name":"功率因数","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"FLOAT","max":"2147483647","min":"0","precise":7,"step":"0.1","unit":"kW·h","unitName":"千瓦·时"},"dataType":"FLOAT","description":"耗电量;电参数采用4个字节浮点型数据","identifier":"PowerConsumption","name":"用电量","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"FLOAT","max":"400","min":"0","precise":7,"step":"0.1","unit":"V","unitName":"伏特"},"dataType":"FLOAT","description":"电参数采用4个字节浮点型数据","identifier":"DrainVoltage","name":"漏电压","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"90","min":"0","precise":0,"step":"1","unit":"°","unitName":"度"},"dataType":"INT","description":"路灯的倾斜角度;采用1个字节16进制数","identifier":"TiltValue","name":"倾斜角度值","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"1000","min":"0","precise":0,"step":"1","unit":"W","unitName":"瓦特"},"dataType":"INT","description":"故障功率门限","identifier":"ErrorPowerThreshold","name":"故障功率门限","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"FLOAT","max":"9","min":"0.1","precise":7,"step":"0.1","unit":"A","unitName":"安培"},"dataType":"FLOAT","description":"","identifier":"ErrorCurrentThreshold","name":"故障电流门限","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"90","min":"0","precise":0,"step":"1","unit":"°","unitName":"度"},"dataType":"INT","description":"","identifier":"TiltThreshold","name":"倾斜阈值","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"400","min":"0","precise":0,"step":"1","unit":"V","unitName":"伏特"},"dataType":"INT","description":"","identifier":"UnderVoltThreshold","name":"欠压阈值","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"9","min":"0","precise":0,"step":"1","unit":"A","unitName":"安培"},"dataType":"INT","description":"","identifier":"OverCurrentThreshold","name":"过流阈值","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"400","min":"0","precise":0,"step":"1","unit":"V","unitName":"伏特"},"dataType":"INT","description":"","identifier":"OverVoltThreshold","name":"过压阈值","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"打开","value":1},{"dataType":"BOOL","name":"关闭","value":0}],"dataType":"BOOL","description":"1:打开,0:关闭","identifier":"LightErrorEnable","name":"灯具故障使能","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"打开","value":1},{"dataType":"BOOL","name":"关闭","value":0}],"dataType":"BOOL","description":"1:打开,0:关闭","identifier":"OverCurrentEnable","name":"过流告警使能","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"打开","value":1},{"dataType":"BOOL","name":"关闭","value":0}],"dataType":"BOOL","description":"1:打开,0:关闭","identifier":"OverVoltEnable","name":"过压告警使能","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"打开","value":1},{"dataType":"BOOL","name":"关闭","value":0}],"dataType":"BOOL","description":"1:打开,0:关闭","identifier":"UnderVoltEnable","name":"欠压告警使能","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"打开","value":1},{"dataType":"BOOL","name":"关闭","value":0}],"dataType":"BOOL","description":"1:打开,0:关闭","identifier":"LeakageEnable","name":"漏电告警使能","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"打开","value":1},{"dataType":"BOOL","name":"关闭","value":0}],"dataType":"BOOL","description":"1:打开,0:关闭","identifier":"OverTiltEnable","name":"倾斜告警使能","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"告警","value":1},{"dataType":"BOOL","name":"正常","value":0}],"dataType":"BOOL","description":"1-告警;0-正常","identifier":"LampError","name":"灯具故障告警","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"告警","value":1},{"dataType":"BOOL","name":"正常","value":0}],"dataType":"BOOL","description":"1-告警;0-正常","identifier":"OverCurrentError","name":"过流告警","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"告警","value":1},{"dataType":"BOOL","name":"正常","value":0}],"dataType":"BOOL","description":"1-告警;0-正常","identifier":"OverVoltError","name":"过压告警","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"告警","value":1},{"dataType":"BOOL","name":"正常","value":0}],"dataType":"BOOL","description":"1-告警;0-正常","identifier":"UnderVoltError","name":"欠压告警","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"告警","value":1},{"dataType":"BOOL","name":"正常","value":0}],"dataType":"BOOL","description":"1-告警;0-正常","identifier":"OverTiltError","name":"倾斜告警","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"告警","value":1},{"dataType":"BOOL","name":"正常","value":0}],"dataType":"BOOL","description":"1-告警;0-正常","identifier":"LeakageError","name":"漏电告警","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"childDataType":"DOUBLE","childName":"经度","childSpecsDTO":{"dataType":"DOUBLE","max":"180","min":"-180","precise":7,"step":"0.01","unit":"°","unitName":"度"},"dataSpecs":{"$ref":"$.properties[27].dataSpecsList[0].childSpecsDTO"},"dataSpecsObject":{"unit":"°","min":"-180","unitName":"度","max":"180","dataType":"double","step":"0.01","precise":7},"dataType":"STRUCT","identifier":"longitude","name":"地理位置"},{"childDataType":"DOUBLE","childName":"纬度","childSpecsDTO":{"dataType":"DOUBLE","max":"180","min":"-180","precise":7,"step":"0.01","unit":"°","unitName":"度"},"dataSpecs":{"$ref":"$.properties[27].dataSpecsList[1].childSpecsDTO"},"dataSpecsObject":{"unit":"°","min":"-180","unitName":"度","max":"180","dataType":"double","step":"0.01","precise":7},"dataType":"STRUCT","identifier":"latitude","name":"地理位置"},{"childDataType":"DOUBLE","childName":"高度","childSpecsDTO":{"dataType":"DOUBLE","max":"9999","min":"0","precise":7,"step":"0.01","unit":"m","unitName":"米"},"dataSpecs":{"$ref":"$.properties[27].dataSpecsList[2].childSpecsDTO"},"dataSpecsObject":{"unit":"m","min":"0","unitName":"米","max":"9999","dataType":"double","step":"0.01","precise":7},"dataType":"STRUCT","identifier":"altitude","name":"地理位置"},{"childDataType":"ENUM","childEnumSpecsDTO":[{"dataType":"ENUM","name":"WGS_84","value":1},{"dataType":"ENUM","name":"GCJ_02","value":2}],"childName":"坐标系统","dataSpecsArray":[{"dataType":"enum","name":"WGS_84","value":"1"},{"dataType":"enum","name":"GCJ_02","value":"2"}],"dataSpecsList":[{"dataType":"ENUM","name":"WGS_84","value":1},{"dataType":"ENUM","name":"GCJ_02","value":2}],"dataType":"STRUCT","identifier":"CoordinateSystem","name":"地理位置"}],"dataType":"STRUCT","description":"","identifier":"GeoLocation","name":"地理位置","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"65535","min":"0","precise":0,"step":"1","unit":"LUX","unitName":"照度"},"dataType":"INT","description":"","identifier":"LightLux","name":"光照值","required":false,"rwFlag":"READ_ONLY","std":true}],"events":[]}</ThingModelJSON>
  <RequestId>B79DEAAF-74F3-4AFF-95C3-FC8CDB8B831A</RequestId>
  <Success>true</Success>
</GetThingTemplateResponse>

JSON格式

{
  "ThingModelJSON": "{\"services\":[{\"callType\":\"ASYNC\",\"custom\":false,\"description\":\"\",\"identifier\":\"TimeReset\",\"inputParams\":[{\"custom\":false,\"dataSpecs\":{\"dataType\":\"TEXT\",\"length\":255},\"dataType\":\"TEXT\",\"direction\":\"PARAM_INPUT\",\"identifier\":\"TimeReset\",\"name\":\"TimeReset\",\"paraOrder\":0}],\"outputParams\":[],\"required\":false,\"serviceName\":\"设备校时服务\"},{\"callType\":\"ASYNC\",\"custom\":false,\"description\":\"\",\"identifier\":\"SetTimerTask\",\"inputParams\":[],\"outputParams\":[{\"custom\":false,\"dataSpecs\":{\"dataType\":\"TEXT\",\"length\":255},\"dataType\":\"TEXT\",\"direction\":\"PARAM_OUTPUT\",\"identifier\":\"SetTimer\",\"name\":\"SetTimer\",\"paraOrder\":0}],\"required\":false,\"serviceName\":\"时间任务下发\"}],\"properties\":[{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"打开\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"关闭\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"\",\"identifier\":\"LightStatus\",\"name\":\"工作状态\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"100\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"%\",\"unitName\":\"百分比\"},\"dataType\":\"INT\",\"description\":\"调光等级采用百分比表示\",\"identifier\":\"LightAdjustLevel\",\"name\":\"调光等级\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"FLOAT\",\"max\":\"4\",\"min\":\"0\",\"precise\":7,\"step\":\"0.1\",\"unit\":\"V\",\"unitName\":\"伏特\"},\"dataType\":\"FLOAT\",\"description\":\"显示设备电压;电参数采用4个字节浮点型数据\",\"identifier\":\"LightVolt\",\"name\":\"工作电压\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"FLOAT\",\"max\":\"9\",\"min\":\"0\",\"precise\":7,\"step\":\"0.1\",\"unit\":\"A\",\"unitName\":\"安培\"},\"dataType\":\"FLOAT\",\"description\":\"电参数采用4个字节浮点型数据\",\"identifier\":\"LightCurrent\",\"name\":\"工作电流\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"FLOAT\",\"max\":\"1000\",\"min\":\"0\",\"precise\":7,\"step\":\"0.1\",\"unit\":\"W\",\"unitName\":\"瓦特\"},\"dataType\":\"FLOAT\",\"description\":\"电参数采用4个字节浮点型数据\",\"identifier\":\"ActivePower\",\"name\":\"有功功率值\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"FLOAT\",\"max\":\"1\",\"min\":\"0.01\",\"precise\":7,\"step\":\"0.1\",\"unit\":\"pF\",\"unitName\":\"皮法\"},\"dataType\":\"FLOAT\",\"description\":\"电参数采用4个字节浮点型数据\",\"identifier\":\"PowerRatio\",\"name\":\"功率因数\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"FLOAT\",\"max\":\"2147483647\",\"min\":\"0\",\"precise\":7,\"step\":\"0.1\",\"unit\":\"kW·h\",\"unitName\":\"千瓦·时\"},\"dataType\":\"FLOAT\",\"description\":\"耗电量;电参数采用4个字节浮点型数据\",\"identifier\":\"PowerConsumption\",\"name\":\"用电量\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"FLOAT\",\"max\":\"400\",\"min\":\"0\",\"precise\":7,\"step\":\"0.1\",\"unit\":\"V\",\"unitName\":\"伏特\"},\"dataType\":\"FLOAT\",\"description\":\"电参数采用4个字节浮点型数据\",\"identifier\":\"DrainVoltage\",\"name\":\"漏电压\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"90\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"°\",\"unitName\":\"度\"},\"dataType\":\"INT\",\"description\":\"路灯的倾斜角度;采用1个字节16进制数\",\"identifier\":\"TiltValue\",\"name\":\"倾斜角度值\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"1000\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"W\",\"unitName\":\"瓦特\"},\"dataType\":\"INT\",\"description\":\"故障功率门限\",\"identifier\":\"ErrorPowerThreshold\",\"name\":\"故障功率门限\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"FLOAT\",\"max\":\"9\",\"min\":\"0.1\",\"precise\":7,\"step\":\"0.1\",\"unit\":\"A\",\"unitName\":\"安培\"},\"dataType\":\"FLOAT\",\"description\":\"\",\"identifier\":\"ErrorCurrentThreshold\",\"name\":\"故障电流门限\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"90\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"°\",\"unitName\":\"度\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"TiltThreshold\",\"name\":\"倾斜阈值\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"400\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"V\",\"unitName\":\"伏特\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"UnderVoltThreshold\",\"name\":\"欠压阈值\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"9\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"A\",\"unitName\":\"安培\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"OverCurrentThreshold\",\"name\":\"过流阈值\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"400\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"V\",\"unitName\":\"伏特\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"OverVoltThreshold\",\"name\":\"过压阈值\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"打开\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"关闭\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:打开,0:关闭\",\"identifier\":\"LightErrorEnable\",\"name\":\"灯具故障使能\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"打开\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"关闭\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:打开,0:关闭\",\"identifier\":\"OverCurrentEnable\",\"name\":\"过流告警使能\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"打开\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"关闭\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:打开,0:关闭\",\"identifier\":\"OverVoltEnable\",\"name\":\"过压告警使能\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"打开\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"关闭\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:打开,0:关闭\",\"identifier\":\"UnderVoltEnable\",\"name\":\"欠压告警使能\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"打开\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"关闭\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:打开,0:关闭\",\"identifier\":\"LeakageEnable\",\"name\":\"漏电告警使能\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"打开\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"关闭\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:打开,0:关闭\",\"identifier\":\"OverTiltEnable\",\"name\":\"倾斜告警使能\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"告警\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"正常\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-告警;0-正常\",\"identifier\":\"LampError\",\"name\":\"灯具故障告警\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"告警\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"正常\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-告警;0-正常\",\"identifier\":\"OverCurrentError\",\"name\":\"过流告警\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"告警\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"正常\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-告警;0-正常\",\"identifier\":\"OverVoltError\",\"name\":\"过压告警\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"告警\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"正常\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-告警;0-正常\",\"identifier\":\"UnderVoltError\",\"name\":\"欠压告警\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"告警\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"正常\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-告警;0-正常\",\"identifier\":\"OverTiltError\",\"name\":\"倾斜告警\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"告警\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"正常\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-告警;0-正常\",\"identifier\":\"LeakageError\",\"name\":\"漏电告警\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"childDataType\":\"DOUBLE\",\"childName\":\"经度\",\"childSpecsDTO\":{\"dataType\":\"DOUBLE\",\"max\":\"180\",\"min\":\"-180\",\"precise\":7,\"step\":\"0.01\",\"unit\":\"°\",\"unitName\":\"度\"},\"dataSpecs\":{\"$ref\":\"$.properties[27].dataSpecsList[0].childSpecsDTO\"},\"dataSpecsObject\":{\"unit\":\"°\",\"min\":\"-180\",\"unitName\":\"度\",\"max\":\"180\",\"dataType\":\"double\",\"step\":\"0.01\",\"precise\":7},\"dataType\":\"STRUCT\",\"identifier\":\"longitude\",\"name\":\"地理位置\"},{\"childDataType\":\"DOUBLE\",\"childName\":\"纬度\",\"childSpecsDTO\":{\"dataType\":\"DOUBLE\",\"max\":\"180\",\"min\":\"-180\",\"precise\":7,\"step\":\"0.01\",\"unit\":\"°\",\"unitName\":\"度\"},\"dataSpecs\":{\"$ref\":\"$.properties[27].dataSpecsList[1].childSpecsDTO\"},\"dataSpecsObject\":{\"unit\":\"°\",\"min\":\"-180\",\"unitName\":\"度\",\"max\":\"180\",\"dataType\":\"double\",\"step\":\"0.01\",\"precise\":7},\"dataType\":\"STRUCT\",\"identifier\":\"latitude\",\"name\":\"地理位置\"},{\"childDataType\":\"DOUBLE\",\"childName\":\"高度\",\"childSpecsDTO\":{\"dataType\":\"DOUBLE\",\"max\":\"9999\",\"min\":\"0\",\"precise\":7,\"step\":\"0.01\",\"unit\":\"m\",\"unitName\":\"米\"},\"dataSpecs\":{\"$ref\":\"$.properties[27].dataSpecsList[2].childSpecsDTO\"},\"dataSpecsObject\":{\"unit\":\"m\",\"min\":\"0\",\"unitName\":\"米\",\"max\":\"9999\",\"dataType\":\"double\",\"step\":\"0.01\",\"precise\":7},\"dataType\":\"STRUCT\",\"identifier\":\"altitude\",\"name\":\"地理位置\"},{\"childDataType\":\"ENUM\",\"childEnumSpecsDTO\":[{\"dataType\":\"ENUM\",\"name\":\"WGS_84\",\"value\":1},{\"dataType\":\"ENUM\",\"name\":\"GCJ_02\",\"value\":2}],\"childName\":\"坐标系统\",\"dataSpecsArray\":[{\"dataType\":\"enum\",\"name\":\"WGS_84\",\"value\":\"1\"},{\"dataType\":\"enum\",\"name\":\"GCJ_02\",\"value\":\"2\"}],\"dataSpecsList\":[{\"dataType\":\"ENUM\",\"name\":\"WGS_84\",\"value\":1},{\"dataType\":\"ENUM\",\"name\":\"GCJ_02\",\"value\":2}],\"dataType\":\"STRUCT\",\"identifier\":\"CoordinateSystem\",\"name\":\"地理位置\"}],\"dataType\":\"STRUCT\",\"description\":\"\",\"identifier\":\"GeoLocation\",\"name\":\"地理位置\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"65535\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"LUX\",\"unitName\":\"照度\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"LightLux\",\"name\":\"光照值\",\"required\":false,\"rwFlag\":\"READ_ONLY\",\"std\":true}],\"events\":[]}",
  "RequestId": "B79DEAAF-74F3-4AFF-95C3-FC8CDB8B831A",
  "Success": true
}

错误码

访问错误中心查看更多错误码。