{
"productId": "3icrjY2nOrL",
"currentVersion": "V1.0"
}
curl --location --request POST 'https://iot-dev.utapp.cn/api/productV2/getProductDetail' \
--header 'Authorization-Type;' \
--header 'X-Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"productId": "3icrjY2nOrL",
"currentVersion": "V1.0"
}'
{
"code": 0,
"success": true,
"message": "操作成功",
"data": {
"id": "FQwBv7QQa6P",
"name": "alarm-test",
"productKey": "alarm-test",
"dataTopology": "NORMAL",
"description": "告警推送测试",
"basicProperties": [
{
"identifier": "业务属性标识",
"value": "10",
"dataType": "LONG",
"name": "业务属性名称",
"unit": "m"
}
],
"properties": [
{
"identifier": "物模型属性标识",
"name": "物模型属性",
"desc": "物模型属性描述",
"sort": 0,
"valueInfo": {
"valueType": "LONG",
"unit": "m",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "",
"trueText": "",
"elements": null,
"elementType": null,
"properties": []
},
"value": null,
"ts": null,
"accessMode": "READ_ONLY",
"extension": null,
"store": true,
"filter": true,
"filterRule": {
"regions": [
{
"left": 1,
"right": 100
},
{
"left": 200,
"right": 300
}
],
"deadZone": 1,
"ignoreDuplicate": true
}
}
],
"serves": [
{
"identifier": "物模型服务标识",
"method": "",
"pId": "",
"name": "物模型服务",
"desc": "物模型服务描述",
"sort": 0,
"inputs": [
{
"identifier": "物模型参数2",
"name": "物模型参数1",
"desc": "",
"sort": 0,
"valueInfo": {
"valueType": "LONG",
"unit": "",
"coefficient": 1,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "否",
"trueText": "是",
"elements": null,
"elementType": null,
"properties": []
},
"value": null,
"ts": null
},
{
"identifier": "物模型参数表示2",
"name": "物模型参数2",
"desc": "",
"sort": 0,
"valueInfo": {
"valueType": "LONG",
"unit": "",
"coefficient": 1,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "否",
"trueText": "是",
"elements": null,
"elementType": null,
"properties": []
},
"value": null,
"ts": null
}
],
"defaultValue": null,
"outputs": [
{
"identifier": "物模型输出参数标识1",
"name": "物模型输出参数1",
"desc": "",
"sort": 0,
"valueInfo": {
"valueType": "LONG",
"unit": "",
"coefficient": 1,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "否",
"trueText": "是",
"elements": null,
"elementType": {
"valueType": "",
"unit": "",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "",
"trueText": "",
"elements": null,
"elementType": null,
"properties": []
},
"properties": []
},
"value": null,
"ts": null
}
]
}
],
"events": [
{
"identifier": "物模型事件标识",
"name": "物模型事件",
"desc": "物模型事件描述",
"sort": 0,
"eventInfos": [
{
"identifier": "事件标识1",
"name": "事件1",
"desc": "",
"sort": 0,
"valueInfo": {
"valueType": "LONG",
"unit": "",
"coefficient": 1,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "否",
"trueText": "是",
"elements": null,
"elementType": {
"valueType": "",
"unit": "",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "",
"trueText": "",
"elements": null,
"elementType": null,
"properties": []
},
"properties": []
},
"value": null,
"ts": null
},
{
"identifier": "事件参数标识2",
"name": "事件参数2",
"desc": "",
"sort": 0,
"valueInfo": {
"valueType": "LONG",
"unit": "",
"coefficient": 1,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "否",
"trueText": "是",
"elements": null,
"elementType": {
"valueType": "",
"unit": "",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "",
"trueText": "",
"elements": null,
"elementType": null,
"properties": []
},
"properties": []
},
"value": null,
"ts": null
}
],
"enableParamsVerify": true,
"values": null
}
],
"logicProperties": [
{
"identifier": "物模型属性标识",
"name": "物模型属性",
"desc": "物模型属性描述",
"sort": 0,
"valueInfo": {
"valueType": "LONG",
"unit": "m",
"coefficient": 0,
"precision": 0,
"min": 0,
"max": 0,
"maxLength": 0,
"falseText": "",
"trueText": "",
"elements": null,
"elementType": null,
"properties": []
},
"value": null,
"ts": null,
"accessMode": "READ_ONLY",
"extension": null,
"store": true,
"filter": true,
"filterRule": {
"regions": [
{
"left": 1,
"right": 100
},
{
"left": 200,
"right": 300
}
],
"deadZone": 1,
"ignoreDuplicate": true
}
}
],
"propertyGroups": [
{
"id": "",
"identifier": "t1",
"productId": "",
"name": "测试",
"sort": 1,
"type": "BasicProperty",
"parentId": "",
"propertyIds": null
},
{
"id": "",
"identifier": "csx",
"productId": "",
"name": "测试勋",
"sort": 3,
"type": "BasicProperty",
"parentId": "479Uu4_Imwj",
"propertyIds": [
"threshold",
"refHydraulic_0"
]
}
],
"serverMappings": [
{
"id": "21LdAG23kz-",
"mappingId": "double",
"productId": "gjyzb0qOmEU",
"desc": "",
"mappingType": "service",
"value": "5",
"identifier": "",
"serviceId": "YK_DOUBLE",
"param": [
{
"identifier": "value",
"value": "10",
"default": false,
"dataType": "",
"name": ""
}
]
}
],
"currentVersion": "V1.0",
"creationTime": 1720057802478
}
}