Hotel Data

List

Get method to list hotels

Parameters

Name Description
account_id required Your account unique identifier to access API.

Request

Route
GET 
/v2/account/:account_id/hotel_data
Headers
Accept: application/json 
Authorization: Token token={account.secret}
Content-Type: application/json

Response

Status
200
Body
{
  "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"
      }
    }
  ]
}