Skip to content
Documentation Menu

Cancel Reservation

Source: OCPP 1.6 Specification — Section 5.1 (Operation), Sections 6.5 / 6.6 (Messages)

Overview

To cancel a reservation the Central System SHALL send a CancelReservation.req PDU to the Charge Point.

If the Charge Point has a reservation matching the reservationId in the request PDU, it SHALL return status Accepted. Otherwise it SHALL return Rejected.

Sequence Diagram

Figure 22. Sequence Diagram: Cancel Reservation

Central System  ──── CancelReservation.req ────▶  Charge Point
                     (reservationId)
Central System  ◀─── CancelReservation.conf ────  Charge Point
                     (status)

Initiator

Central System → Charge Point

Fields

Field NameField TypeCard.Description
reservationIdinteger1..1Required. Id of the reservation to cancel.

CancelReservationStatus values

  • Accepted — Reservation for the identifier has been cancelled.
  • Rejected — Reservation could not be cancelled (e.g. because there is no reservation active with the given reservationId).

Examples

{
  "reservationId": 42
}

Schema

Source: schemas/CancelReservation.json, schemas/CancelReservationResponse.json (OCPP 1.6, JSON Schema draft-04)

Request schema (JSON Schema)
Response schema (JSON Schema)