Mutation
授权联网车辆
使用 authorizeConnectedVehicle 变更完成联网车辆的授权。当最终用户已通过连接服务提供商授予访问权限后,此操作非常有用。
变更
授权联网车辆需要 id 和特定于提供商的 options。id 可通过 createConnectedVehicle 变更获取。
参数
字段
操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 这里。
auth_code_invalid- The provided auth code is not valid.
auth_token_expired- The token you provided is expired.
auth_token_invalid- The token you provided is invalid.
connect_provider_not_allowed- The Connect provider $PROVIDER is not configured for your client id. Please contact customer support to enable it.
connect_vehicle_not_supported- The provider you tried to use ($PROVIDER) cannot be used for this vehicle.
connected_vehicle_forbidden- The vehicle does not seem to be authorized yet. To complete this action, first complete the authorization flow.
connected_vehicle_no_pending_status- The connected vehicle you are trying to authorize does not have status pending_authorization.
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.
此内容是否有帮助?