Query
联网车辆列表
使用 connectedVehicleList 查询获取当前用户的联网车辆列表。当您想显示用户已连接到提供商的所有车辆时,此操作非常有用。
查询
执行此查询无需任何输入。使用 filter 按状态缩小结果范围,并使用 size 和 page 参数对结果进行分页。
参数
filter· ConnectedVehicleListFiltersize· Intpage· Int字段
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.
auth_token_expired- The token you provided is expired.
auth_token_invalid- The token you provided is invalid.
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.
此内容是否有帮助?