Query
导航详情
使用 navigation 查询获取进行中的导航会话。当您想显示驾驶员沿路线的当前进度时,此操作非常有用。
查询
获取导航会话的详细信息需要其 id。id 可通过 startNavigation 变更获取。
参数
id· ID· required字段
id· IDoverview· NavigationOverviewvehicle_status· NavigationVehicleStatusNavigationVehicleStatus enum values
drivingVehicle is driving.
chargingVehicle is charging.
parkedVehicle is parked.
status· NavigationStatusNavigationStatus enum values
activeNavigation session is live and currently tracking.
finishedNavigation session is completed (either manually or automatically 48 hours after the last update).
meta· NavigationMeta操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 here.
navigation_invalid_route_status- Cannot start a navigation session for a route with status '$ROUTESTATUS'.
navigation_not_found- No navigation session was found with the provided ID.
operation_not_allowed- You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.
rate_limit_exceeded- Rate limit exceeded.
route_polyline_invalid_decimals- Value for decimals number is not valid. Allowed values are 5 or 6.
此内容是否有帮助?