概述
此接口用于获取标签数据。
接口请求地址
请求方法
GET
请求参数
名称 |
类型 |
必填 |
描述 |
access_token或user_access_token |
字符 |
是 |
账户的access_token密钥,与user_access_token(string)二选一 |
返回说明
返回一个JSON对象,其中”code”为”0″即成功。”data”为全部标签数据。
返回示例
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
{ "code": 0, "msg": "Successful operation", "msg_en": "Successful operation", "data": [ { "id": 2, "serialnumber": "7730", "classify": 16, "avatar": null, "macaddr": "", "energy": "4.01", "temperature": null, "act": 0, "isclosed": null, "heartrate": null, "bloodoxygen": null, "strength": "", "last_fence": null, "static_fn": 1000, "active_fn": 200, "avgsize": null, "stimeout": null, "create_time": "2022-02-07T01:44:37Z", "update_time": "2022-03-02T06:55:21Z", "status": 0, "communicate_time": "2022-03-09T06:00:17Z", "location_time": null, "iccid": null, "firmware": null, "fn_sync": null, "en_gps": null, "fn_gps": null, "location_time_gps": null, "strength_gps": null, "in_fence": "", "cm_led": null, "range_type": 1, "charging_status": 0, "steps": 47, "fn_battery": 10800000, "fn_hr": null, "hr_sec": null, "pic_name": null, "cname": "TB", "cp_name": "1646703270.jpg", "msgs": "v", "per_serialnumber": null, "per_name": null, "car_name": null }, ...... ], "exe_time": "0.002053" } |