跳至内容
中消云物联网研究院
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
>
wiki:v_interface_get_device_attributeset
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
<h3 style="padding: 0px; line-height: 1.2; clear: left; font-size: 1.125em; margin: 0px 0px 0.888em; color: rgb(51, 51, 51); font-family: Arial, sans-serif;"><span font-size:="" 14pt="">获取设备属性集信息</span></h3><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong>功能:</strong><span font-size:="" 10="" 5pt="">获取设备当前的属性集信息,目前可获取属性集设备包括:1、WIFI设备,设备编号01_WF_XXXXXX059;2、TX3191-M设备,设备编号:01_NB_XXXXX076;3、自带电源照明灯设备,设备编号:01_NB_XXXXXXXX0229</span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong><span calibri="" font-size:="" 10="" 5pt=""><span>请求方式</span></span><span font-size:="" 10="" 5pt="">:</span></strong><span font-size:="" 10="" 5pt="">GET</span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong>请求路径:</strong><span calibri="" font-size:="" 10="" 5pt="">{projectServerUrl}/api/2.0/getDeviceAttributeSet<br /></span><span font-size:="" 10="" 5pt=""><br /></span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong><span></span></strong></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><span style="font-family: 宋体; font-size: 10.5pt;"></span></p><p><strong><span style="font-family:Arial;color:rgb(51, 51, 51);font-size:10.5pt;"><span style="font-family:宋体;">请求参数:</span></span></strong></p><table border="1" cellspacing="0"><tbody><tr><td style="width:65.85pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:10.5pt;">参数</span></p></td><td style="width:52.35pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:9pt;">是否必填</span></p></td><td style="width:78.95pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:10.5pt;">类型</span></p></td><td style="width:221.15pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:10.5pt;">描述</span></p></td></tr><tr><td style="width:65.85pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:9pt;">deviceId</span></p></td><td style="width:52.35pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:9pt;">是</span></p></td><td style="width:78.95pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:9pt;">String(UUID)</span></p></td><td style="width:221.15pt;"><p><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:9pt;">设备ID</span></p></td></tr></tbody></table><p><br /></p><p><strong><span style="font-family:宋体;color:rgb(51, 51, 51);font-size:10.5pt;"><span style="font-family:宋体;">返回参数:</span></span></strong></p><table border="1" cellspacing="0"><tbody><tr><td style="width:152.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">参数</span></p></td><td style="width:82.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">名称</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">类型</span></p></td><td style="width:103.45pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">备注</span></p></td></tr><tr><td style="width:152.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">code</span></p></td><td style="width:82.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">返回码</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">string</span></p></td><td style="width:103.45pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span></p></td></tr><tr><td style="width:152.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">message</span></p></td><td style="width:82.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">提示语</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">string</span></p></td><td style="width:103.45pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span></p></td></tr><tr><td style="width:152.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">data</span></p></td><td style="width:82.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">数据</span></p></td><td style="width:79.1pt;"><p><span style="font-family:Arial;color:rgb(51, 51, 51);font-size:10.5pt;">array<object></span></p></td><td style="width:103.45pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span></p></td></tr><tr><td style="width:152.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">-deviceAttributeSetTypeCode</span></p></td><td style="width:82.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">属性编号</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">Integer</span></p></td><td style="width:103.45pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> 2</span></p></td></tr><tr><td style="width:152.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">-deviceAttributeSetTypeName</span></p></td><td style="width:82.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">属性名称</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">String</span></p></td><td style="width:103.45pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> 撤防/布放</span></p></td></tr><tr><td style="width:152.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">–deviceAttributeSetValue</span></p></td><td style="width:82.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">属性值</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">String</span></p></td><td style="width:103.45pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> 撤防</span></p></td></tr></tbody></table><h3 style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif;"><strong><span style="font-size:16px;"></span></strong></h3><p style="font-family: Arial, sans-serif;"><strong><span style="font-family: 宋体; font-size: 10.5pt;"></span></strong></p><p class="p" style="margin-left: 0pt; text-indent: 0pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><strong><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span style="font-family:宋体;"><br />示例:</span></span></strong><span style="font-family: Arial; letter-spacing: 0pt; font-size: 9pt;"><o:p></o:p></span></p><p class="p" style="margin-left: 0pt; text-indent: 0pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><strong><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span style="font-family:宋体;">示例地址:</span></span></strong><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">https://</span><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">www.zxyun119.com/thirdPartyApi</span><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">/ThreePlaceREST</span><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">/api/2.0/getDeviceAttributeSet</span><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">?deviceId=8d718ce3-050c-4e95-87a8-3261b607bde9</span><span style="font-family: Arial; letter-spacing: 0pt; font-size: 9pt;"><o:p></o:p></span></p><p class="p" style="margin-left: 0pt; text-indent: 0pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><strong><span style="font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span style="font-family:宋体;">示例结果:</span></span></strong><span style="font-family: Arial; letter-spacing: 0pt; font-size: 9pt;"><o:p></o:p></span></p><p style="font-family: Arial, sans-serif;"><strong><span style="font-family: 宋体; font-size: 10.5pt;"></span></strong></p><h3 style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif;"><span style="font-family: 宋体;"><span 16px="" style=""><strong><span style="font-size:16px;"></span></strong></span></span></h3><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><span font-size:="" 10="" 5pt=""><strong></strong></span></p><p class="p" 0pt="" text-indent:="" background-image:="" initial="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;">{<br /> "code": "000000",<br /> "message": "成功获取设备属性集信息!",<br /> "data": [<br /> {<br /> "deviceAttributeSetTypeCode": 2,<br /> "deviceAttributeSetTypeName": "布防/撤防",<br /> "deviceAttributeSetValue": "布防"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 3,<br /> "deviceAttributeSetTypeName": "工作模式",<br /> "deviceAttributeSetValue": "年检"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 12,<br /> "deviceAttributeSetTypeName": "起始时间段",<br /> "deviceAttributeSetValue": "0630"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 13,<br /> "deviceAttributeSetTypeName": "末尾时间段",<br /> "deviceAttributeSetValue": "2020"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 14,<br /> "deviceAttributeSetTypeName": "时间段标识",<br /> "deviceAttributeSetValue": <span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;">"-"</span><br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 128,<br /> "deviceAttributeSetTypeName": "Wifi SSID",<br /> "deviceAttributeSetValue": "我家的wifi"<br /> }<br /> ]<br />}</p>
wiki/v_interface_get_device_attributeset.txt
· 最后更改: 2023/09/08 06:36 由
admin
页面工具
显示页面
修订记录
反向链接
回到顶部