Revenatium Hotel Data API Reference

Revenatium Hotel Data.

API Endpoint
http://api-core.revenatium.com/
Terms of Service: urn:tos
Contact: soporte@revenatium.com
Version: 1.0

Paths

Obtiene información de hoteles

GET /public/hotels
Authorization: string
in header

apiKey

account: string
in header

account

locale: string es-mx
in query

locale

200 OK

OK

500 Internal Server Error

500 message

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "integer (int64)",
    "name": "string",
    "code": "string",
    "lowestRate": "number",
    "lowestRateDetail": {
      "amount": "number",
      "prePromotionalAmount": "number",
      "currency": "string",
      "date": "string"
    },
    "isAvailable": "boolean",
    "photos": [
      {
        "path": "string",
        "title": "string"
      }
    ],
    "destination": {
      "name": "string"
    }
  }
]
Response Example (500 Internal Server Error)
{
  "message": "string"
}

Obtiene información de un hotel

GET /public/hotels/{hotelId}
Authorization: string
in header

apiKey

account: string
in header

account

hotelId: string
in path

hotel id

locale: string es-mx
in query

locale

200 OK

OK

500 Internal Server Error

500 message

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "integer (int64)",
    "name": "string",
    "code": "string",
    "lowestRate": "number",
    "lowestRateDetail": {
      "amount": "number",
      "prePromotionalAmount": "number",
      "currency": "string",
      "date": "string"
    },
    "isAvailable": "boolean",
    "photos": [
      {
        "path": "string",
        "title": "string"
      }
    ],
    "destination": {
      "name": "string"
    }
  }
]
Response Example (500 Internal Server Error)
{
  "message": "string"
}

Obtiene información de promociones

GET /public/promotions
Authorization: string
in header

apiKey

account: string
in header

account

channelType: string hotel
in query

channelType

locale: string es-mx
in query

locale

OK

500 Internal Server Error

500 message

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "integer (int64)",
    "title": "string",
    "description": "string",
    "promotionType": "string",
    "discount": "number (double)",
    "discountPercentage": "number (double)",
    "discountPercentageComplete": "string",
    "isActive": "boolean",
    "order": "integer (int32)",
    "hotel": {
      "code": "string",
      "id": "integer (int64)",
      "isActive": "boolean",
      "name": "string"
    },
    "lastValidDate": "string",
    "firstValidDate": "string",
    "includesDescription": [
      "string"
    ],
    "termsAndConditions": [
      "string"
    ],
    "photos": [
      {
        "path": "string",
        "title": "string"
      }
    ]
  }
]
Response Example (500 Internal Server Error)
{
  "message": "string"
}

Obtiene información de una promoción

GET /public/promotions/{promotionId}
Authorization: string
in header

apiKey

account: string
in header

account

promotionId: string
in path

promotion id

channelType: string hotel
in query

channelType

locale: string es-mx
in query

locale

OK

500 Internal Server Error

500 message

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "integer (int64)",
    "title": "string",
    "description": "string",
    "promotionType": "string",
    "discount": "number (double)",
    "discountPercentage": "number (double)",
    "discountPercentageComplete": "string",
    "isActive": "boolean",
    "order": "integer (int32)",
    "hotel": {
      "code": "string",
      "id": "integer (int64)",
      "isActive": "boolean",
      "name": "string"
    },
    "lastValidDate": "string",
    "firstValidDate": "string",
    "includesDescription": [
      "string"
    ],
    "termsAndConditions": [
      "string"
    ],
    "photos": [
      {
        "path": "string",
        "title": "string"
      }
    ]
  }
]
Response Example (500 Internal Server Error)
{
  "message": "string"
}

Obtiene información de habitaciones

GET /public/{hotelId}/rooms/web
Authorization: string
in header

apiKey

account: string
in header

account

hotelId: integer (int64)
in path

hotelId

locale: string es-mx
in query

locale

200 OK

OK

500 Internal Server Error

500 message

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "integer (int64)",
    "name": "string",
    "description": "string",
    "isActive": "boolean",
    "amenities": [
      {
        "id": "integer (int64)",
        "code": "string",
        "name": "string"
      }
    ],
    "bedding": "string",
    "capacity": "string",
    "lowestRateDetail": {
      "amount": "number",
      "prePromotionalAmount": "number",
      "currency": "string",
      "date": "string"
    }
  }
]
Response Example (500 Internal Server Error)
{
  "message": "string"
}

Schema Definitions

Error: object

message: string
Example
{
  "message": "string"
}

HotelContent: object

id: integer (int64)
name: string
code: string
lowestRate: number
lowestRateDetail: LowestRateDetail
isAvailable: boolean
photos: HotelImage
HotelImage
destination: Destination
Example
{
  "id": "integer (int64)",
  "name": "string",
  "code": "string",
  "lowestRate": "number",
  "lowestRateDetail": {
    "amount": "number",
    "prePromotionalAmount": "number",
    "currency": "string",
    "date": "string"
  },
  "isAvailable": "boolean",
  "photos": [
    {
      "path": "string",
      "title": "string"
    }
  ],
  "destination": {
    "name": "string"
  }
}

LowestRateDetail: object

amount: number
prePromotionalAmount: number
currency: string
date: string
Example
{
  "amount": "number",
  "prePromotionalAmount": "number",
  "currency": "string",
  "date": "string"
}

Destination: object

name: string
Example
{
  "name": "string"
}

HotelImage: object

path: string
title: string
Example
{
  "path": "string",
  "title": "string"
}

PromotionViewModel: object

id: integer (int64)
title: string
description: string
promotionType: string DiscountAmount, DiscountPercentage
discount: number (double)
discountPercentage: number (double)
discountPercentageComplete: string
isActive: boolean
order: integer (int32)
hotel: Hotel
lastValidDate: string
firstValidDate: string
includesDescription: string[]
string
termsAndConditions: string[]
string
photos: HotelImage
HotelImage
Example
{
  "id": "integer (int64)",
  "title": "string",
  "description": "string",
  "promotionType": "string",
  "discount": "number (double)",
  "discountPercentage": "number (double)",
  "discountPercentageComplete": "string",
  "isActive": "boolean",
  "order": "integer (int32)",
  "hotel": {
    "code": "string",
    "id": "integer (int64)",
    "isActive": "boolean",
    "name": "string"
  },
  "lastValidDate": "string",
  "firstValidDate": "string",
  "includesDescription": [
    "string"
  ],
  "termsAndConditions": [
    "string"
  ],
  "photos": [
    {
      "path": "string",
      "title": "string"
    }
  ]
}

RoomViewModel: object

id: integer (int64)
name: string
description: string
isActive: boolean
amenities: AmenityViewModel
AmenityViewModel
bedding: string
capacity: string
lowestRateDetail: LowestRateDetail
Example
{
  "id": "integer (int64)",
  "name": "string",
  "description": "string",
  "isActive": "boolean",
  "amenities": [
    {
      "id": "integer (int64)",
      "code": "string",
      "name": "string"
    }
  ],
  "bedding": "string",
  "capacity": "string",
  "lowestRateDetail": {
    "amount": "number",
    "prePromotionalAmount": "number",
    "currency": "string",
    "date": "string"
  }
}

AmenityViewModel: object

id: integer (int64)
code: string
name: string
Example
{
  "id": "integer (int64)",
  "code": "string",
  "name": "string"
}

Hotel: object

code: string
id: integer (int64)
isActive: boolean
name: string
Example
{
  "code": "string",
  "id": "integer (int64)",
  "isActive": "boolean",
  "name": "string"
}