Path Variable
Request Param
Resoponse
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 71
{
"data":[
{
"checkIn":"2022-07-05",
"checkOut":"2022-07-07"
}
]
}
sequenceDiagram
Guest->>+Client: 예약 불가능 날짜 조회
Client->>Amabnb: GET /rooms/{roomId}/reservation-date?startDate=&endDate=
Note over Client, Amabnb: 예약 불가능 날짜 조회 API
Amabnb->>+Reservation: 예약 불가능 날짜 조회
Reservation ->> Room : 숙소 조회
Room -->> Reservation : 응답 및 예외처리
Reservation-->>Amabnb: 응답 및 예외처리
Amabnb-->>Client: 응답 및 예외처리
Client-->>Guest: 응답 및 예외처리