POST api/evinfo/external/customers/{customerId}/cars/{vehicleId}/charge
Gets the charge information about the vehicle from the vendors API.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId |
The customer identifier. |
string |
Required |
vehicleId |
The vehicle identifier. |
string |
Required |
Body Parameters
The vendor login credentials. Can be either username/email and password, or a bearer token.
EvLoginCredentialsName | Description | Type | Additional information |
---|---|---|---|
username | string |
Data type: EmailAddress |
|
password | string |
Data type: Password |
|
auth | Auth |
None. |
|
Manufacturer | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "username": "sample string 1", "password": "sample string 2", "auth": { "bearer": "sample string 1" }, "Manufacturer": "sample string 3" }
text/html
Sample:
{"username":"sample string 1","password":"sample string 2","auth":{"bearer":"sample string 1"},"Manufacturer":"sample string 3"}
Response Information
Resource Description
Battery level
BatteryLevelResponseName | Description | Type | Additional information |
---|---|---|---|
BatteryLevel | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "BatteryLevel": 1.1 }
text/html
Sample:
{"BatteryLevel":1.1}