Mutation
创建等值线
使用 createIsoline 变更创建基于能耗的等值线。当您想可视化车辆从某一给定点出发可到达的区域时,此操作非常有用。
变更
创建等值线需要 vehicle_id 和 origin。您还可以添加 state_of_charge、polygon_count 或其他偏好设置来优化计算。该变更会返回等值线的 id,可用于获取等值线详情或订阅更新。
参数
input· IsolineInput· required字段
ID· ID操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 here.
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.
此内容是否有帮助?