vehicles

Set a SoC-based charging plan

Changed on

Create charging plan with fixed time and SoC target.

post/vehicles/{name}/plan/soc/{soc}/{timestamp}

Request

  • Base URL
    https://demo.evcc.io/api
  • URL
    https://demo.evcc.io/api/vehicles/{name}/plan/soc/{soc}/{timestamp}
  • Auth
    none declared

Path parameters

namestring required
Example:vehicle_1

Vehicle name

socnumber required

SoC in %

Example:60
timestampstring date-time required

Timestamp in RFC3339 format

Response

Success

socnumber

SoC in %

timestring date-time

Timestamp in RFC3339 format

Example response

{
  "soc": 60
}

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      deleted the query request parameter precondition

    • warning

      removed the optional property / from the response with the status