XML

How do we provide offer the data?
  1. A complete offer of all products with available dates and prices
  2. Product description and photo list
  3. Photos

Splitted XML files

The complete offer of all products is divided into many XML files. Each file contains a different set of offers depending
on the type of offer. To distinguish the offers that each XML file contains, each file has code for a
given type of offer in the file name.



The offer example

Example URL’s: https://content4travel.com/{unique_key}/library/offer_list/VITX_Offer.zip

  1. The XML files are in a compressed ZIP archive format.
  2. The content of XML files is data with the basic characteristics of products (transport, accommodation, meals) including all available dates and prices.
  3.  As all tours compressed into one feed increase significantly in size and can cause processing problems, we have prepared separate feeds (with the same structure) for each type of tour.


Description of the ‘priceList’ node

‘priceList’ node is the root node of the XML document. It contains one attribute, ‘generationDate’ that contains creation time of the offer.



Description of the 'trip' node
  • tourOperator – tour operator code
  • offerType - type of offer where accepted values are:
    • OfferFlightHotel  offer that includes accommodation and air transport
    • OfferBusHotel  offer that includes accommodation and coach transport
    • OfferTrainHotel  offer that includes accommodation and rail transport
    • OfferHotel  offer containing accommodation private transport
    • OfferFlight  offer for a separate ticket, we distinguish a one-way ticket (OfferFlightOut) and a return ticket (OfferFlightOutIn)
    • OfferFlightHotelHotel  offer for combining accommodation and air travel on a sightseeing route
  • offerSalesStatus - sale status in a given offer we distinguish the following statuses:
    • CanSale = regular sale
    • onRequest = for request
  • date logical date of the beginning of the trip
  • period duration of the trip in days
  • catalog code of the catalog
  • promotionPrice  determines if the offer is with a promotion price (‘true’ or ‘false’)
  • season  code of the season



If you need access to demo XML files, please contact us using the contact form below and in response you will receive information about integration via XML data files.

Register for free API key