SunHotels

SunHotels XML API

Brief

This folder contains links and documentation for the SunHotels XMLAPI used to query and book the Sunhotels inventory.

Static vs. non static

The XMLAPI is available in both static and non-static versions.

It is highly recommended to use the non-static versions where the response times are faster and the amount of transferred data is limited.
The static information files required with the non-static functions are available for download with the DownloadExport function in the XMLAPI.

XMLAPI Links

Version 14

Version 14 of the XMLAPI is available for both SOAP and POST/GET requests.

SOAP

http://xml.sunhotels.net/14/SOAP/NonStaticXMLAPI.asmx
http://xml.sunhotels.net/14/SOAP/StaticXMLAPI.asmx

Search/book with Market and B2C parameters
http://xml.sunhotels.net/14/SOAP/NonStaticMarketSearch.asmx
http://xml.sunhotels.net/14/SOAP/StaticMarketSearch.asmx

POST/GET

http://xml.sunhotels.net/14/PostGet/NonStaticXMLAPI.asmx
http://xml.sunhotels.net/14/PostGet/StaticXMLAPI.asmx

Search/book with Market and B2C parameters
http://xml.sunhotels.net/14/PostGet/NonStaticMarketSearch.asmx
http://xml.sunhotels.net/14/PostGet/StaticMarketSearch.asmx

DOCUMENTATION

XML spec SunHotels v14.pdf

C# CODE EXAMPLES

CSharpExamples.zip