- 任务工单管理
- 航点结果
- 控制台
- 电子围栏
电子围栏列表
开发中
测试外网环境
http://airia.nat100.top/api/xz_parametric/v1
测试外网环境
http://airia.nat100.top/api/xz_parametric/v1
GET
/construction/electronic-fence/list
请求参数
Header 参数
Authorization
string
可选
默认值:
DJ1IveYRsB6BcH3wHM5VIL2oe9PVW++VVsSSE5Yi5gbkDoXd2XWrBVCcj+wzZmzu
Body 参数application/json
object {0}
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://airia.nat100.top/api/xz_parametric/v1/construction/electronic-fence/list' \
--header 'Authorization: DJ1IveYRsB6BcH3wHM5VIL2oe9PVW++VVsSSE5Yi5gbkDoXd2XWrBVCcj+wzZmzu' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
err
boolean
必需
msg
string
必需
req_id
string
必需
data
object
必需
list
array [object {15}]
必需
示例
{
"code": 0,
"err": false,
"msg": "OK",
"req_id": "868fd47361ea/m22cBu5l4J-000001",
"data": {
"total": 5,
"list": [
{
"id": 6,
"name": "电子围栏10",
"longitude": 117.1,
"latitude": 38.2,
"geometry_type": 1,
"geometry_type_str": "圆柱体",
"radius": 100,
"height": 0,
"max_height_limit": 500,
"min_height_limit": 20,
"fence_points": [
{
"longitude": 117.1,
"latitude": 38.2
},
{
"longitude": 117.11,
"latitude": 38.21
},
{
"longitude": 117.12,
"latitude": 38.22
}
],
"has_bound": false,
"created_at": 1732176341,
"created_at_str": "2024-11-21 16:05:41",
"updated_at": 1732176341,
"updated_at_str": "2024-11-21 16:05:41"
},
{
"id": 5,
"name": "电子围栏9",
"longitude": 117.1,
"latitude": 38.2,
"geometry_type": 1,
"geometry_type_str": "圆柱体",
"radius": 100,
"height": 0,
"max_height_limit": 500,
"min_height_limit": 20,
"fence_points": [],
"has_bound": false,
"created_at": 1732176044,
"created_at_str": "2024-11-21 16:00:44",
"updated_at": 1732176044,
"updated_at_str": "2024-11-21 16:00:44"
},
{
"id": 4,
"name": "2",
"longitude": 118,
"latitude": 36,
"geometry_type": 1,
"geometry_type_str": "圆柱体",
"radius": 36,
"height": 0,
"max_height_limit": 120,
"min_height_limit": 50,
"fence_points": [],
"has_bound": false,
"created_at": 1730079988,
"created_at_str": "2024-10-28 09:46:28",
"updated_at": 1730080499,
"updated_at_str": "2024-10-28 09:54:59"
},
{
"id": 3,
"name": "1",
"longitude": 118,
"latitude": 36,
"geometry_type": 1,
"geometry_type_str": "圆柱体",
"radius": 36,
"height": 0,
"max_height_limit": 90,
"min_height_limit": 40,
"fence_points": [],
"has_bound": false,
"created_at": 1730079852,
"created_at_str": "2024-10-28 09:44:12",
"updated_at": 1730079852,
"updated_at_str": "2024-10-28 09:44:12"
},
{
"id": 1,
"name": "电子围栏1",
"longitude": 117.1,
"latitude": 38.2,
"geometry_type": 1,
"geometry_type_str": "圆柱体",
"radius": 100,
"height": 0,
"max_height_limit": 500,
"min_height_limit": 20,
"fence_points": [],
"has_bound": false,
"created_at": 1728976065,
"created_at_str": "2024-10-15 15:07:45",
"updated_at": 1728976203,
"updated_at_str": "2024-10-15 15:10:03"
}
]
}
}