Queries the Thing Specification Language (TSL) information of a specified category.

Limits

Each Alibaba Cloud account can run a maximum of 2 queries per second (QPS).

Note 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 ID of the instance. This parameter is not required for public instances. However, the parameter is required for the instances that you have purchased.

ResourceGroupId String No rg-acfm4l5tcwd****

The ID of the resource group.

Note You cannot specify this parameter.
CategoryKey String No Lighting

The identifier 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, see Common request parameters.

Response parameters

Parameter Type Example Description
Code String iot.system.SystemException

The error code returned if the call fails. For more information, see Error codes.

ErrorMessage String A system exception occurred.

The error message returned if the call fails.

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

The ID of the request.

Success Boolean true

Indicates whether the call was successful.

  • true: The call was successful.
  • false: The call failed.
ThingModelJSON String { "properties":[],"services":[], "events":[]}

The TSL features returned if the call is successful. Format:


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

For more information about the parameter structure, see the TSL format.

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":"Watt"},"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\",\"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, visit the API Error Center.