1.URL
xxxxxxxxxxxxxxx/system/asset/fence/addFenceType
其中xxxxxxxxxxxxxxx为节点URL(详情参考:对接说明中4.服务器节点说明)
(上海节点)http://124.223.60.234:8080/system/asset/fence/addFenceType
(美国节点)https://cloud.aovx.com/prod/system/asset/fence/addFenceType
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"orgId":"F940B79790004404AAC277418FC71C5E",
"name":"ALCORSA",
"icon":1,
"strokeColor":"rgba(53, 106, 195, 0.8)",
"fillColor":"rgba(53, 106, 195, 0.4)"
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
orgId | String | 组织唯一标识 | Y |
name | String | 围栏类型名称 | Y |
icon | int | 围栏类型图标 | Y |
strokeColor | String | 围栏边框颜色 | Y |
fillColor | int | 围栏填充颜色 | Y |
descInfo | String | 围栏描述 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": null
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | object | 返回结果体 |
作者:admin 创建时间:2023-04-24 16:57
最后编辑:admin 更新时间:2025-04-26 15:43
最后编辑:admin 更新时间:2025-04-26 15:43