Mutation
创建等值线
使用 createIsoline mutation 创建基于能耗的等值线。当您想可视化车辆从给定地点出发可到达的区域,例如作为续航地图时,这会很有用。车辆续航范围指南展示了如何将结果转换为可放置在地图上的形状。
Mutation
创建等值线需要提供 vehicle_id 和 origin。还可以选择性地添加 state_of_charge、polygon_count 或其他偏好设置来优化计算。该 mutation 返回等值线 id,可用于获取等值线详情或订阅更新。
参数
字段
操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 这里。
isoline_final_soc_exceeds_soc- Isoline final state of charge cannot exceed the starting state of charge.
isoline_invalid_number_of_polygons- Field polygon_count should be a value between 1 and 20.
isoline_limit_exceeded- Isoline query limit exceeded.
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.
vehicle_freemium_not_allowed- You do not have access to this vehicle. Please upgrade to access this vehicle.
vehicle_type_not_allowed- Vehicle of type $TYPE is not allowed for this operation.
此内容是否有帮助?