예약 요청하기

Booking

POST https://backends.xyz/api/home/booking/

.

Headers

NameTypeDescription

Authentication

string

Authentication token to track down who is emptying our stocks.

Request Body

NameTypeDescription

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

Last updated