Returns the details of a specific booking.
Security
OAuth2(Required scopes: read)
- Mock serverhttps://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/train-travel/openapi/bookings/{bookingId}
- Productionhttps://api.example.com/bookings/{bookingId}
curl -i -X GET \
https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/train-travel/openapi/bookings/1725ff48-ab45-4bb5-9d02-88745177dedb \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
- application/json
- application/xml
{ "id": "efdbb9d1-02c2-4bc3-afb7-6788d8782b1e", "trip_id": "efdbb9d1-02c2-4bc3-afb7-6788d8782b1e", "passenger_name": "John Doe", "has_bicycle": true, "has_dog": true, "links": { "self": "https://api.example.com/bookings/1725ff48-ab45-4bb5-9d02-88745177dedb" } }