Create Trip
POST /api/v1/trips
Example request body:
{ "trip": { "checkIn": "2022-06-15", "checkOut": "2022-06-20", "totalPrice": 200000, "headCount": 4, "roomId": 1 } }
Role
Guest
required, Example response body:
{ "trip": { "id": 1, "checkIn": "2022-06-15", "checkOut": "2022-06-20", "totalPrice": 200000, "headCount": 4, "roomId": 1, "status": "RESERVED" } }