description: Interface for reservations cmds: reserve_now: description: Reserves an evse. arguments: request: type: object $ref: /reservation#/Reservation description: Requests to make a reservation result: description: >- Returns Accepted if reservation was successful or specifies error code. type: string $ref: /reservation#/ReservationResult cancel_reservation: description: Cancels the reservation with the given reservation_id arguments: reservation_id: description: Id of the reservation type: integer result: description: >- Returns true if reservation was cancelled. Returns false if there was no reservation to cancel. type: boolean exists_reservation: description: >- 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. arguments: request: type: object $ref: /reservation#/ReservationCheck description: >- The information to send for the check if there is a reservation on the given connector for the given token. result: description: >- Returns an enum which indicates the reservation status of the given id / id token / group id token combination. type: string $ref: /reservation#/ReservationCheckStatus vars: reservation_update: description: >- Update of the reservation. type: object $ref: /reservation#/ReservationUpdateStatus