Ratebook API - POC step by step guide
Overview
The Ratebook API helps travel companies to reduce buy rates and increase margins. By focusing on the checkout stage we are able to focus on the moment of conversion with clear buy intent, dynamically source the best buy rate for you to service the sale.
This guide will take you through the steps needed to run a POC and be well on your way to lower buy rates adn increased profits!
POC Goals
The purpose of this POC is to analyze your book requests in real time and provide you with:
- 📈 Clear business case with supporting numbers and demonstrable ROI
- 📺 Access to real-time monitoring and detailed analysis through dedicated dashboards
- 🔐 Secure and non-intrusive testing flow with a simple single data submission call
**At the end you will have a comprehensive overview of system performance and financial metrics :
Preliminary Notes
- The POC is not impacting any existing processes and/or flows you may have in place
- You will be provided with the 'Username' and 'Password' for authenticating your data submission.
- You will be provided with the 'Username' and 'Password' to monitoring and insights dashboard to review the results of the POC.
Steps for completing the POC
Step 0 - How 'does it work'?
Before proceeding with the POC, it’s good to understand how the service functions overall:
The key is understanding when to execute the data submission request call. The request should always be sent right the booking is made i.e. after the consumer has clicked book. When the request is submitted to the service, it will research and analyze the supply pool for a lower price point than the intended buy price you've submitted.
More information - How Ratebook Operates.
Step 2 - How to identify Hotels?
In order to compare the rates accurately our service would need to identify the hotel submitted in your request.
We provide a simple approach where you simply pass any Supplier ID (from Gimmonix Integrated suppliers)** along with the Supplier's Hotel ID** .
Step 3 - When the Data is submitted
The data submission process itself is as simple as 'copy-pasting' your book request related data fields:
- The Hotel : SupplierId along with the Supplier HotelId.
- The Room: Room name (with room ID if available) and the room's meal plan.
- Pricing and policy: Your intended buy price, currency and refundability.
- The rest of the request can be hard-coded (as shown in the example below) without the need to pass more information (e.g. 2 adults as default amount of travelers)
Step 4 - What data is submitted?
As follows a table with parameters to be sent in the request:
Field | Value | Description | Mandatory | Notes |
---|---|---|---|---|
Credentials:UserName: | YourUserName | Credentials will be sent by email upon request | Mandatory | |
Credentials:Password: | YourPassword | Credentials will be sent by email upon request | Mandatory | |
RequestType: | 21 | Default value "21" | Mandatory | use default value |
TypeOfService: | 2 | Default value "2" | Mandatory | use default value |
type: | "HotelSmartBookRequest" | Default value "HotelSmartBookRequest" | Mandatory | use default value |
ClientIP: | null | Default value "null" | null | use default value |
HotelId: | null | Default value "null" | null | use default value |
GimmonixHotelId: | 0 | Default value "0" | Optional | use default value |
SupplierHotel:SupplierId: | 1165 | example for Expedia Supplier ID, more details see under "Step 2 - How to identify Hotels?" | Mandatory | Client to provide the data |
SupplierHotel:SupplierHotelId: | 893195 | example for an Hotel ID, more details see under "Step 2 - How to identify Hotels?" | Mandatory | Client to provide the data |
CheckIn: | /Date(1733561372000)/, | DateTime format in EPOC version (milliseconds version) (link to EPOC converter: https://www.epochconverter.com/) | Mandatory | Client to provide the data |
CheckOut: | /Date(1733561372000)/, | DateTime format in EPOC version (milliseconds version) (link to EPOC converter: https://www.epochconverter.com/) | Mandatory | Client to provide the data |
Residency: | US | Default value "US" | Mandatory | Client to provide the data |
Price:BookingPrice: | 300 | The Booking price as you would pay to the supplier (your buying price) | Mandatory | Client to provide the data |
Price:Currency: | USD | The Booking currency as you would pay to the supplier | Mandatory | Client to provide the data |
RefundableUntil: | /Date(1733302172000)/, | DateTime format in EPOC version (link to EPOC converter: https://www.epochconverter.com/) | Mandatory | Client to provide the data |
Rooms:AdultsCount: | 2 | Default value "2" | Mandatory | use default value |
Rooms:Id: | 7e6f9032-fe51-4759-b88a-22c5c75a7070 | Default value "7e6f9032-fe51-4759-b88a-22c5c75a7070" | Mandatory | use default value |
Rooms:RoomBasis: | Room Only | Represent the room basis, for example | Mandatory | Client to provide the data |
Rooms:RoomName: | 2 Queen Beds Room, | Represent the room name | Mandatory | Client to provide the data |
Rooms:KidsAges: | 11, 7 | Represent the ages of each children, for example "[11, 7]" | Optional | Client to provide the data |
WorkMode: | 1 | Default value "1" | Mandatory | use default value |
LeadPaxRoomId: | 7e6f9032-fe51-4759-b88a-22c5c75a7070 | Default value "7e6f9032-fe51-4759-b88a-22c5c75a7070" | Mandatory | use default value |
WorkMode:Language: | en | Default value "en" (currently only 'en' is supported) | Mandatory | use default value |
As follows a JSON format request for Ratebook API webhook
{
"rqst": {
"Credentials": {
"UserName": "smartbook_api_demo",
"Password": "smartbookapip"
},
"RequestType": 21,
"TypeOfService": 2,
"Request": {
"__type": "HotelSmartBookRequest",
"ClientIP": null,
"HotelId": null,
"GimmonixHotelId": 0,
"SupplierHotel": {
"SupplierId": 1165, // !! This unique parameter needs to be submitted. (1)
"SupplierHotelId": "893195" // !! This unique parameter needs to be submitted. (2)
},
"CheckIn": "/Date(1733561372000)/", // !! This unique parameter needs to be submitted. (3)
"CheckOut": "/Date(1733734172000)/", // !! This unique parameter needs to be submitted. (4)
"Residency": "US",
"Price": {
"BookingPrice": 300, // !! This unique parameter needs to be submitted. (6)
"Currency": "USD", // !! This unique parameter needs to be submitted. (5)
"TotalTax": {
"Amount": 0,
"IsIncluded": false,
"Currency": null
},
"TotalFee": {
"Amount": 0,
"IsIncluded": false,
"Currency": null
}
},
"RefundableUntil": "/Date(1733302172000)/", // !! This unique parameter needs to be submitted. (7)
"Rooms": [
{
"AdultsCount": 2,
"Id": "7e6f9032-fe51-4759-b88a-22c5c75a7070",
"RoomBasis": "Room Only RO", // !! This unique parameter needs to be submitted. (8)
"RoomName": "2 Queen Beds Room", // !! This unique parameter needs to be submitted. (9)
"KidsAges": []
}
],
"WorkMode": 1,
"LeadPaxRoomId": "7e6f9032-fe51-4759-b88a-22c5c75a7070",
"Language": "en"
}
}
}
Data Submission Endpoint | http://services.travolutionary.com/BookingServices/DynamicDataService.svc/json/ServiceRequest |
---|
Do not submit any personal information - keep the passenger data as-is.
Step 5 - Review Results
During and after the POC, you will be able to access a monitoring dashboard that will provide stats on the service performance as well as the profit upside it would've been able to capture.
This will alow you to evaluate the service performance and gain insights into potential profit increase opportunities.
Support: During & After the POC
If you require any assistance, have questions or need clarification, you have two options available:
- Search in our Documentation for the information you need. (Recommended)
- Submit a support ticket to our dedicated support team.
Next steps post POC
As follows the steps to address before going Live:
- Suppliers Live credentials
Client to provide a list of his Live suppliers to be added in Gimmonix platform
Ticketing and Support. - Full API implementation
Client to implement the full API, as the POC only utilizes minimal data submission.
more details in the following article:
Ratebook Implementation Guide. - Go Live !
Client will receive a User to call Live bookings, After completion the above steps.
Updated about 2 months ago