13.2.38. reservation

Interface for reservations

13.2.38.1. Variables

reservation_update:object (reservation-ReservationUpdateStatus)
Update of the reservation.
There is an extended definition for this object here.

13.2.38.2. Commands

reserve_now:string
Reserves an evse.
request:object <required> (reservation-Reservation)
Requests to make a reservation
There is an extended definition for this object here.
Returns Accepted if reservation was succesful or specifies error code.
There is an extended definition for this object here.
cancel_reservation:boolean
Cancels the reservation with the given reservation_id
reservation_id:integer <required>
Id of the reservation
Result:boolean
Returns true if reservation was cancelled. Returns false if there was no reservation to cancel.
exists_reservation:string
Checks if there is a reservation made for the given connector and token. Will also return true if there is a reservation with this token for evse id 0.
request:object <required> (reservation-ReservationCheck)
The information to send for the check if there is a reservation on the given connector for the given token.
There is an extended definition for this object here.
Returns an enum which indicates the reservation status of the given id / id token / group id token combination.
There is an extended definition for this object here.