PUT /vehicles/{vehicleId}/smart-charging-policy
Updates the Smart Charging policy for a vehicle
Servers
- https://enode-api.production.enode.io
Path parameters
Name | Type | Required | Description |
---|---|---|---|
vehicleId |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
minimumChargeLimit |
Number | No |
Proceed to charge promptly, disregarding energy prices, until the vehicle achieves this preset minimum limit. Please note that this limit cannot exceed the vehicle's maximum charge limit. The default setting is zero. The unit of measure is percentage. Default value: 0 |
deadline |
String | No |
The hour-minute deadline for fully charging the vehicle. Smart charging does not work without setting a deadline. If a timezone is set on the location at which the smart charging occurs, the deadline is interpreted in that timezone, otherwise UTC is used. |
isEnabled |
Boolean | No |
When enabled, this vehicle's charging status may be controlled by Smart Charging Default value: false |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.