PilotFish Interface Exchange (PIE)

A marketplace for eiConsole (IDE) interface templates, components and industry bundles
eiConsole IDE 90-Day Free Trial!
Offered by
Associated Industry
travel
Prerequisites
The eiConsole IDE is highly recommended to support graphical development of interfaces for deployment to the eiPlatform runtime The eiPlatform is required to run in production interfaces configured using the eiConsole
Version
1.0
Release Date
March 28, 2012
Resource Type
Interface

Product details

Expedia Request Hotels List Interface And Tutorial

Expedia.com is one of the most popular travel web sites on the Internet. It also has localized sites for 21 conuntries. Expedia Affiliate Network Hotel API can provide you with information and availability for over 95,000 hotels and vacation rentals worldwide. Hotel API of the version 3 offers a wide variety of parameters that can target or filter a search for the most relevant list of available hotels.

Expedia Affiliate Network Hotel API

Expedia Affiliate Network Hotel API Version 3 is the latest and the most modern version of the EAN API. It supports 4 different protocols of collaboration – XML, JSON, REST and SOAP, so the user can shoes whatever is convenient for specific integration situation. In this interface we used SOAP-based approach.

The Hotel API allows performing the following operations:

  • Request Hotel List
  • Request Hotel Information
  • Location Geo Functions
  • Request Hotel Rooms
  • Request Rate Rules
  • Request Payment Types
  • Book a Reservation
  • Request Itinerary Record
  • Cancel a Reservation

In this interface we request the hotels list from the EAN. You can read more about the EAN API at http://developer.ean.com/docs/read/hotels/Version_3.

Interface Definition

The create interface gets the data from the file on the hard drive. This file is defined in the custom XML (you can find it in attachments). This custom XML is transformet to the appropriate EAN request XML. Then the data get wrapped to SOAP anvelope and sent to the EAN web service. And after getting the response interface transforms data to the HTML file and sends it via email.The error handling is on place too - if we get the response from EAN that contains an error, it is reported via email. If error is happened during interface execution, it also caught and sent to the same email.

Environment Settings

This interface depends on a set of environemnt settings that need to be defined before actually using it. Here's the list of the settings that need to be defined:

  • Input_Xml_File_Name
  • Input_Xml_File_Path
  • Mail_Error_From_Mail_Field
  • Mail_Error_Server_Name
  • Mail_Error_Server_Password
  • Mail_Error_Server_Port
  • Mail_Error_Server_User
  • Mail_Error_To_Mail_Field
  • Mail_Response_From_Mail_Field
  • Mail_Response_Server_Name
  • Mail_Response_Server_Password
  • Mail_Response_Server_Port
  • Mail_Response_Server_User
  • Mail_Response_To_Mail_Field
  • Processed_Xml_Files_Path

See attached tutorial to get more details on how to set environment settings in your interface.

Release Details

This is the initial release of the Expedia Hotels Integration Interface Template.