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"
}

Changes

Changed in 2 of the 42 revisions of this API.61

    • the response's body type changed from no type to object for status (media type: application/problem+json)

      response-body-type-changed

    • the response's body type changed from no type to object for status (media type: application/problem+json)

      response-body-type-changed

    • the response's body type changed from no type to object for status (media type: application/problem+json)

      response-body-type-changed

    • the response's body type changed from no type to object for status (media type: application/problem+json)

      response-body-type-changed

    • the response's body type changed from no type to object for status (media type: application/problem+json)

      response-body-type-changed

    • the response's body type changed from no type to object for status (media type: application/problem+json)

      response-body-type-changed

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog