HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🌚
[New] 우기팀
/
AirCnC API Docs
AirCnC API Docs
/
여행 등록

여행 등록

Method
POST
URL Patterns
/trips
작업 여부

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