예약 요청하기
Booking
POST https://backends.xyz/api/home/booking/
.
Headers
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
Request Body
Name
Type
Description
check_in_date
string
"check_in_date": "2018-12-20"
check_out_date
string
"check_out_date": "2018-12-30"
num_guest
integer
"num_guest": 2
room
integer
"room": 12
{
"id": 47,
"room": 12,
"guest": 3,
"num_guest": 2,
"check_in_date": "2018-12-12",
"check_out_date": "2018-12-15",
"reserved_dates": [
{
"reserved_date": "2018-12-13"
},
{
"reserved_date": "2018-12-14"
}
]
}{
"room": [
"이 필드는 필수 항목입니다."
],
"num_guest": [
"이 필드는 필수 항목입니다."
],
"check_in_date": [
"이 필드는 필수 항목입니다."
],
"check_out_date": [
"이 필드는 필수 항목입니다."
]
}Last updated
Was this helpful?