> For the complete documentation index, see [llms.txt](https://doc.bodinat.de/doc/train-travel/llms.txt)

# New Booking

> POST newBooking
> 
> Subscribe to new bookings being created, to update integrations for your users.  Related data is available via the links provided in the request.



## Servers
- Mock Server: https://try.microcks.io/rest/Train+Travel+API/1.0.0 (Mock Server)
- Production: https://api.example.com (Production)


## Authentication methods
- O auth2


## Parameters



### Body: application/json (object)

- **trip_id** (string(uuid))
  Identifier of the booked trip

- **passenger_name** (string)
  Name of the passenger

- **has_bicycle** (boolean)
  Indicates whether the passenger has a bicycle.

- **has_dog** (boolean)
  Indicates whether the passenger has a dog.

- **links** (object)
  Links to the next and previous pages of a paginated response.



## Responses
### 200
Return a 200 status to indicate that the data was received successfully.


[Powered by Bump.sh](https://bump.sh)
