v42

latestOpenAPI 3.1.0CC-BY-NC-SA-4.0raw.githubusercontent.com2025-03-1271142.7 KB
Bookings

Get a booking

Returns the details of a specific booking.

get/bookings/{bookingId}

Response

The booking details

idstring uuid

Unique identifier for the booking

trip_idstring uuid

Identifier of the booked trip

passenger_namestring

Name of the passenger

has_bicycleboolean

Indicates whether the passenger has a bicycle.

has_dogboolean

Indicates whether the passenger has a dog.

Example response

{
  "id": "3f3e3e1-c824-4d63-b37a-d8d698862f1d",
  "trip_id": "4f4e4e1-c824-4d63-b37a-d8d698862f1d",
  "passenger_name": "John Doe"
}