Get method to list hotels
Name | Description |
---|---|
account_id required | Your account unique identifier to access API. |
GET
/v2/account/:account_id/hotel_data
Accept: application/json
Authorization: Token token={account.secret}
Content-Type: application/json
200
{
"hotels": [
{
"name": "Hotel 2",
"uuid": "hotel_2",
"hotel_name": {
"ES": "Nombre del hotel",
"DE": "Name des Hotels"
}
},
{
"name": "Hotel 1",
"uuid": "hotel_1",
"hotel_name": {
"ES": "Nombre del hotel",
"DE": "Name des Hotels"
}
}
]
}