批量添加轨迹点
POST
/api/v3/track/addpoints
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://yingyan.baidu.com/api/v3/track/addpoints?service_id&point_list&ak=&sn='
响应示例响应示例
{
"status": 0,
"message": "成功"
"success_num": 1,
"fail_info": {
"param_error": [
{
"entity_name": 37286234,
"loc_time": 1525232703,
"latitude": 39.895895,
"longitude": 116.235244,
"coord_type_input": "wgs84",
"speed":28.82,
"direction":174,
"height":173.6,
"radius":32,
"object_name":"12837",
"city": "beijing",
"province": "beijing",
"error":"entity_name 类型不匹配"
}
],
"internal_error": []
}
}
请求参数
Query 参数
service_id
integer
必需
point_list
string
必需
ak
string
必需
默认值:
{{ak}}
sn
string
可选
默认值:
{{sn}}
返回响应
修改于 2022-08-22 02:53:07