获取指定范围配送员
https://open.keloop.cn/open/courier/getNearCouriers
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
version | 是 | string | 版本号,固定为:1 |
timestamp | 是 | string | 当前时间戳 |
ticket | 是 | string | 唯一标识符 |
team_token | 是 | string | 团队Token |
dev_key | 是 | string | 开发者中心的开发密钥 |
sign | 是 | string | 参数签名,生成规则请参考 |
body | 是 | string | 请求方法所需要的参数json字符串 |
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
radius | 是 | float | 搜索范围大小,最大5km |
center | 是 | string | 搜索位置中心坐标火星坐标 |
{
"code": 200,
"message": "",
"data": {
"total": "1",
"couriers": [{
"courier_id": "1",
"courier_name": "测试配送员",
"courier_tag": "103.987187,30.717993",
}],
}
}
{
"code": 200,
"message": "",
"data": {
"total": "0",
"couriers": {
},
}
}
{
"code": 204,
"message": "请选择搜索中心",
"data": []
}
参数名 | 类型 | 说明 |
---|---|---|
total | string | 指定公里内在线配送员总数 |
couriers | string | 指定公里内在线配送员列表 |
参数名 | 类型 | 说明 |
---|---|---|
courier_id | string | 配送员id |
courier_name | string | 配送员名称 |
courier_tag | string | 配送员坐标 火星坐标 |