Confirm a reservation
Accepts a PENDING reservation request: it moves to RESERVED.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
booking_id
OCPI id of the reservation.
Headers
Idempotency-Key
A unique key you choose for this call, e.g. a UUID. Retrying with the same key returns the first result instead of acting twice.
Query parameters
country_code
OCPI country code of the party that owns the row, e.g. NL.
party_id
OCPI party id of the party that owns the row, e.g. OCP.
Response
The reservation, now RESERVED (it was PENDING).
id
booking_id
request_id
location_id
period
When the reservation may be used.
reservation_status
booking_terms
Terms accepted for the reservation.
booking_requests
last_updated
role
origin
organization_id
country_code
party_id
ocpi_version
created_at
updated_at
booking_option
booking_tokens
tariff_ids
canceled
access_information
deleted_at
Errors
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error