简要描述:

  • 根据AnchorId获取anchor

请求URL:

  • http://www.ubiboat.com/v1/anchor?anchorId=123456

请求方式:

  • GET

参数:

参数名 必选 类型 说明
anchorId string anchor唯一ID

注意事项:

返回示例

{
    "status": 1,
    "msg": "success",
    "data": {
        "lng": 116.3074761,
        "lat": 39.9848497,
        "address": "北京市 海淀区 北四环西路辅路 靠近北京大学出版社(昊海楼北)",
        "csys": "gcj02",
        "anchorId": "12345",
        "time": "2021-08-16 15:56:08",
        "expirationTime": "2021-08-16 18:40:00",
        "status": 1,
        "groupId": "1"
    }
}
 

返回参数说明

参数名 类型 说明
status int 1:成功 其它:异常
msg string 消息详情
data string 返回的数据
address string 地址信息
anchorId string anchorId
csys string 坐标系
lat double 纬度坐标
lng double 经度坐标
expirationTime string 点位过期时间
time string 位置上报的时间
status int 1启用,0停用
groupId string 分组ID