Interroge le modèle de langage de spécification des objets (TSL) d’une catégorie donnée.
Limites de QPS
Vous pouvez appeler cette opération jusqu’à 2 fois par seconde et par compte.
Les utilisateurs RAM d’un compte Alibaba Cloud partagent le quota du compte.
Débogage
Paramètres de requête
|
Paramètre |
Type |
Obligatoire |
Exemple |
Description |
|
Action |
String |
Oui |
GetThingTemplate |
Opération à effectuer. Définissez la valeur sur GetThingTemplate. |
|
IotInstanceId |
String |
Non |
iot_instc_pu**_c-v64* |
ID de l’instance. Vous pouvez consulter l’ID d’instance sur la page Aperçu de la console IoT Platform. Important
Pour plus d’informations, consultez la rubrique Aperçu. |
|
ResourceGroupId |
String |
Non |
rg-acfm4l5tcwd**** |
ID du groupe de ressources. Important
IoT Platform prend en charge la gestion des ressources uniquement par instance. Le paramètre ResourceGroupId ne produit aucun effet lors de cette requête. Vous n’avez pas besoin de le spécifier. |
|
CategoryKey |
String |
Non |
Lighting |
Clé de la catégorie à interroger. Appelez l’opération ListThingTemplates pour afficher toutes les clés de catégorie dans la réponse. |
En plus des paramètres de requête spécifiques à l’opération ci-dessus, vous devez spécifier les paramètres de requête communs lors de l’appel de cette opération. Pour plus d’informations, consultez la rubrique Paramètres communs.
Paramètres de réponse
|
Paramètre |
Type |
Exemple |
Description |
|
Code |
String |
iot.system.SystemException |
Code d’erreur renvoyé en cas d’échec de la requête. Pour plus d’informations, consultez la rubrique Codes d’erreur. |
|
ErrorMessage |
String |
Une exception système s’est produite. |
Message d’erreur renvoyé en cas d’échec de la requête. |
|
RequestId |
String |
E55E50B7-40EE-4B6B-8BBE-D3ED55CCF565 |
ID de la requête. |
|
Success |
Boolean |
true |
Indique si la requête a abouti. Valeurs possibles :
|
|
ThingModelJSON |
String |
{ "properties":[],"services":[], "events":[]} |
Modèle TSL renvoyé en cas de réussite de la requête. La valeur est au format suivant :
Pour plus d’informations, consultez la rubrique Formats de modèle TSL. |
Exemples
Exemples de requêtes
https://iot.cn-shanghai.aliyuncs.com/?Action=GetThingTemplate
&CategoryKey=Lighting
&<Common request parameters>
Exemples de réponses réussies
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
}
Codes d’erreur
Pour obtenir la liste des codes d’erreur, consultez la rubrique Codes d’erreur de service.