微信咨询
返回顶部

您目前所在位置 : 资讯  > 资讯详情

智能手环围栏数据API获取

围栏管理

获取围栏列表(tsp.fences.get)

服务地址

GET https://openapi.xu5g.com/tsp/fences/get

业务描述

根据应用ID、uuid等参数查询围栏列表

请求参数

除公共参数外,还包括以下业务参数:

返回参数

请求实例

Plain Text

curl

-X GET

-G

-H "token:eyJhbGciOiJIUzI1Ni..."

-d "page=1"

-d "limit=10"

-d "start_time=2021-01-01 13:00:00"

-d "end_time=2021-04-01 13:00:00"

-d "uuid=1000-0-4-863659041629634"

-d "imei_sn=863659041629634"

-d "product_id=10000"

https://openapi.xu5g.com/tsp/fences/get

{

"status": 0,

"message": "操作成功",

"data": {

"data": [

{

"appkey": 5000,

"collide_type": 1,

"create_at": "2021-03-31 18:20:33",

"delete_at": null,

"fence_type": 1,

"geo": "{\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[125.6,10.1]},\"properties\":{\"name\":\"Dinagat Islands\"}}",

"id": 2,

"near_radius": 0,

"partner_id": 1,

"point_radius": 0,

"shape_type": 1,

"truename": "测试围栏",

"uuid": "5000-0-1-111111111111111",

"valid_end": "18:00",

"valid_start": "08:00",

"valid_week": "0"

}

],

"total": 1

}

}