兔盯云智能手環(huán)運(yùn)動(dòng)軌跡API獲取
軌跡管理
獲取軌跡 (tsp.tracks.get)
服務(wù)地址
GET https://openapi.xu5g.com/tsp/tracks/get
業(yè)務(wù)描述
根據(jù)設(shè)備號(hào)、時(shí)間范圍查詢?cè)O(shè)備軌跡數(shù)據(jù)
請(qǐng)求參數(shù)
返回參數(shù)
請(qǐng)求實(shí)例
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-863659040942004"
-d "imei_sn=863659040942004"
-d "sort=asc"
https://openapi.xu5g.com/tsp/tracks/get
{
"status": 0,
"message": "操作成功",
"data": {
"result": [
{
"address": "河南省 鄭州市 金水區(qū) 王府墳?zāi)辖?靠近艾米繪畫",
"blat": "34.771841",
"blng": "113.652383",
"city_id": 0,
"direction": 0,
"district_id": 410105,
"id": 1616515142,
"ignore_reason": "1. 本次定位(113.652383,34.771841)與上次定位(113.652395,34.771636)的距離小于80米,忽略掉",
"imei_sn": "863659040942004",
"is_ignore": 1,
"is_lrd": 0,
"lat": "34.771841",
"lng": "113.652383",
"locate_time": "2021-03-23 23:59:02",
"locate_type": 3,
"message": "BDBDBDBDA33B105A6000076C06D69B1CC9CDFFFFFF6C06D69B1CC5CDFFFFFF6C06D69B1CC4CDFFFFFF2C557CB7E256C7FFFFFFA8E2C3D13656BDFFFFFFC85BA0649A92BCFFFFFFB0958E58FF0CBBFFFFFFA1,863659040942004",
"primary_key": "b99340b2f2ead2b04d056514dd1dfde1",
"prisoner_id": 0,
"province_id": 0,
"radius": 30,
"speed": 0,
"user_id": 1043,
"uuid": "1000-0-1043-863659040942004"
}
],
"total": 87
}
}
修改軌跡數(shù)據(jù) (tsp.track.update)
服務(wù)地址
GET https://openapi.xu5g.com/tsp/track/update
業(yè)務(wù)描述
根據(jù)主鍵、id修改設(shè)備單條軌跡數(shù)據(jù)
請(qǐng)求參數(shù)
請(qǐng)求實(shí)例
Plain Text
curl
-X GET
-G
-H "token:eyJhbGciOiJIUzI1Ni..."
-d "primary_key=0ac4f08922286c697a44149cfe7f3549"
-d "id=1626655190"
-d "is_ignore=0"
https://openapi.xu5g.com/tsp/track/update
{
"status": 0,
"message": "操作成功",
"data": null
}
兔盯云提供以智能手表、手環(huán)、考勤機(jī)、藍(lán)牙網(wǎng)關(guān)等成熟的智能硬件,同時(shí)對(duì)應(yīng)提供完善、穩(wěn)定的硬件API接入及被動(dòng)消息推送能力。供需要智能硬件來完善產(chǎn)品板塊的企業(yè)可以快速接入,減少尋找硬件、測(cè)試硬件、調(diào)試對(duì)接、搭建硬件平臺(tái)等海量時(shí)間和資金成本,極速創(chuàng)建或融合基于智能硬件業(yè)務(wù)場(chǎng)景的應(yīng)用。
本文摘自 :https://blog.51cto.com/u