Xml Feed for Affilates

Only available on StudyMode
  • Download(s) : 348
  • Published : January 4, 2011
Open Document
Text Preview
Table of Contents

1Introduction2
2Overview2
3Static Data File2
4Request & Response2
4.1Request2
4.2Response3
5Operations3
5.1Region List (rtype=1)4
5.2Region List (rtype=2)4
5.3Hotel Details (rtype=3)5
5.4Keyword Search (rtype=4)6
5.5Region Search (rtype=5)7
5.6Geo Search (rtype=6)8
5.7Availability and Rates (rtype=7)8
5.8Special Offers List (rtype=8)9
5.9Special Offers (rtype=9)9
5.10Currency List (rtype=10)10
5.11Facilities List (rtype=11)10
6Affiliate Filters10

Introduction

We have made some changes to the way our affiliate XML feeds work.

Overview

There is a single point of access to LateRooms XML Feeds. This is http://xmlfeed.laterooms.com/index.aspx

This document describes how XML Feeds can be consumed using this page.

Static Data File

We provide an XML file containing the static data for all our live hotels. This can be found at http://xmlfeed.laterooms.com/staticdata/hotels_standard.zip.

This used in conjunction with our Rates and Availability feed (rtype=7) will provide all the information needed to integrate with Laterooms.

Request & Response

The types of requests currently catered for are:
1. Region List
2. Town List
3. Hotel Details
4. Keyword Search
5. Region Search
6. Geo Search

1 Request

All requests require that a common set of parameters are provided within the URL, i.e. via Query String. These are the first parameters provided in order to identify the remaining portion of the URL and how it is treated. When no parameters are passed, the response looks like the following:

Affiliate ID (aid) is not specified; it is a mandatory parameter Request Type (rtype) is not specified; it is a mandatory parameter. set rtype=1 for RegionList, rtype=2 for TownList, rtype=3 for HotelDetails, rtype=4 for KeywordSearch, rtype=5 for RegionSearch, rtype=6 for GeoSearch  

The following parameters are available.

|Param |Name |Mandatory |Type |Range |Description | |rtype |Request Type |Yes |Numeric |1 – 6 |Type of response requested. | | | | | | |Region List | | | | | | |Town List | | | | | | |Hotel Details | | | | | | |Keyword Search | | | | | | |Region Search | | | | | | |Geo Search | |lang |Language |No |Special |Special |Two character language identifier. Accepts the | | | | | | |following values: | | | | | | |en - English | | | | | | |fr - French | | | | | | |de - German | | | | | | |it - Italian | | |...
tracking img