StaticXMLAPI


Click here for a complete list of operations.

BookV3

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userName:
password:
currency:
language:
email:
checkInDate:
checkOutDate:
roomId:
rooms:
adults:
children:
infant:
yourRef:
specialrequest:
mealId:
adultGuest1FirstName:
adultGuest1LastName:
adultGuest2FirstName:
adultGuest2LastName:
adultGuest3FirstName:
adultGuest3LastName:
adultGuest4FirstName:
adultGuest4LastName:
adultGuest5FirstName:
adultGuest5LastName:
adultGuest6FirstName:
adultGuest6LastName:
adultGuest7FirstName:
adultGuest7LastName:
adultGuest8FirstName:
adultGuest8LastName:
adultGuest9FirstName:
adultGuest9LastName:
childrenGuest1FirstName:
childrenGuest1LastName:
childrenGuestAge1:
childrenGuest2FirstName:
childrenGuest2LastName:
childrenGuestAge2:
childrenGuest3FirstName:
childrenGuest3LastName:
childrenGuestAge3:
childrenGuest4FirstName:
childrenGuest4LastName:
childrenGuestAge4:
childrenGuest5FirstName:
childrenGuest5LastName:
childrenGuestAge5:
childrenGuest6FirstName:
childrenGuest6LastName:
childrenGuestAge6:
childrenGuest7FirstName:
childrenGuest7LastName:
childrenGuestAge7:
childrenGuest8FirstName:
childrenGuest8LastName:
childrenGuestAge8:
childrenGuest9FirstName:
childrenGuest9LastName:
childrenGuestAge9:
paymentMethodId:
creditCardType:
creditCardNumber:
creditCardHolder:
creditCardCVV2:
creditCardExpYear:
creditCardExpMonth:
customerEmail:
invoiceRef:
customerCountry:
b2c:
commissionAmountInHotelCurrency:
preBookCode:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /15/PostGet/StaticXMLAPI.asmx HTTP/1.1
Host: xml.sunhotels.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://xml.sunhotels.net/15/BookV3"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <BookV3 xmlns="http://xml.sunhotels.net/15/">
      <userName>string</userName>
      <password>string</password>
      <currency>string</currency>
      <language>string</language>
      <email>string</email>
      <checkInDate>dateTime</checkInDate>
      <checkOutDate>dateTime</checkOutDate>
      <roomId>int</roomId>
      <rooms>int</rooms>
      <adults>int</adults>
      <children>int</children>
      <infant>int</infant>
      <yourRef>string</yourRef>
      <specialrequest>string</specialrequest>
      <mealId>int</mealId>
      <adultGuest1FirstName>string</adultGuest1FirstName>
      <adultGuest1LastName>string</adultGuest1LastName>
      <adultGuest2FirstName>string</adultGuest2FirstName>
      <adultGuest2LastName>string</adultGuest2LastName>
      <adultGuest3FirstName>string</adultGuest3FirstName>
      <adultGuest3LastName>string</adultGuest3LastName>
      <adultGuest4FirstName>string</adultGuest4FirstName>
      <adultGuest4LastName>string</adultGuest4LastName>
      <adultGuest5FirstName>string</adultGuest5FirstName>
      <adultGuest5LastName>string</adultGuest5LastName>
      <adultGuest6FirstName>string</adultGuest6FirstName>
      <adultGuest6LastName>string</adultGuest6LastName>
      <adultGuest7FirstName>string</adultGuest7FirstName>
      <adultGuest7LastName>string</adultGuest7LastName>
      <adultGuest8FirstName>string</adultGuest8FirstName>
      <adultGuest8LastName>string</adultGuest8LastName>
      <adultGuest9FirstName>string</adultGuest9FirstName>
      <adultGuest9LastName>string</adultGuest9LastName>
      <childrenGuest1FirstName>string</childrenGuest1FirstName>
      <childrenGuest1LastName>string</childrenGuest1LastName>
      <childrenGuestAge1>string</childrenGuestAge1>
      <childrenGuest2FirstName>string</childrenGuest2FirstName>
      <childrenGuest2LastName>string</childrenGuest2LastName>
      <childrenGuestAge2>string</childrenGuestAge2>
      <childrenGuest3FirstName>string</childrenGuest3FirstName>
      <childrenGuest3LastName>string</childrenGuest3LastName>
      <childrenGuestAge3>string</childrenGuestAge3>
      <childrenGuest4FirstName>string</childrenGuest4FirstName>
      <childrenGuest4LastName>string</childrenGuest4LastName>
      <childrenGuestAge4>string</childrenGuestAge4>
      <childrenGuest5FirstName>string</childrenGuest5FirstName>
      <childrenGuest5LastName>string</childrenGuest5LastName>
      <childrenGuestAge5>string</childrenGuestAge5>
      <childrenGuest6FirstName>string</childrenGuest6FirstName>
      <childrenGuest6LastName>string</childrenGuest6LastName>
      <childrenGuestAge6>string</childrenGuestAge6>
      <childrenGuest7FirstName>string</childrenGuest7FirstName>
      <childrenGuest7LastName>string</childrenGuest7LastName>
      <childrenGuestAge7>string</childrenGuestAge7>
      <childrenGuest8FirstName>string</childrenGuest8FirstName>
      <childrenGuest8LastName>string</childrenGuest8LastName>
      <childrenGuestAge8>string</childrenGuestAge8>
      <childrenGuest9FirstName>string</childrenGuest9FirstName>
      <childrenGuest9LastName>string</childrenGuest9LastName>
      <childrenGuestAge9>string</childrenGuestAge9>
      <paymentMethodId>int</paymentMethodId>
      <creditCardType>string</creditCardType>
      <creditCardNumber>string</creditCardNumber>
      <creditCardHolder>string</creditCardHolder>
      <creditCardCVV2>string</creditCardCVV2>
      <creditCardExpYear>string</creditCardExpYear>
      <creditCardExpMonth>string</creditCardExpMonth>
      <customerEmail>string</customerEmail>
      <invoiceRef>string</invoiceRef>
      <customerCountry>string</customerCountry>
      <b2c>string</b2c>
      <commissionAmountInHotelCurrency>string</commissionAmountInHotelCurrency>
      <preBookCode>string</preBookCode>
    </BookV3>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <BookV3Response xmlns="http://xml.sunhotels.net/15/">
      <bookResult>
        <booking>
          <bookingnumber>string</bookingnumber>
          <hotel.id>int</hotel.id>
          <hotel.name>string</hotel.name>
          <hotel.address>string</hotel.address>
          <hotel.phone>string</hotel.phone>
          <numberofrooms>string</numberofrooms>
          <room.type>string</room.type>
          <room.englishType>string</room.englishType>
          <mealId>int</mealId>
          <meal>string</meal>
          <mealLabel>string</mealLabel>
          <englishMeal>string</englishMeal>
          <englishMealLabel>string</englishMealLabel>
          <adultGuests>
            <adultGuest xsi:nil="true" />
            <adultGuest xsi:nil="true" />
          </adultGuests>
          <childrenGuests>
            <childGuest xsi:nil="true" />
            <childGuest xsi:nil="true" />
          </childrenGuests>
          <checkindate>dateTime</checkindate>
          <checkoutdate>dateTime</checkoutdate>
          <prices>
            <price xsi:nil="true" />
            <price xsi:nil="true" />
          </prices>
          <currency>string</currency>
          <bookingdate>dateTime</bookingdate>
          <bookingdate.timezone>string</bookingdate.timezone>
          <cancellationpolicies>
            <text>string</text>
          </cancellationpolicies>
          <cancellationpolicies>
            <text>string</text>
          </cancellationpolicies>
          <earliestNonFreeCancellationDate.CET>dateTime</earliestNonFreeCancellationDate.CET>
          <earliestNonFreeCancellationDate.Local>dateTime</earliestNonFreeCancellationDate.Local>
          <yourref>string</yourref>
          <voucher>string</voucher>
          <bookedBy>string</bookedBy>
          <transferbooked>int</transferbooked>
          <paymentmethod id="int" name="string">
            <property xsi:nil="true" />
            <property xsi:nil="true" />
          </paymentmethod>
          <hotelNotes>
            <hotelNote xsi:nil="true" />
            <hotelNote xsi:nil="true" />
          </hotelNotes>
          <englishHotelNotes>
            <englishHotelNote xsi:nil="true" />
            <englishHotelNote xsi:nil="true" />
          </englishHotelNotes>
          <roomNotes>
            <roomNote xsi:nil="true" />
            <roomNote xsi:nil="true" />
          </roomNotes>
          <englishRoomNotes>
            <englishRoomNote xsi:nil="true" />
            <englishRoomNote xsi:nil="true" />
          </englishRoomNotes>
          <invoiceref>string</invoiceref>
        </booking>
      </bookResult>
    </BookV3Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /15/PostGet/StaticXMLAPI.asmx HTTP/1.1
Host: xml.sunhotels.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <BookV3 xmlns="http://xml.sunhotels.net/15/">
      <userName>string</userName>
      <password>string</password>
      <currency>string</currency>
      <language>string</language>
      <email>string</email>
      <checkInDate>dateTime</checkInDate>
      <checkOutDate>dateTime</checkOutDate>
      <roomId>int</roomId>
      <rooms>int</rooms>
      <adults>int</adults>
      <children>int</children>
      <infant>int</infant>
      <yourRef>string</yourRef>
      <specialrequest>string</specialrequest>
      <mealId>int</mealId>
      <adultGuest1FirstName>string</adultGuest1FirstName>
      <adultGuest1LastName>string</adultGuest1LastName>
      <adultGuest2FirstName>string</adultGuest2FirstName>
      <adultGuest2LastName>string</adultGuest2LastName>
      <adultGuest3FirstName>string</adultGuest3FirstName>
      <adultGuest3LastName>string</adultGuest3LastName>
      <adultGuest4FirstName>string</adultGuest4FirstName>
      <adultGuest4LastName>string</adultGuest4LastName>
      <adultGuest5FirstName>string</adultGuest5FirstName>
      <adultGuest5LastName>string</adultGuest5LastName>
      <adultGuest6FirstName>string</adultGuest6FirstName>
      <adultGuest6LastName>string</adultGuest6LastName>
      <adultGuest7FirstName>string</adultGuest7FirstName>
      <adultGuest7LastName>string</adultGuest7LastName>
      <adultGuest8FirstName>string</adultGuest8FirstName>
      <adultGuest8LastName>string</adultGuest8LastName>
      <adultGuest9FirstName>string</adultGuest9FirstName>
      <adultGuest9LastName>string</adultGuest9LastName>
      <childrenGuest1FirstName>string</childrenGuest1FirstName>
      <childrenGuest1LastName>string</childrenGuest1LastName>
      <childrenGuestAge1>string</childrenGuestAge1>
      <childrenGuest2FirstName>string</childrenGuest2FirstName>
      <childrenGuest2LastName>string</childrenGuest2LastName>
      <childrenGuestAge2>string</childrenGuestAge2>
      <childrenGuest3FirstName>string</childrenGuest3FirstName>
      <childrenGuest3LastName>string</childrenGuest3LastName>
      <childrenGuestAge3>string</childrenGuestAge3>
      <childrenGuest4FirstName>string</childrenGuest4FirstName>
      <childrenGuest4LastName>string</childrenGuest4LastName>
      <childrenGuestAge4>string</childrenGuestAge4>
      <childrenGuest5FirstName>string</childrenGuest5FirstName>
      <childrenGuest5LastName>string</childrenGuest5LastName>
      <childrenGuestAge5>string</childrenGuestAge5>
      <childrenGuest6FirstName>string</childrenGuest6FirstName>
      <childrenGuest6LastName>string</childrenGuest6LastName>
      <childrenGuestAge6>string</childrenGuestAge6>
      <childrenGuest7FirstName>string</childrenGuest7FirstName>
      <childrenGuest7LastName>string</childrenGuest7LastName>
      <childrenGuestAge7>string</childrenGuestAge7>
      <childrenGuest8FirstName>string</childrenGuest8FirstName>
      <childrenGuest8LastName>string</childrenGuest8LastName>
      <childrenGuestAge8>string</childrenGuestAge8>
      <childrenGuest9FirstName>string</childrenGuest9FirstName>
      <childrenGuest9LastName>string</childrenGuest9LastName>
      <childrenGuestAge9>string</childrenGuestAge9>
      <paymentMethodId>int</paymentMethodId>
      <creditCardType>string</creditCardType>
      <creditCardNumber>string</creditCardNumber>
      <creditCardHolder>string</creditCardHolder>
      <creditCardCVV2>string</creditCardCVV2>
      <creditCardExpYear>string</creditCardExpYear>
      <creditCardExpMonth>string</creditCardExpMonth>
      <customerEmail>string</customerEmail>
      <invoiceRef>string</invoiceRef>
      <customerCountry>string</customerCountry>
      <b2c>string</b2c>
      <commissionAmountInHotelCurrency>string</commissionAmountInHotelCurrency>
      <preBookCode>string</preBookCode>
    </BookV3>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <BookV3Response xmlns="http://xml.sunhotels.net/15/">
      <bookResult>
        <booking>
          <bookingnumber>string</bookingnumber>
          <hotel.id>int</hotel.id>
          <hotel.name>string</hotel.name>
          <hotel.address>string</hotel.address>
          <hotel.phone>string</hotel.phone>
          <numberofrooms>string</numberofrooms>
          <room.type>string</room.type>
          <room.englishType>string</room.englishType>
          <mealId>int</mealId>
          <meal>string</meal>
          <mealLabel>string</mealLabel>
          <englishMeal>string</englishMeal>
          <englishMealLabel>string</englishMealLabel>
          <adultGuests>
            <adultGuest xsi:nil="true" />
            <adultGuest xsi:nil="true" />
          </adultGuests>
          <childrenGuests>
            <childGuest xsi:nil="true" />
            <childGuest xsi:nil="true" />
          </childrenGuests>
          <checkindate>dateTime</checkindate>
          <checkoutdate>dateTime</checkoutdate>
          <prices>
            <price xsi:nil="true" />
            <price xsi:nil="true" />
          </prices>
          <currency>string</currency>
          <bookingdate>dateTime</bookingdate>
          <bookingdate.timezone>string</bookingdate.timezone>
          <cancellationpolicies>
            <text>string</text>
          </cancellationpolicies>
          <cancellationpolicies>
            <text>string</text>
          </cancellationpolicies>
          <earliestNonFreeCancellationDate.CET>dateTime</earliestNonFreeCancellationDate.CET>
          <earliestNonFreeCancellationDate.Local>dateTime</earliestNonFreeCancellationDate.Local>
          <yourref>string</yourref>
          <voucher>string</voucher>
          <bookedBy>string</bookedBy>
          <transferbooked>int</transferbooked>
          <paymentmethod id="int" name="string">
            <property xsi:nil="true" />
            <property xsi:nil="true" />
          </paymentmethod>
          <hotelNotes>
            <hotelNote xsi:nil="true" />
            <hotelNote xsi:nil="true" />
          </hotelNotes>
          <englishHotelNotes>
            <englishHotelNote xsi:nil="true" />
            <englishHotelNote xsi:nil="true" />
          </englishHotelNotes>
          <roomNotes>
            <roomNote xsi:nil="true" />
            <roomNote xsi:nil="true" />
          </roomNotes>
          <englishRoomNotes>
            <englishRoomNote xsi:nil="true" />
            <englishRoomNote xsi:nil="true" />
          </englishRoomNotes>
          <invoiceref>string</invoiceref>
        </booking>
      </bookResult>
    </BookV3Response>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /15/PostGet/StaticXMLAPI.asmx/BookV3?userName=string&password=string&currency=string&language=string&email=string&checkInDate=string&checkOutDate=string&roomId=string&rooms=string&adults=string&children=string&infant=string&yourRef=string&specialrequest=string&mealId=string&adultGuest1FirstName=string&adultGuest1LastName=string&adultGuest2FirstName=string&adultGuest2LastName=string&adultGuest3FirstName=string&adultGuest3LastName=string&adultGuest4FirstName=string&adultGuest4LastName=string&adultGuest5FirstName=string&adultGuest5LastName=string&adultGuest6FirstName=string&adultGuest6LastName=string&adultGuest7FirstName=string&adultGuest7LastName=string&adultGuest8FirstName=string&adultGuest8LastName=string&adultGuest9FirstName=string&adultGuest9LastName=string&childrenGuest1FirstName=string&childrenGuest1LastName=string&childrenGuestAge1=string&childrenGuest2FirstName=string&childrenGuest2LastName=string&childrenGuestAge2=string&childrenGuest3FirstName=string&childrenGuest3LastName=string&childrenGuestAge3=string&childrenGuest4FirstName=string&childrenGuest4LastName=string&childrenGuestAge4=string&childrenGuest5FirstName=string&childrenGuest5LastName=string&childrenGuestAge5=string&childrenGuest6FirstName=string&childrenGuest6LastName=string&childrenGuestAge6=string&childrenGuest7FirstName=string&childrenGuest7LastName=string&childrenGuestAge7=string&childrenGuest8FirstName=string&childrenGuest8LastName=string&childrenGuestAge8=string&childrenGuest9FirstName=string&childrenGuest9LastName=string&childrenGuestAge9=string&paymentMethodId=string&creditCardType=string&creditCardNumber=string&creditCardHolder=string&creditCardCVV2=string&creditCardExpYear=string&creditCardExpMonth=string&customerEmail=string&invoiceRef=string&customerCountry=string&b2c=string&commissionAmountInHotelCurrency=string&preBookCode=string HTTP/1.1
Host: xml.sunhotels.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<bookResult xmlns="http://xml.sunhotels.net/15/">
  <booking>
    <bookingnumber>string</bookingnumber>
    <hotel.id>int</hotel.id>
    <hotel.name>string</hotel.name>
    <hotel.address>string</hotel.address>
    <hotel.phone>string</hotel.phone>
    <numberofrooms>string</numberofrooms>
    <room.type>string</room.type>
    <room.englishType>string</room.englishType>
    <mealId>int</mealId>
    <meal>string</meal>
    <mealLabel>string</mealLabel>
    <englishMeal>string</englishMeal>
    <englishMealLabel>string</englishMealLabel>
    <adultGuests>
      <adultGuest />
      <adultGuest />
    </adultGuests>
    <childrenGuests>
      <childGuest />
      <childGuest />
    </childrenGuests>
    <checkindate>dateTime</checkindate>
    <checkoutdate>dateTime</checkoutdate>
    <prices>
      <price />
      <price />
    </prices>
    <currency>string</currency>
    <bookingdate>dateTime</bookingdate>
    <bookingdate.timezone>string</bookingdate.timezone>
    <cancellationpolicies>
      <text>string</text>
    </cancellationpolicies>
    <cancellationpolicies>
      <text>string</text>
    </cancellationpolicies>
    <earliestNonFreeCancellationDate.CET>dateTime</earliestNonFreeCancellationDate.CET>
    <earliestNonFreeCancellationDate.Local>dateTime</earliestNonFreeCancellationDate.Local>
    <yourref>string</yourref>
    <voucher>string</voucher>
    <bookedBy>string</bookedBy>
    <transferbooked>int</transferbooked>
    <paymentmethod id="int" name="string">
      <property key="string" value="string" />
      <property key="string" value="string" />
    </paymentmethod>
    <hotelNotes>
      <hotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </hotelNote>
      <hotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </hotelNote>
    </hotelNotes>
    <englishHotelNotes>
      <englishHotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishHotelNote>
      <englishHotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishHotelNote>
    </englishHotelNotes>
    <roomNotes>
      <roomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </roomNote>
      <roomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </roomNote>
    </roomNotes>
    <englishRoomNotes>
      <englishRoomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishRoomNote>
      <englishRoomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishRoomNote>
    </englishRoomNotes>
    <invoiceref>string</invoiceref>
  </booking>
</bookResult>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /15/PostGet/StaticXMLAPI.asmx/BookV3 HTTP/1.1
Host: xml.sunhotels.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userName=string&password=string&currency=string&language=string&email=string&checkInDate=string&checkOutDate=string&roomId=string&rooms=string&adults=string&children=string&infant=string&yourRef=string&specialrequest=string&mealId=string&adultGuest1FirstName=string&adultGuest1LastName=string&adultGuest2FirstName=string&adultGuest2LastName=string&adultGuest3FirstName=string&adultGuest3LastName=string&adultGuest4FirstName=string&adultGuest4LastName=string&adultGuest5FirstName=string&adultGuest5LastName=string&adultGuest6FirstName=string&adultGuest6LastName=string&adultGuest7FirstName=string&adultGuest7LastName=string&adultGuest8FirstName=string&adultGuest8LastName=string&adultGuest9FirstName=string&adultGuest9LastName=string&childrenGuest1FirstName=string&childrenGuest1LastName=string&childrenGuestAge1=string&childrenGuest2FirstName=string&childrenGuest2LastName=string&childrenGuestAge2=string&childrenGuest3FirstName=string&childrenGuest3LastName=string&childrenGuestAge3=string&childrenGuest4FirstName=string&childrenGuest4LastName=string&childrenGuestAge4=string&childrenGuest5FirstName=string&childrenGuest5LastName=string&childrenGuestAge5=string&childrenGuest6FirstName=string&childrenGuest6LastName=string&childrenGuestAge6=string&childrenGuest7FirstName=string&childrenGuest7LastName=string&childrenGuestAge7=string&childrenGuest8FirstName=string&childrenGuest8LastName=string&childrenGuestAge8=string&childrenGuest9FirstName=string&childrenGuest9LastName=string&childrenGuestAge9=string&paymentMethodId=string&creditCardType=string&creditCardNumber=string&creditCardHolder=string&creditCardCVV2=string&creditCardExpYear=string&creditCardExpMonth=string&customerEmail=string&invoiceRef=string&customerCountry=string&b2c=string&commissionAmountInHotelCurrency=string&preBookCode=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<bookResult xmlns="http://xml.sunhotels.net/15/">
  <booking>
    <bookingnumber>string</bookingnumber>
    <hotel.id>int</hotel.id>
    <hotel.name>string</hotel.name>
    <hotel.address>string</hotel.address>
    <hotel.phone>string</hotel.phone>
    <numberofrooms>string</numberofrooms>
    <room.type>string</room.type>
    <room.englishType>string</room.englishType>
    <mealId>int</mealId>
    <meal>string</meal>
    <mealLabel>string</mealLabel>
    <englishMeal>string</englishMeal>
    <englishMealLabel>string</englishMealLabel>
    <adultGuests>
      <adultGuest />
      <adultGuest />
    </adultGuests>
    <childrenGuests>
      <childGuest />
      <childGuest />
    </childrenGuests>
    <checkindate>dateTime</checkindate>
    <checkoutdate>dateTime</checkoutdate>
    <prices>
      <price />
      <price />
    </prices>
    <currency>string</currency>
    <bookingdate>dateTime</bookingdate>
    <bookingdate.timezone>string</bookingdate.timezone>
    <cancellationpolicies>
      <text>string</text>
    </cancellationpolicies>
    <cancellationpolicies>
      <text>string</text>
    </cancellationpolicies>
    <earliestNonFreeCancellationDate.CET>dateTime</earliestNonFreeCancellationDate.CET>
    <earliestNonFreeCancellationDate.Local>dateTime</earliestNonFreeCancellationDate.Local>
    <yourref>string</yourref>
    <voucher>string</voucher>
    <bookedBy>string</bookedBy>
    <transferbooked>int</transferbooked>
    <paymentmethod id="int" name="string">
      <property key="string" value="string" />
      <property key="string" value="string" />
    </paymentmethod>
    <hotelNotes>
      <hotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </hotelNote>
      <hotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </hotelNote>
    </hotelNotes>
    <englishHotelNotes>
      <englishHotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishHotelNote>
      <englishHotelNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishHotelNote>
    </englishHotelNotes>
    <roomNotes>
      <roomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </roomNote>
      <roomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </roomNote>
    </roomNotes>
    <englishRoomNotes>
      <englishRoomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishRoomNote>
      <englishRoomNote start_date="dateTime" end_date="dateTime">
        <text>string</text>
      </englishRoomNote>
    </englishRoomNotes>
    <invoiceref>string</invoiceref>
  </booking>
</bookResult>