Create a new trip for a booking
POST/bookings/:bookingId/trips
Returns 202 with the ID and href of the newly created trip. The trip is accepted and being processed.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 500
Trip successfully created and is being processed. Returns the ID and href of the new trip.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Server error