Query
联网车辆数据
使用 connectedVehicleData 查询获取实时车辆数据。当您想直接从联网车辆获取实时数据(例如其电量状态或位置)时,此操作非常有用。
查询
获取联网车辆的实时数据需要联网车辆的 id。id 可通过 createConnectedVehicle 变更获取。
参数
id· ID· required字段
battery· ConnectBatterycharge· ConnectChargelocation· ConnectLocationodometer· ConnectOdometer操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 here.
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!
connected_vehicle_forbidden- The vehicle does not seem to be authorized yet. To complete this action, first complete the authorization flow.
connected_vehicle_not_found- The connected vehicle was not found.
enode_proxy_exception- Enode remote did throw an exception that could not be handled.
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.
此内容是否有帮助?