Authorization: Bearer ********************
{
"id": "e94561a0-0492-11f0-b87f-5df4410c7a02",
"name": "555#测试机泵/0201/流量/流量/10425",
"label": "0402010401010103001取水头部555#测试泵瞬时流量update",
"description": "{}",
"type": "default",
"attributes": [
{
"key": "group",
"value": "流量"
},
{
"key": "区域丨AscriptionId",
"value": "上海789"
}
],
"attributeTypes": [
{
"key": "group",
"value": 0
},
{
"key": "区域丨AscriptionId",
"value": 0
}
]
}
curl --location --request POST 'https://online-products.dhichina.cn/gateway/iot-service/api/v1/iot/update-device' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "e94561a0-0492-11f0-b87f-5df4410c7a02",
"name": "555#测试机泵/0201/流量/流量/10425",
"label": "0402010401010103001取水头部555#测试泵瞬时流量update",
"description": "{}",
"type": "default",
"attributes": [
{
"key": "group",
"value": "流量"
},
{
"key": "区域丨AscriptionId",
"value": "上海789"
}
],
"attributeTypes": [
{
"key": "group",
"value": 0
},
{
"key": "区域丨AscriptionId",
"value": 0
}
]
}'
"e94561a0-0492-11f0-b87f-5df4410c7a02"