Import


Click here for a complete list of operations.

ImportSpo

You can load 15 different Special Offers.
If GSpoType parameter is left blank.Adds child price.

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

<?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>
    <ImportSpo xmlns="http://www.sansejour.com/">
      <token>string</token>
      <parameters>
        <Spo>
          <GHotel>string</GHotel>
          <GSpoNo>int</GSpoNo>
          <GSpoType>string</GSpoType>
          <GAccomBegDate>dateTime</GAccomBegDate>
          <GAccomEndDate>dateTime</GAccomEndDate>
          <GSpoSalesBegDate>dateTime</GSpoSalesBegDate>
          <GSpoSalesEndDate>dateTime</GSpoSalesEndDate>
          <GSpoAppType>string</GSpoAppType>
          <GComment>string</GComment>
          <GValidBuy>string</GValidBuy>
          <GBuyCurrency>string</GBuyCurrency>
          <GAccomLength1>int</GAccomLength1>
          <GAccomLength2>int</GAccomLength2>
          <GIncludeinContract>string</GIncludeinContract>
          <GRoom>string</GRoom>
          <GRoomType>string</GRoomType>
          <GBoard>string</GBoard>
          <GBuyPercent>float</GBuyPercent>
          <GBuyPrice>float</GBuyPrice>
          <GBuyExtBed>float</GBuyExtBed>
          <GBuyBoardPrice>float</GBuyBoardPrice>
          <GWeekendBuyPercent>float</GWeekendBuyPercent>
          <GWeekendBuyPrice>float</GWeekendBuyPrice>
          <GWeekendBuyExtBed>float</GWeekendBuyExtBed>
          <GSpoAppOption>short</GSpoAppOption>
          <GChdInfincluded>string</GChdInfincluded>
          <NOR_OptionDay>short</NOR_OptionDay>
          <EB_WeekendApply>string</EB_WeekendApply>
          <EBT_SPOApplyType>string</EBT_SPOApplyType>
          <EBT_EBApply>string</EBT_EBApply>
          <EBT_EBRApply>string</EBT_EBRApply>
          <EBT_AppSpoDatesIncl>string</EBT_AppSpoDatesIncl>
          <EBT_ChdFiy>float</EBT_ChdFiy>
          <LONG_AccomLenght1>short</LONG_AccomLenght1>
          <LONG_AccomLenght2>short</LONG_AccomLenght2>
          <YAS_PriceType>string</YAS_PriceType>
          <YAS_Age1>short</YAS_Age1>
          <YAS_Age2>short</YAS_Age2>
          <GP_BoardSupp>short</GP_BoardSupp>
          <GP_DayStay>short</GP_DayStay>
          <GP_DayPay>short</GP_DayPay>
          <GP_DayAverage>float</GP_DayAverage>
          <GP_Applying>short</GP_Applying>
          <GP_ExtraBed>float</GP_ExtraBed>
          <BAL_BuyPercent>float</BAL_BuyPercent>
          <BAL_RoomType>string</BAL_RoomType>
          <UPG_Room>string</UPG_Room>
          <UPG_OptionDay>short</UPG_OptionDay>
          <UPG_RoomTypeReservation>string</UPG_RoomTypeReservation>
          <UPG_RoomTypeStay>string</UPG_RoomTypeStay>
          <UPG_BoardReservation>string</UPG_BoardReservation>
          <UPG_BoardStay>string</UPG_BoardStay>
          <UPG_BoardRoomTypeReservation>string</UPG_BoardRoomTypeReservation>
          <UPG_Adl>int</UPG_Adl>
          <UPG_Chd>int</UPG_Chd>
          <UPG_Inf>int</UPG_Inf>
          <FOC_Pax>short</FOC_Pax>
          <FOC_FreePax>short</FOC_FreePax>
          <FOC_MaxFreePax>float</FOC_MaxFreePax>
          <FOC_SPOApplyType>string</FOC_SPOApplyType>
          <GRP_MaxPaxNr>short</GRP_MaxPaxNr>
          <GRP_BuyPercent>float</GRP_BuyPercent>
          <PAX_Title>string</PAX_Title>
          <PAX_Stay>short</PAX_Stay>
          <PAX_Pay>short</PAX_Pay>
          <PKT_Day>short</PKT_Day>
          <PKT_PriceType>string</PKT_PriceType>
          <ChdAdl>short</ChdAdl>
          <Chd1Age1>short</Chd1Age1>
          <Chd1Age2>short</Chd1Age2>
          <Chd1Rate>float</Chd1Rate>
          <Chd1Price>float</Chd1Price>
          <Chd2Age1>short</Chd2Age1>
          <Chd2Age2>short</Chd2Age2>
          <Chd2Rate>float</Chd2Rate>
          <Chd2Price>float</Chd2Price>
          <Chd3Age1>short</Chd3Age1>
          <Chd3Age2>short</Chd3Age2>
          <Chd3Rate>float</Chd3Rate>
          <Chd3Price>float</Chd3Price>
          <Chd4Age1>short</Chd4Age1>
          <Chd4Age2>short</Chd4Age2>
          <Chd4Rate>float</Chd4Rate>
          <Chd4Price>float</Chd4Price>
          <Chd1WeekendPrice>float</Chd1WeekendPrice>
          <Chd2WeekendPrice>float</Chd2WeekendPrice>
          <Chd3WeekendPrice>float</Chd3WeekendPrice>
          <Chd4WeekendPrice>float</Chd4WeekendPrice>
        </Spo>
      </parameters>
    </ImportSpo>
  </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>
    <ImportSpoResponse xmlns="http://www.sansejour.com/">
      <ImportSpoResult />
    </ImportSpoResponse>
  </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/Import.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>
    <ImportSpo xmlns="http://www.sansejour.com/">
      <token>string</token>
      <parameters>
        <Spo>
          <GHotel>string</GHotel>
          <GSpoNo>int</GSpoNo>
          <GSpoType>string</GSpoType>
          <GAccomBegDate>dateTime</GAccomBegDate>
          <GAccomEndDate>dateTime</GAccomEndDate>
          <GSpoSalesBegDate>dateTime</GSpoSalesBegDate>
          <GSpoSalesEndDate>dateTime</GSpoSalesEndDate>
          <GSpoAppType>string</GSpoAppType>
          <GComment>string</GComment>
          <GValidBuy>string</GValidBuy>
          <GBuyCurrency>string</GBuyCurrency>
          <GAccomLength1>int</GAccomLength1>
          <GAccomLength2>int</GAccomLength2>
          <GIncludeinContract>string</GIncludeinContract>
          <GRoom>string</GRoom>
          <GRoomType>string</GRoomType>
          <GBoard>string</GBoard>
          <GBuyPercent>float</GBuyPercent>
          <GBuyPrice>float</GBuyPrice>
          <GBuyExtBed>float</GBuyExtBed>
          <GBuyBoardPrice>float</GBuyBoardPrice>
          <GWeekendBuyPercent>float</GWeekendBuyPercent>
          <GWeekendBuyPrice>float</GWeekendBuyPrice>
          <GWeekendBuyExtBed>float</GWeekendBuyExtBed>
          <GSpoAppOption>short</GSpoAppOption>
          <GChdInfincluded>string</GChdInfincluded>
          <NOR_OptionDay>short</NOR_OptionDay>
          <EB_WeekendApply>string</EB_WeekendApply>
          <EBT_SPOApplyType>string</EBT_SPOApplyType>
          <EBT_EBApply>string</EBT_EBApply>
          <EBT_EBRApply>string</EBT_EBRApply>
          <EBT_AppSpoDatesIncl>string</EBT_AppSpoDatesIncl>
          <EBT_ChdFiy>float</EBT_ChdFiy>
          <LONG_AccomLenght1>short</LONG_AccomLenght1>
          <LONG_AccomLenght2>short</LONG_AccomLenght2>
          <YAS_PriceType>string</YAS_PriceType>
          <YAS_Age1>short</YAS_Age1>
          <YAS_Age2>short</YAS_Age2>
          <GP_BoardSupp>short</GP_BoardSupp>
          <GP_DayStay>short</GP_DayStay>
          <GP_DayPay>short</GP_DayPay>
          <GP_DayAverage>float</GP_DayAverage>
          <GP_Applying>short</GP_Applying>
          <GP_ExtraBed>float</GP_ExtraBed>
          <BAL_BuyPercent>float</BAL_BuyPercent>
          <BAL_RoomType>string</BAL_RoomType>
          <UPG_Room>string</UPG_Room>
          <UPG_OptionDay>short</UPG_OptionDay>
          <UPG_RoomTypeReservation>string</UPG_RoomTypeReservation>
          <UPG_RoomTypeStay>string</UPG_RoomTypeStay>
          <UPG_BoardReservation>string</UPG_BoardReservation>
          <UPG_BoardStay>string</UPG_BoardStay>
          <UPG_BoardRoomTypeReservation>string</UPG_BoardRoomTypeReservation>
          <UPG_Adl>int</UPG_Adl>
          <UPG_Chd>int</UPG_Chd>
          <UPG_Inf>int</UPG_Inf>
          <FOC_Pax>short</FOC_Pax>
          <FOC_FreePax>short</FOC_FreePax>
          <FOC_MaxFreePax>float</FOC_MaxFreePax>
          <FOC_SPOApplyType>string</FOC_SPOApplyType>
          <GRP_MaxPaxNr>short</GRP_MaxPaxNr>
          <GRP_BuyPercent>float</GRP_BuyPercent>
          <PAX_Title>string</PAX_Title>
          <PAX_Stay>short</PAX_Stay>
          <PAX_Pay>short</PAX_Pay>
          <PKT_Day>short</PKT_Day>
          <PKT_PriceType>string</PKT_PriceType>
          <ChdAdl>short</ChdAdl>
          <Chd1Age1>short</Chd1Age1>
          <Chd1Age2>short</Chd1Age2>
          <Chd1Rate>float</Chd1Rate>
          <Chd1Price>float</Chd1Price>
          <Chd2Age1>short</Chd2Age1>
          <Chd2Age2>short</Chd2Age2>
          <Chd2Rate>float</Chd2Rate>
          <Chd2Price>float</Chd2Price>
          <Chd3Age1>short</Chd3Age1>
          <Chd3Age2>short</Chd3Age2>
          <Chd3Rate>float</Chd3Rate>
          <Chd3Price>float</Chd3Price>
          <Chd4Age1>short</Chd4Age1>
          <Chd4Age2>short</Chd4Age2>
          <Chd4Rate>float</Chd4Rate>
          <Chd4Price>float</Chd4Price>
          <Chd1WeekendPrice>float</Chd1WeekendPrice>
          <Chd2WeekendPrice>float</Chd2WeekendPrice>
          <Chd3WeekendPrice>float</Chd3WeekendPrice>
          <Chd4WeekendPrice>float</Chd4WeekendPrice>
        </Spo>
      </parameters>
    </ImportSpo>
  </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>
    <ImportSpoResponse xmlns="http://www.sansejour.com/">
      <ImportSpoResult />
    </ImportSpoResponse>
  </soap12:Body>
</soap12:Envelope>