Mutation
开始导航
使用 startNavigation 变更在现有路线的基础上开始新的导航会话。当驾驶员开始沿已计算的路线行驶时,此操作非常有用。
变更
开始导航会话需要 route_id、route_details_id 和 current_location。两个路线 ID 都可通过 getRoute 查询获取。该变更会返回导航会话的 id,可用于获取、更新或结束该会话。
参数
input· NavigationStartInput· required字段
ID· ID操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 here.
matched_routes_not_supported- Navigation is not supported for matched routes.
navigation_location_too_far- Current location is too far away from the route origin. Please plan another route from current location.
navigation_soc_below_allowed- State of charge is bellow allowed by the route state of charge. Please plan another route from current location.
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_alternative_not_found- No route alternative was found with the provided ID.
route_not_found- No route was found with the provided ID.
此内容是否有帮助?