Mutation
移除联网车辆
使用 removeConnectedVehicle 变更移除联网车辆并撤销其访问权限。当最终用户断开其车辆与连接服务提供商的连接时,此操作非常有用。
变更
移除联网车辆需要 id。id 可通过 createConnectedVehicle 变更获取。
参数
input· RemoveConnectedVehicleInput· required字段
id· IDvehicle_id· IDstatus· ConnectedVehicleStatusConnectedVehicleStatus enum values
pending_authorizationVehicle was added to the Chargetrip Connect platform but not yet authorized
authorizedVehicle was authorized. Chargetrip can retrieve data on behalf of the user
pending_removalPending vehicle removal
removedVehicle was removed and access has been revoked
provider· CarConnectivityProviderCarConnectivityProvider enum values
Enodescope· ConnectScopeConnectScope enum values
locationVehicle location, applicable for: Enode
charge_stateCharge state, applicable for: Enode
odometerOdometer reading, applicable for: Enode
label· Stringvin· String操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 here.
connected_vehicle_not_found- The connected vehicle was not found.
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.
此内容是否有帮助?