Hotel


Click here for a complete list of operations.

GetKickbackItemList

Kickback List Version

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/GetKickbackItemList"

<?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>
    <GetKickbackItemList xmlns="http://www.sansejour.com/">
      <token>string</token>
      <parameters>
        <HotelCode>string</HotelCode>
        <RegionCode>string</RegionCode>
        <ValidityBeginDate1>dateTime</ValidityBeginDate1>
        <ValidityBeginDate2>dateTime</ValidityBeginDate2>
        <ValidityEndDate1>dateTime</ValidityEndDate1>
        <ValidityEndDate2>dateTime</ValidityEndDate2>
        <SaleBeginDate1>dateTime</SaleBeginDate1>
        <SaleBeginDate2>dateTime</SaleBeginDate2>
        <SaleEndDate1>dateTime</SaleEndDate1>
        <SaleEndDate2>dateTime</SaleEndDate2>
        <CreateDate1>dateTime</CreateDate1>
        <CreateDate2>dateTime</CreateDate2>
        <ChangeDate1>dateTime</ChangeDate1>
        <ChangeDate2>dateTime</ChangeDate2>
      </parameters>
    </GetKickbackItemList>
  </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>
    <GetKickbackItemListResponse xmlns="http://www.sansejour.com/">
      <GetKickbackItemListResult>
        <KickbackItem>
          <RecordID>int</RecordID>
          <PriorityOrder>int</PriorityOrder>
          <ApplingType>int</ApplingType>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <Code>string</Code>
          <Definition>string</Definition>
          <ValidityBeginDate>dateTime</ValidityBeginDate>
          <ValidityEndDate>dateTime</ValidityEndDate>
          <TourOperatorCode>string</TourOperatorCode>
          <SpecialCode>string</SpecialCode>
          <SpecialCodeSource>short</SpecialCodeSource>
          <Currency>string</Currency>
          <Percent>int</Percent>
          <Price>double</Price>
          <Type>int</Type>
          <TypeName>string</TypeName>
          <ApplyNOR>string</ApplyNOR>
          <ApplyEB>string</ApplyEB>
          <ApplyGP>string</ApplyGP>
          <ApplyPKT>string</ApplyPKT>
          <ApplyLONG>string</ApplyLONG>
          <ApplyCOC>string</ApplyCOC>
          <ApplyGRP>string</ApplyGRP>
          <ApplyEBR>string</ApplyEBR>
          <ApplyBAL>string</ApplyBAL>
          <ApplyYAS>string</ApplyYAS>
          <ApplyNET>string</ApplyNET>
          <ApplyEBT>string</ApplyEBT>
          <ApplyPAX>string</ApplyPAX>
          <ApplyUPG>string</ApplyUPG>
          <ApplyFOC>string</ApplyFOC>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <PriceType>string</PriceType>
          <AccommodationDay1>int</AccommodationDay1>
          <AccommodationDay2>int</AccommodationDay2>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
          <ValidForSelling>string</ValidForSelling>
          <DayPromotionApplyKickbackType>int</DayPromotionApplyKickbackType>
        </KickbackItem>
        <KickbackItem>
          <RecordID>int</RecordID>
          <PriorityOrder>int</PriorityOrder>
          <ApplingType>int</ApplingType>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <Code>string</Code>
          <Definition>string</Definition>
          <ValidityBeginDate>dateTime</ValidityBeginDate>
          <ValidityEndDate>dateTime</ValidityEndDate>
          <TourOperatorCode>string</TourOperatorCode>
          <SpecialCode>string</SpecialCode>
          <SpecialCodeSource>short</SpecialCodeSource>
          <Currency>string</Currency>
          <Percent>int</Percent>
          <Price>double</Price>
          <Type>int</Type>
          <TypeName>string</TypeName>
          <ApplyNOR>string</ApplyNOR>
          <ApplyEB>string</ApplyEB>
          <ApplyGP>string</ApplyGP>
          <ApplyPKT>string</ApplyPKT>
          <ApplyLONG>string</ApplyLONG>
          <ApplyCOC>string</ApplyCOC>
          <ApplyGRP>string</ApplyGRP>
          <ApplyEBR>string</ApplyEBR>
          <ApplyBAL>string</ApplyBAL>
          <ApplyYAS>string</ApplyYAS>
          <ApplyNET>string</ApplyNET>
          <ApplyEBT>string</ApplyEBT>
          <ApplyPAX>string</ApplyPAX>
          <ApplyUPG>string</ApplyUPG>
          <ApplyFOC>string</ApplyFOC>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <PriceType>string</PriceType>
          <AccommodationDay1>int</AccommodationDay1>
          <AccommodationDay2>int</AccommodationDay2>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
          <ValidForSelling>string</ValidForSelling>
          <DayPromotionApplyKickbackType>int</DayPromotionApplyKickbackType>
        </KickbackItem>
      </GetKickbackItemListResult>
    </GetKickbackItemListResponse>
  </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>
    <GetKickbackItemList xmlns="http://www.sansejour.com/">
      <token>string</token>
      <parameters>
        <HotelCode>string</HotelCode>
        <RegionCode>string</RegionCode>
        <ValidityBeginDate1>dateTime</ValidityBeginDate1>
        <ValidityBeginDate2>dateTime</ValidityBeginDate2>
        <ValidityEndDate1>dateTime</ValidityEndDate1>
        <ValidityEndDate2>dateTime</ValidityEndDate2>
        <SaleBeginDate1>dateTime</SaleBeginDate1>
        <SaleBeginDate2>dateTime</SaleBeginDate2>
        <SaleEndDate1>dateTime</SaleEndDate1>
        <SaleEndDate2>dateTime</SaleEndDate2>
        <CreateDate1>dateTime</CreateDate1>
        <CreateDate2>dateTime</CreateDate2>
        <ChangeDate1>dateTime</ChangeDate1>
        <ChangeDate2>dateTime</ChangeDate2>
      </parameters>
    </GetKickbackItemList>
  </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>
    <GetKickbackItemListResponse xmlns="http://www.sansejour.com/">
      <GetKickbackItemListResult>
        <KickbackItem>
          <RecordID>int</RecordID>
          <PriorityOrder>int</PriorityOrder>
          <ApplingType>int</ApplingType>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <Code>string</Code>
          <Definition>string</Definition>
          <ValidityBeginDate>dateTime</ValidityBeginDate>
          <ValidityEndDate>dateTime</ValidityEndDate>
          <TourOperatorCode>string</TourOperatorCode>
          <SpecialCode>string</SpecialCode>
          <SpecialCodeSource>short</SpecialCodeSource>
          <Currency>string</Currency>
          <Percent>int</Percent>
          <Price>double</Price>
          <Type>int</Type>
          <TypeName>string</TypeName>
          <ApplyNOR>string</ApplyNOR>
          <ApplyEB>string</ApplyEB>
          <ApplyGP>string</ApplyGP>
          <ApplyPKT>string</ApplyPKT>
          <ApplyLONG>string</ApplyLONG>
          <ApplyCOC>string</ApplyCOC>
          <ApplyGRP>string</ApplyGRP>
          <ApplyEBR>string</ApplyEBR>
          <ApplyBAL>string</ApplyBAL>
          <ApplyYAS>string</ApplyYAS>
          <ApplyNET>string</ApplyNET>
          <ApplyEBT>string</ApplyEBT>
          <ApplyPAX>string</ApplyPAX>
          <ApplyUPG>string</ApplyUPG>
          <ApplyFOC>string</ApplyFOC>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <PriceType>string</PriceType>
          <AccommodationDay1>int</AccommodationDay1>
          <AccommodationDay2>int</AccommodationDay2>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
          <ValidForSelling>string</ValidForSelling>
          <DayPromotionApplyKickbackType>int</DayPromotionApplyKickbackType>
        </KickbackItem>
        <KickbackItem>
          <RecordID>int</RecordID>
          <PriorityOrder>int</PriorityOrder>
          <ApplingType>int</ApplingType>
          <HotelCode>string</HotelCode>
          <HotelName>string</HotelName>
          <RegionCode>string</RegionCode>
          <RegionName>string</RegionName>
          <Code>string</Code>
          <Definition>string</Definition>
          <ValidityBeginDate>dateTime</ValidityBeginDate>
          <ValidityEndDate>dateTime</ValidityEndDate>
          <TourOperatorCode>string</TourOperatorCode>
          <SpecialCode>string</SpecialCode>
          <SpecialCodeSource>short</SpecialCodeSource>
          <Currency>string</Currency>
          <Percent>int</Percent>
          <Price>double</Price>
          <Type>int</Type>
          <TypeName>string</TypeName>
          <ApplyNOR>string</ApplyNOR>
          <ApplyEB>string</ApplyEB>
          <ApplyGP>string</ApplyGP>
          <ApplyPKT>string</ApplyPKT>
          <ApplyLONG>string</ApplyLONG>
          <ApplyCOC>string</ApplyCOC>
          <ApplyGRP>string</ApplyGRP>
          <ApplyEBR>string</ApplyEBR>
          <ApplyBAL>string</ApplyBAL>
          <ApplyYAS>string</ApplyYAS>
          <ApplyNET>string</ApplyNET>
          <ApplyEBT>string</ApplyEBT>
          <ApplyPAX>string</ApplyPAX>
          <ApplyUPG>string</ApplyUPG>
          <ApplyFOC>string</ApplyFOC>
          <SaleBeginDate>dateTime</SaleBeginDate>
          <SaleEndDate>dateTime</SaleEndDate>
          <RoomCode>string</RoomCode>
          <RoomName>string</RoomName>
          <RoomTypeCode>string</RoomTypeCode>
          <RoomTypeName>string</RoomTypeName>
          <BoardCode>string</BoardCode>
          <BoardName>string</BoardName>
          <PriceType>string</PriceType>
          <AccommodationDay1>int</AccommodationDay1>
          <AccommodationDay2>int</AccommodationDay2>
          <CreateDate>dateTime</CreateDate>
          <ChangeDate>dateTime</ChangeDate>
          <ValidForSelling>string</ValidForSelling>
          <DayPromotionApplyKickbackType>int</DayPromotionApplyKickbackType>
        </KickbackItem>
      </GetKickbackItemListResult>
    </GetKickbackItemListResponse>
  </soap12:Body>
</soap12:Envelope>