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 :

Example of populated Dash after successful Partners POC (Over month)

Dashboard sample after successful POC

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:

  1. The Hotel : SupplierId along with the Supplier HotelId.
  2. The Room: Room name (with room ID if available) and the room's meal plan.
  3. Pricing and policy: Your intended buy price, currency and refundability.
  4. 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:

FieldValueDescriptionMandatoryNotes
Credentials:UserName:YourUserNameCredentials will be sent by email upon requestMandatory
Credentials:Password:YourPasswordCredentials will be sent by email upon requestMandatory
RequestType:21Default value "21"Mandatoryuse default value
TypeOfService:2Default value "2"Mandatoryuse default value
type:"HotelSmartBookRequest"Default value "HotelSmartBookRequest"Mandatoryuse default value
ClientIP:nullDefault value "null"nulluse default value
HotelId:nullDefault value "null"nulluse default value
GimmonixHotelId:0Default value "0"Optionaluse default value
SupplierHotel:SupplierId:1165example for Expedia Supplier ID, more details see under "Step 2 - How to identify Hotels?"MandatoryClient to provide the data
SupplierHotel:SupplierHotelId:893195example for an Hotel ID, more details see under "Step 2 - How to identify Hotels?"MandatoryClient to provide the data
CheckIn:/Date(1733561372000)/,DateTime format in EPOC version (milliseconds version) (link to EPOC converter: https://www.epochconverter.com/)MandatoryClient to provide the data
CheckOut:/Date(1733561372000)/,DateTime format in EPOC version (milliseconds version) (link to EPOC converter: https://www.epochconverter.com/)MandatoryClient to provide the data
Residency:USDefault value "US"MandatoryClient to provide the data
Price:BookingPrice:300The Booking price as you would pay to the supplier (your buying price)MandatoryClient to provide the data
Price:Currency:USDThe Booking currency as you would pay to the supplierMandatoryClient to provide the data
RefundableUntil:/Date(1733302172000)/,DateTime format in EPOC version (link to EPOC converter: https://www.epochconverter.com/)MandatoryClient to provide the data
Rooms:AdultsCount:2Default value "2"Mandatoryuse default value
Rooms:Id:7e6f9032-fe51-4759-b88a-22c5c75a7070Default value "7e6f9032-fe51-4759-b88a-22c5c75a7070"Mandatoryuse default value
Rooms:RoomBasis:Room OnlyRepresent the room basis, for exampleMandatoryClient to provide the data
Rooms:RoomName:2 Queen Beds Room,Represent the room nameMandatoryClient to provide the data
Rooms:KidsAges:11, 7Represent the ages of each children, for example "[11, 7]"OptionalClient to provide the data
WorkMode:1Default value "1"Mandatoryuse default value
LeadPaxRoomId:7e6f9032-fe51-4759-b88a-22c5c75a7070Default value "7e6f9032-fe51-4759-b88a-22c5c75a7070"Mandatoryuse default value
WorkMode:Language:enDefault value "en" (currently only 'en' is supported)Mandatoryuse 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"
		}
	}
}

ℹ️

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.

Request & Total Gain - Overtime ('Evaluation')

Request & Total Gain - Overtime ('Evaluation')

Support: During & After the POC

If you require any assistance, have questions or need clarification, you have two options available:

  1. Search in our Documentation for the information you need. (Recommended)
  2. 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.