All Products
Search
Document Center

IoT Platform:GetThingTemplate

最終更新日:Sep 15, 2023

Queries the Thing Specification Language (TSL) model template of a category.

QPS limits

You can call this operation up to two times per second per account.

Note

The Resource Access Management (RAM) users of an Alibaba Cloud account share the quota of the account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

GetThingTemplate

The operation that you want to perform. Set the value to GetThingTemplate.

IotInstanceId

String

No

iot_instc_pu****_c*-v64********

The instance ID. You can view the instance ID on the Overview page in the IoT Platform console.

Important
  • If your instance has an ID, you must specify this parameter. Otherwise, the request fails.

  • If the Overview page or the instance ID is not displayed in the IoT Platform console, you do not need to specify this parameter.

For more information, see Overview.

ResourceGroupId

String

No

rg-acfm4l5tcwd****

The resource group ID.

Important

IoT Platform supports resource management only by instance. ResourceGroupId does not take effect in this request. You do not need to specify this parameter.

CategoryKey

String

No

Lighting

The key of the category that you want to query.

You can call the ListThingTemplates operation and view all category keys in the response.

In addition to the preceding operation-specific request parameters, you must specify common request parameters when you call this operation. For more information about common request parameters, see Common parameters.

Response parameters

Parameter

Type

Example

Description

Code

String

iot.system.SystemException

The error code that is returned if the request failed. For more information, see Error codes.

ErrorMessage

String

A system exception occurred.

The error message that is returned if the request failed.

RequestId

String

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

The request ID.

Success

Boolean

true

Indicates whether the request was successful. Valid values:

  • true

  • false

ThingModelJSON

String

{ "properties":[],"services":[], "events":[]}

The TSL model that is returned if the request was successful. The value is in the following format:


{
  "properties":[],//The list of properties.
  "services":[],//The list of services.
  "events":[]//The list of events.
}

For more information, see TSL model formats.

Examples

Sample requests

https://iot.cn-shanghai.aliyuncs.com/?Action=GetThingTemplate
&CategoryKey=Lighting
&<Common request parameters>

Sample success responses

XML format

<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":"DeviceValidation"},{"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":"SetTimeTask"}],"properties":[{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"On","value":1},{"dataType":"BOOL","name":"Off","value":0}],"dataType":"BOOL","description":"","identifier":"LightStatus","name":"Status","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"100","min":"0","precise":0,"step":"1","unit":"%","unitName":"Percentage"},"dataType":"INT","description":"The light adjustment level is a percentage","identifier":"LightAdjustLevel","name":"LightAdjustLevel","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":"Volt"},"dataType":"FLOAT","description":"Displays the device voltage. Electricity parameters are 4-byte floats","identifier":"LightVolt","name":"Voltage","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":"Ampere"},"dataType":"FLOAT","description":"Electricity parameters are 4-byte floats","identifier":"LightCurrent","name":"Current","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":"Watt"},"dataType":"FLOAT","description":"Electricity parameters are 4-byte floats","identifier":"ActivePower","name":"EffectivePower","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":"Farad"},"dataType":"FLOAT","description":"Electricity parameters are 4-byte floats","identifier":"PowerRatio","name":"PowerFactor","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":"Kilowatt hour"},"dataType":"FLOAT","description":"The electricity used. Electricity parameters are 4-byte floats","identifier":"PowerConsumption","name":"PowerConsumption","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":"Volt"},"dataType":"FLOAT","description":"Electricity parameters are 4-byte floats","identifier":"DrainVoltage","name":"LeakVoltage","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"90","min":"0","precise":0,"step":"1","unit":"°","unitName":"Degree"},"dataType":"INT","description":"The tilt angle of a lamp. The tilt angle is a one-byte hexadecimal","identifier":"TiltValue","name":"TiltValue","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":"Watt"},"dataType":"INT","description":"The power deviation threshold","identifier":"ErrorPowerThreshold","name":"PowerDeviationThreshold","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":"Ampere"},"dataType":"FLOAT","description":"","identifier":"ErrorCurrentThreshold","name":"CurrentDeviationThreshold","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecs":{"dataType":"INT","max":"90","min":"0","precise":0,"step":"1","unit":"°","unitName":"Degree"},"dataType":"INT","description":"","identifier":"TiltThreshold","name":"TiltThreshold","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":"Volt"},"dataType":"INT","description":"","identifier":"UnderVoltThreshold","name":"MinimunVoltage","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":"Ampere"},"dataType":"INT","description":"","identifier":"OverCurrentThreshold","name":"CurrentThreshold","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":"Volt"},"dataType":"INT","description":"","identifier":"OverVoltThreshold","name":"VoltThreshold","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"On","value":1},{"dataType":"BOOL","name":"Off","value":0}],"dataType":"BOOL","description":"1:On, 0:Off","identifier":"LightErrorEnable","name":"EnableLampAlert","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"On","value":1},{"dataType":"BOOL","name":"Off","value":0}],"dataType":"BOOL","description":"1:On, 0:Off","identifier":"OverCurrentEnable","name":"EnableOverCurrentAlert","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"On","value":1},{"dataType":"BOOL","name":"Off","value":0}],"dataType":"BOOL","description":"1:On, 0:Off","identifier":"OverVoltEnable","name":"EnableOverVoltAlert","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"On","value":1},{"dataType":"BOOL","name":"Off","value":0}],"dataType":"BOOL","description":"1:On, 0:Off","identifier":"UnderVoltEnable","name":"EnableUnderVoltAlert","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"On","value":1},{"dataType":"BOOL","name":"Off","value":0}],"dataType":"BOOL","description":"1:On, 0:Off","identifier":"LeakageEnable","name":"EnableLeakageAlert","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"On","value":1},{"dataType":"BOOL","name":"Off","value":0}],"dataType":"BOOL","description":"1:On, 0:Off","identifier":"OverTiltEnable","name":"EnableTiltAlert","required":true,"rwFlag":"READ_WRITE","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"Alert","value":1},{"dataType":"BOOL","name":"Normal","value":0}],"dataType":"BOOL","description":"1-Alert, 0-Normal","identifier":"LampError","name":"LampAlert","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"Alert","value":1},{"dataType":"BOOL","name":"Normal","value":0}],"dataType":"BOOL","description":"1-Alert, 0-Normal","identifier":"OverCurrentError","name":"OverCurrentAlert","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"Alert","value":1},{"dataType":"BOOL","name":"Normal","value":0}],"dataType":"BOOL","description":"1-Alert, 0-Normal","identifier":"OverVoltError","name":"OverVoltAlert","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"Alert","value":1},{"dataType":"BOOL","name":"Normal","value":0}],"dataType":"BOOL","description":"1-Alert, 0-Normal","identifier":"UnderVoltError","name":"UnderVoltAlert","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"Alert","value":1},{"dataType":"BOOL","name":"Normal","value":0}],"dataType":"BOOL","description":"1-Alert, 0-Normal","identifier":"OverTiltError","name":"TiltAlert","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"dataType":"BOOL","name":"Alert","value":1},{"dataType":"BOOL","name":"Normal","value":0}],"dataType":"BOOL","description":"1-Alert, 0-Normal","identifier":"LeakageError","name":"LeakageAlert","required":true,"rwFlag":"READ_ONLY","std":true},{"custom":false,"customFlag":false,"dataSpecsList":[{"childDataType":"DOUBLE","childName":"Longitude","childSpecsDTO":{"dataType":"DOUBLE","max":"180","min":"-180","precise":7,"step":"0.01","unit":"°","unitName":"Degree"},"dataSpecs":{"$ref":"$.properties[27].dataSpecsList[0].childSpecsDTO"},"dataSpecsObject":{"unit":"°","min":"-180","unitName":"Degree","max":"180","dataType":"double","step":"0.01","precise":7},"dataType":"STRUCT","identifier":"longitude","name":"Geolocation"},{"childDataType":"DOUBLE","childName":"Altitude","childSpecsDTO":{"dataType":"DOUBLE","max":"180","min":"-180","precise":7,"step":"0.01","unit":"°","unitName":"Degree"},"dataSpecs":{"$ref":"$.properties[27].dataSpecsList[1].childSpecsDTO"},"dataSpecsObject":{"unit":"°","min":"-180","unitName":"Degree","max":"180","dataType":"double","step":"0.01","precise":7},"dataType":"STRUCT","identifier":"latitude","name":"Geolocation"},{"childDataType":"DOUBLE","childName":"Height","childSpecsDTO":{"dataType":"DOUBLE","max":"9999","min":"0","precise":7,"step":"0.01","unit":"m","unitName":"Meter"},"dataSpecs":{"$ref":"$.properties[27].dataSpecsList[2].childSpecsDTO"},"dataSpecsObject":{"unit":"m","min":"0","unitName":"Meter","max":"9999","dataType":"double","step":"0.01","precise":7},"dataType":"STRUCT","identifier":"altitude","name":"Geolocation"},{"childDataType":"ENUM","childEnumSpecsDTO":[{"dataType":"ENUM","name":"WGS_84","value":1},{"dataType":"ENUM","name":"GCJ_02","value":2}],"childName":"CoordinateSystem","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":"Geolocation"}],"dataType":"STRUCT","description":"","identifier":"GeoLocation","name":"Geolocation","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":"Lux"},"dataType":"INT","description":"","identifier":"LightLux","name":"Illuminance","required":false,"rwFlag":"READ_ONLY","std":true}],"events":[]}</ThingModelJSON>
  <RequestId>B79DEAAF-74F3-4AFF-95C3-FC8CDB8B831A</RequestId>
  <Success>true</Success>
</GetThingTemplateResponse>

JSON format

{
  "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\":\"DeviceValidation\"},{\"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\":\"SetTimeTask\"}],\"properties\":[{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"On\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Off\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"\",\"identifier\":\"LightStatus\",\"name\":\"Status\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"100\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"%\",\"unitName\":\"Percentage\"},\"dataType\":\"INT\",\"description\":\"The light adjustment level is a percentage\",\"identifier\":\"LightAdjustLevel\",\"name\":\"LightAdjustLevel\",\"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\":\"Volt\"},\"dataType\":\"FLOAT\",\"description\":\"Displays the device voltage. Electricity parameters are 4-byte floats\",\"identifier\":\"LightVolt\",\"name\":\"Voltage\",\"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\":\"Ampere\"},\"dataType\":\"FLOAT\",\"description\":\"Electricity parameters are 4-byte floats\",\"iden\",\"identifier\":\"LightCurrent\",\"name\":\"Current\",\"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\":\"Watt\"},\"dataType\":\"FLOAT\",\"description\":\"Electricity parameters are 4-byte floats\",\"identifier\":\"ActivePower\",\"name\":\"EffectivePower\",\"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\":\"Farad\"},\"dataType\":\"FLOAT\",\"description\":\"Electricity parameters are 4-byte floats\",\"identifier\":\"PowerRatio\",\"name\":\"PowerFactor\",\"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\":\"Kilowatt hour\"},\"dataType\":\"FLOAT\",\"description\":\"The electricity used. Electricity parameters are 4-byte floats\",\"identifier\":\"PowerConsumption\",\"name\":\"PowerConsumption\",\"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\":\"Volt\"},\"dataType\":\"FLOAT\",\"description\":\"Electricity parameters are 4-byte floats\",\"identifier\":\"DrainVoltage\",\"name\":\"LeakVoltage\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"90\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"°\",\"unitName\":\"Degree\"},\"dataType\":\"INT\",\"description\":\"The tilt angle of a lamp. The tilt angle is a one-byte hexadecimal\",\"identifier\":\"TiltValue\",\"name\":\"TiltValue\",\"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\":\"Watt\"},\"dataType\":\"INT\",\"description\":\"PowerDeviationThreshold\",\"identifier\":\"ErrorPowerThreshold\",\"name\":\"PowerDeviationThreshold\",\"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\":\"Ampere\"},\"dataType\":\"FLOAT\",\"description\":\"\",\"identifier\":\"ErrorCurrentThreshold\",\"name\":\"CurrentDeviationThreshold\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecs\":{\"dataType\":\"INT\",\"max\":\"90\",\"min\":\"0\",\"precise\":0,\"step\":\"1\",\"unit\":\"°\",\"unitName\":\"Degree\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"TiltThreshold\",\"name\":\"TiltThreshold\",\"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\":\"Volt\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"UnderVoltThreshold\",\"name\":\"MinimunVoltage\",\"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\":\"Ampere\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"OverCurrentThreshold\",\"name\":\"CurrentThreshold\",\"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\":\"Volt\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"OverVoltThreshold\",\"name\":\"Voltage Threshold\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"On\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Off\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:On, 0:Off\",\"identifier\":\"LightErrorEnable\",\"name\":\"EnableLampAlert\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"On\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Off\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:On, 0:Off\",\"identifier\":\"OverCurrentEnable\",\"name\":\"EnableOverCurrentAlert\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"On\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Off\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:On, 0:Off\",\"identifier\":\"OverVoltEnable\",\"name\":\"EnableOverVoltAlert\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"On\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Off\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:On, 0:Off\",\"identifier\":\"UnderVoltEnable\",\"name\":\"EnableUnderVoltAlert\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"On\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Off\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:On, 0:Off\",\"identifier\":\"LeakageEnable\",\"name\":\"EnableLeakageAlert\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"On\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Off\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1:On, 0:Off\",\"identifier\":\"OverTiltEnable\",\"name\":\"EnableTiltAlert\",\"required\":true,\"rwFlag\":\"READ_WRITE\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"Alert\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Normal\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-Alert, 0-Normal\",\"identifier\":\"LampError\",\"name\":\"LampAlert\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"Alert\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Normal\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-Alert, 0-Normal\",\"identifier\":\"OverCurrentError\",\"name\":\"OverCurrentAlert\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"Alert\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Normal\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-Alert, 0-Normal\",\"identifier\":\"OverVoltError\",\"name\":\"OverVoltAlert\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"Alert\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Normal\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-Alert, 0-Normal\",\"identifier\":\"UnderVoltError\",\"name\":\"UnderVoltAlert\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"Alert\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Normal\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-Alert, 0-Normal\",\"identifier\":\"OverTiltError\",\"name\":\"TiltAlert\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"dataType\":\"BOOL\",\"name\":\"Alert\",\"value\":1},{\"dataType\":\"BOOL\",\"name\":\"Normal\",\"value\":0}],\"dataType\":\"BOOL\",\"description\":\"1-Alert, 0-Normal\",\"identifier\":\"LeakageError\",\"name\":\"LeakageAlert\",\"required\":true,\"rwFlag\":\"READ_ONLY\",\"std\":true},{\"custom\":false,\"customFlag\":false,\"dataSpecsList\":[{\"childDataType\":\"DOUBLE\",\"childName\":\"Longitude\",\"childSpecsDTO\":{\"dataType\":\"DOUBLE\",\"max\":\"180\",\"min\":\"-180\",\"precise\":7,\"step\":\"0.01\",\"unit\":\"°\",\"unitName\":\"Degree\"},\"dataSpecs\":{\"$ref\":\"$.properties[27].dataSpecsList[0].childSpecsDTO\"},\"dataSpecsObject\":{\"unit\":\"°\",\"min\":\"-180\",\"unitName\":\"Degree\",\"max\":\"180\",\"dataType\":\"double\",\"step\":\"0.01\",\"precise\":7},\"dataType\":\"STRUCT\",\"identifier\":\"longitude\",\"name\":\"Geolocation\"},{\"childDataType\":\"DOUBLE\",\"childName\":\"Altitude\",\"childSpecsDTO\":{\"dataType\":\"DOUBLE\",\"max\":\"180\",\"min\":\"-180\",\"precise\":7,\"step\":\"0.01\",\"unit\":\"°\",\"unitName\":\"Degree\"},\"dataSpecs\":{\"$ref\":\"$.properties[27].dataSpecsList[1].childSpecsDTO\"},\"dataSpecsObject\":{\"unit\":\"°\",\"min\":\"-180\",\"unitName\":\"Degree\",\"max\":\"180\",\"dataType\":\"double\",\"step\":\"0.01\",\"precise\":7},\"dataType\":\"STRUCT\",\"identifier\":\"latitude\",\"name\":\"Geolocation\"},{\"childDataType\":\"DOUBLE\",\"childName\":\"Height\",\"childSpecsDTO\":{\"dataType\":\"DOUBLE\",\"max\":\"9999\",\"min\":\"0\",\"precise\":7,\"step\":\"0.01\",\"unit\":\"m\",\"unitName\":\"Meter\"},\"dataSpecs\":{\"$ref\":\"$.properties[27].dataSpecsList[2].childSpecsDTO\"},\"dataSpecsObject\":{\"unit\":\"m\",\"min\":\"0\",\"unitName\":\"Meter\",\"max\":\"9999\",\"dataType\":\"double\",\"step\":\"0.01\",\"precise\":7},\"dataType\":\"STRUCT\",\"identifier\":\"altitude\",\"name\":\"Geolocation\"},{\"childDataType\":\"ENUM\",\"childEnumSpecsDTO\":[{\"dataType\":\"ENUM\",\"name\":\"WGS_84\",\"value\":1},{\"dataType\":\"ENUM\",\"name\":\"GCJ_02\",\"value\":2}],\"childName\":\"CoordinateSystem\",\"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\":\"Geolocation\"}],\"dataType\":\"STRUCT\",\"description\":\"\",\"identifier\":\"GeoLocation\",\"name\":\"Geolocation\",\"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\":\"Lux\"},\"dataType\":\"INT\",\"description\":\"\",\"identifier\":\"LightLux\",\"name\":\"Illuminance\",\"required\":false,\"rwFlag\":\"READ_ONLY\",\"std\":true}],\"events\":[]}",
  "RequestId": "B79DEAAF-74F3-4AFF-95C3-FC8CDB8B831A",
  "Success": true
}

Error codes

For a list of error codes, see Service error codes.