Hotel


Click here for a complete list of operations.

GetHotelExtraItemList

Test

The test form is only available for requests from the local machine.

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 /sws/Hotel.asmx HTTP/1.1
Host: partners.teddykam.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.sansejour.com/GetHotelExtraItemList"

<?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>
    <GetHotelExtraItemList xmlns="http://www.sansejour.com/">
      <token>string</token>
      <parameters>
        <HotelCode>string</HotelCode>
        <RegionCode>string</RegionCode>
        <ExtraBeginDate1>dateTime</ExtraBeginDate1>
        <ExtraBeginDate2>dateTime</ExtraBeginDate2>
        <ExtraEndDate1>dateTime</ExtraEndDate1>
        <ExtraEndDate2>dateTime</ExtraEndDate2>
        <ExtraSaleBeginDate1>dateTime</ExtraSaleBeginDate1>
        <ExtraSaleBeginDate2>dateTime</ExtraSaleBeginDate2>
        <ExtraSaleEndDate1>dateTime</ExtraSaleEndDate1>
        <ExtraSaleEndDate2>dateTime</ExtraSaleEndDate2>
        <CreateDate1>dateTime</CreateDate1>
        <CreateDate2>dateTime</CreateDate2>
        <ChangeDate1>dateTime</ChangeDate1>
        <ChangeDate2>dateTime</ChangeDate2>
      </parameters>
    </GetHotelExtraItemList>
  </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>
    <GetHotelExtraItemListResponse xmlns="http://www.sansejour.com/">
      <GetHotelExtraItemListResult>
        <HotelExtraItem>
          <RecordID>int</RecordID>
          <TourOperatorCode>string</TourOperatorCode>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <Code>string</Code>
          <CodeDescription>string</CodeDescription>
          <SpecialCode>string</SpecialCode>
          <Currency>string</Currency>
          <AdultPrice>double</AdultPrice>
          <ChildAge1From>int</ChildAge1From>
          <ChildAge1To>int</ChildAge1To>
          <Child1Price>double</Child1Price>
          <FirstChild1Free>string</FirstChild1Free>
          <ChildAge2From>int</ChildAge2From>
          <ChildAge2To>int</ChildAge2To>
          <Child2Price>double</Child2Price>
          <InfantAgeFrom>int</InfantAgeFrom>
          <InfantAgeTo>int</InfantAgeTo>
          <InfantPrice>double</InfantPrice>
          <FirstInfantFree>string</FirstInfantFree>
          <PriceTypeCode>string</PriceTypeCode>
          <PriceTypeName>string</PriceTypeName>
          <TypeCode>string</TypeCode>
          <TypeName>string</TypeName>
          <ApplyEarlyBooking>string</ApplyEarlyBooking>
          <ApplyDayPromotion>string</ApplyDayPromotion>
          <ApplyKickback>string</ApplyKickback>
          <ContractExtra>string</ContractExtra>
          <MinimumStay>int</MinimumStay>
          <ApplySpoNo>int</ApplySpoNo>
          <NotValidAfterEndDate>string</NotValidAfterEndDate>
          <SpecialCodeSource>int</SpecialCodeSource>
          <Free>string</Free>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
        </HotelExtraItem>
        <HotelExtraItem>
          <RecordID>int</RecordID>
          <TourOperatorCode>string</TourOperatorCode>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <Code>string</Code>
          <CodeDescription>string</CodeDescription>
          <SpecialCode>string</SpecialCode>
          <Currency>string</Currency>
          <AdultPrice>double</AdultPrice>
          <ChildAge1From>int</ChildAge1From>
          <ChildAge1To>int</ChildAge1To>
          <Child1Price>double</Child1Price>
          <FirstChild1Free>string</FirstChild1Free>
          <ChildAge2From>int</ChildAge2From>
          <ChildAge2To>int</ChildAge2To>
          <Child2Price>double</Child2Price>
          <InfantAgeFrom>int</InfantAgeFrom>
          <InfantAgeTo>int</InfantAgeTo>
          <InfantPrice>double</InfantPrice>
          <FirstInfantFree>string</FirstInfantFree>
          <PriceTypeCode>string</PriceTypeCode>
          <PriceTypeName>string</PriceTypeName>
          <TypeCode>string</TypeCode>
          <TypeName>string</TypeName>
          <ApplyEarlyBooking>string</ApplyEarlyBooking>
          <ApplyDayPromotion>string</ApplyDayPromotion>
          <ApplyKickback>string</ApplyKickback>
          <ContractExtra>string</ContractExtra>
          <MinimumStay>int</MinimumStay>
          <ApplySpoNo>int</ApplySpoNo>
          <NotValidAfterEndDate>string</NotValidAfterEndDate>
          <SpecialCodeSource>int</SpecialCodeSource>
          <Free>string</Free>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
        </HotelExtraItem>
      </GetHotelExtraItemListResult>
    </GetHotelExtraItemListResponse>
  </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 /sws/Hotel.asmx HTTP/1.1
Host: partners.teddykam.com
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>
    <GetHotelExtraItemList xmlns="http://www.sansejour.com/">
      <token>string</token>
      <parameters>
        <HotelCode>string</HotelCode>
        <RegionCode>string</RegionCode>
        <ExtraBeginDate1>dateTime</ExtraBeginDate1>
        <ExtraBeginDate2>dateTime</ExtraBeginDate2>
        <ExtraEndDate1>dateTime</ExtraEndDate1>
        <ExtraEndDate2>dateTime</ExtraEndDate2>
        <ExtraSaleBeginDate1>dateTime</ExtraSaleBeginDate1>
        <ExtraSaleBeginDate2>dateTime</ExtraSaleBeginDate2>
        <ExtraSaleEndDate1>dateTime</ExtraSaleEndDate1>
        <ExtraSaleEndDate2>dateTime</ExtraSaleEndDate2>
        <CreateDate1>dateTime</CreateDate1>
        <CreateDate2>dateTime</CreateDate2>
        <ChangeDate1>dateTime</ChangeDate1>
        <ChangeDate2>dateTime</ChangeDate2>
      </parameters>
    </GetHotelExtraItemList>
  </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>
    <GetHotelExtraItemListResponse xmlns="http://www.sansejour.com/">
      <GetHotelExtraItemListResult>
        <HotelExtraItem>
          <RecordID>int</RecordID>
          <TourOperatorCode>string</TourOperatorCode>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <Code>string</Code>
          <CodeDescription>string</CodeDescription>
          <SpecialCode>string</SpecialCode>
          <Currency>string</Currency>
          <AdultPrice>double</AdultPrice>
          <ChildAge1From>int</ChildAge1From>
          <ChildAge1To>int</ChildAge1To>
          <Child1Price>double</Child1Price>
          <FirstChild1Free>string</FirstChild1Free>
          <ChildAge2From>int</ChildAge2From>
          <ChildAge2To>int</ChildAge2To>
          <Child2Price>double</Child2Price>
          <InfantAgeFrom>int</InfantAgeFrom>
          <InfantAgeTo>int</InfantAgeTo>
          <InfantPrice>double</InfantPrice>
          <FirstInfantFree>string</FirstInfantFree>
          <PriceTypeCode>string</PriceTypeCode>
          <PriceTypeName>string</PriceTypeName>
          <TypeCode>string</TypeCode>
          <TypeName>string</TypeName>
          <ApplyEarlyBooking>string</ApplyEarlyBooking>
          <ApplyDayPromotion>string</ApplyDayPromotion>
          <ApplyKickback>string</ApplyKickback>
          <ContractExtra>string</ContractExtra>
          <MinimumStay>int</MinimumStay>
          <ApplySpoNo>int</ApplySpoNo>
          <NotValidAfterEndDate>string</NotValidAfterEndDate>
          <SpecialCodeSource>int</SpecialCodeSource>
          <Free>string</Free>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
        </HotelExtraItem>
        <HotelExtraItem>
          <RecordID>int</RecordID>
          <TourOperatorCode>string</TourOperatorCode>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <BeginDate>dateTime</BeginDate>
          <EndDate>dateTime</EndDate>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <Code>string</Code>
          <CodeDescription>string</CodeDescription>
          <SpecialCode>string</SpecialCode>
          <Currency>string</Currency>
          <AdultPrice>double</AdultPrice>
          <ChildAge1From>int</ChildAge1From>
          <ChildAge1To>int</ChildAge1To>
          <Child1Price>double</Child1Price>
          <FirstChild1Free>string</FirstChild1Free>
          <ChildAge2From>int</ChildAge2From>
          <ChildAge2To>int</ChildAge2To>
          <Child2Price>double</Child2Price>
          <InfantAgeFrom>int</InfantAgeFrom>
          <InfantAgeTo>int</InfantAgeTo>
          <InfantPrice>double</InfantPrice>
          <FirstInfantFree>string</FirstInfantFree>
          <PriceTypeCode>string</PriceTypeCode>
          <PriceTypeName>string</PriceTypeName>
          <TypeCode>string</TypeCode>
          <TypeName>string</TypeName>
          <ApplyEarlyBooking>string</ApplyEarlyBooking>
          <ApplyDayPromotion>string</ApplyDayPromotion>
          <ApplyKickback>string</ApplyKickback>
          <ContractExtra>string</ContractExtra>
          <MinimumStay>int</MinimumStay>
          <ApplySpoNo>int</ApplySpoNo>
          <NotValidAfterEndDate>string</NotValidAfterEndDate>
          <SpecialCodeSource>int</SpecialCodeSource>
          <Free>string</Free>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
        </HotelExtraItem>
      </GetHotelExtraItemListResult>
    </GetHotelExtraItemListResponse>
  </soap12:Body>
</soap12:Envelope>