Reservation


Click here for a complete list of operations.

MultiUpdateReservation

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

<?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>
    <MultiUpdateReservation xmlns="http://www.sansejour.com/">
      <token>string</token>
      <ri>
        <Voucher>string</Voucher>
        <source>int</source>
        <OnlyHotel>boolean</OnlyHotel>
        <voucherNote>string</voucherNote>
        <customer>
          <CustomerForUpdate>
            <DefaultHotelCode>string</DefaultHotelCode>
            <SubVoucher>string</SubVoucher>
            <Title>string</Title>
            <Name>string</Name>
            <Gt>string</Gt>
            <Dt>string</Dt>
            <Age>int</Age>
            <ArrivalReg>string</ArrivalReg>
            <DeparutureReg>string</DeparutureReg>
            <TourPackage>string</TourPackage>
            <Nationalty>string</Nationalty>
            <BirthDate>dateTime</BirthDate>
            <ApplyVisa>boolean</ApplyVisa>
            <checkApplyVisaFromNationality>boolean</checkApplyVisaFromNationality>
            <CustTraceNum>string</CustTraceNum>
            <RezServis xsi:nil="true" />
            <ID>int</ID>
            <IdentityNumber>string</IdentityNumber>
            <PassportNumber>string</PassportNumber>
            <CustInfo xsi:nil="true" />
          </CustomerForUpdate>
          <CustomerForUpdate>
            <DefaultHotelCode>string</DefaultHotelCode>
            <SubVoucher>string</SubVoucher>
            <Title>string</Title>
            <Name>string</Name>
            <Gt>string</Gt>
            <Dt>string</Dt>
            <Age>int</Age>
            <ArrivalReg>string</ArrivalReg>
            <DeparutureReg>string</DeparutureReg>
            <TourPackage>string</TourPackage>
            <Nationalty>string</Nationalty>
            <BirthDate>dateTime</BirthDate>
            <ApplyVisa>boolean</ApplyVisa>
            <checkApplyVisaFromNationality>boolean</checkApplyVisaFromNationality>
            <CustTraceNum>string</CustTraceNum>
            <RezServis xsi:nil="true" />
            <ID>int</ID>
            <IdentityNumber>string</IdentityNumber>
            <PassportNumber>string</PassportNumber>
            <CustInfo xsi:nil="true" />
          </CustomerForUpdate>
        </customer>
        <resHotel>
          <ResHotelForUpdate>
            <OrdNum>int</OrdNum>
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Cindate>dateTime</Cindate>
            <CoutDate>dateTime</CoutDate>
            <Day>int</Day>
            <RoomKey>string</RoomKey>
            <RoomCode>string</RoomCode>
            <RoomName>string</RoomName>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeName>string</RoomTypeName>
            <BoardCode>string</BoardCode>
            <BoardName>string</BoardName>
            <Adult>int</Adult>
            <Child>int</Child>
            <Infant>int</Infant>
            <RoomCount>int</RoomCount>
            <ResStatus>string</ResStatus>
            <ResType>string</ResType>
            <HotelNote>string</HotelNote>
            <ArrTrf>boolean</ArrTrf>
            <OnlyTransfer>boolean</OnlyTransfer>
            <OnlyService>boolean</OnlyService>
            <DepTrf>boolean</DepTrf>
            <SpecialCode>string</SpecialCode>
            <SatFTip>int</SatFTip>
            <AllotmentType>string</AllotmentType>
            <HoneyMooners>boolean</HoneyMooners>
            <SellDate>dateTime</SellDate>
            <TransferNote>string</TransferNote>
            <Code2>string</Code2>
            <Code3>string</Code3>
            <Code4>string</Code4>
            <ConfNo>string</ConfNo>
            <ArrTransferType>string</ArrTransferType>
            <DepTransferType>string</DepTransferType>
            <RGT>string</RGT>
            <RDT>string</RDT>
            <RGelisYeri>string</RGelisYeri>
            <RvarisYeri>string</RvarisYeri>
            <InternNote>string</InternNote>
            <FlightCode>string</FlightCode>
            <FlightClass>string</FlightClass>
            <CustomerOpr xsi:nil="true" />
            <EkAllotStr>string</EkAllotStr>
            <TrenDepBolge>string</TrenDepBolge>
            <TrenArrBolge>string</TrenArrBolge>
            <MobileServiceType>string</MobileServiceType>
            <HotelType>string</HotelType>
            <HandFeeType>string</HandFeeType>
            <AllDaysFreeSale>string</AllDaysFreeSale>
            <PartnerID>long</PartnerID>
            <PartnerPrice>float</PartnerPrice>
            <Agency>string</Agency>
            <PromotionRoom>boolean</PromotionRoom>
          </ResHotelForUpdate>
          <ResHotelForUpdate>
            <OrdNum>int</OrdNum>
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Cindate>dateTime</Cindate>
            <CoutDate>dateTime</CoutDate>
            <Day>int</Day>
            <RoomKey>string</RoomKey>
            <RoomCode>string</RoomCode>
            <RoomName>string</RoomName>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeName>string</RoomTypeName>
            <BoardCode>string</BoardCode>
            <BoardName>string</BoardName>
            <Adult>int</Adult>
            <Child>int</Child>
            <Infant>int</Infant>
            <RoomCount>int</RoomCount>
            <ResStatus>string</ResStatus>
            <ResType>string</ResType>
            <HotelNote>string</HotelNote>
            <ArrTrf>boolean</ArrTrf>
            <OnlyTransfer>boolean</OnlyTransfer>
            <OnlyService>boolean</OnlyService>
            <DepTrf>boolean</DepTrf>
            <SpecialCode>string</SpecialCode>
            <SatFTip>int</SatFTip>
            <AllotmentType>string</AllotmentType>
            <HoneyMooners>boolean</HoneyMooners>
            <SellDate>dateTime</SellDate>
            <TransferNote>string</TransferNote>
            <Code2>string</Code2>
            <Code3>string</Code3>
            <Code4>string</Code4>
            <ConfNo>string</ConfNo>
            <ArrTransferType>string</ArrTransferType>
            <DepTransferType>string</DepTransferType>
            <RGT>string</RGT>
            <RDT>string</RDT>
            <RGelisYeri>string</RGelisYeri>
            <RvarisYeri>string</RvarisYeri>
            <InternNote>string</InternNote>
            <FlightCode>string</FlightCode>
            <FlightClass>string</FlightClass>
            <CustomerOpr xsi:nil="true" />
            <EkAllotStr>string</EkAllotStr>
            <TrenDepBolge>string</TrenDepBolge>
            <TrenArrBolge>string</TrenArrBolge>
            <MobileServiceType>string</MobileServiceType>
            <HotelType>string</HotelType>
            <HandFeeType>string</HandFeeType>
            <AllDaysFreeSale>string</AllDaysFreeSale>
            <PartnerID>long</PartnerID>
            <PartnerPrice>float</PartnerPrice>
            <Agency>string</Agency>
            <PromotionRoom>boolean</PromotionRoom>
          </ResHotelForUpdate>
        </resHotel>
      </ri>
      <isB2B>boolean</isB2B>
    </MultiUpdateReservation>
  </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>
    <MultiUpdateReservationResponse xmlns="http://www.sansejour.com/">
      <MultiUpdateReservationResult>
        <Successful>boolean</Successful>
        <Message>string</Message>
        <ReturnMessages>
          <string>string</string>
          <string>string</string>
        </ReturnMessages>
      </MultiUpdateReservationResult>
    </MultiUpdateReservationResponse>
  </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/Reservation.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>
    <MultiUpdateReservation xmlns="http://www.sansejour.com/">
      <token>string</token>
      <ri>
        <Voucher>string</Voucher>
        <source>int</source>
        <OnlyHotel>boolean</OnlyHotel>
        <voucherNote>string</voucherNote>
        <customer>
          <CustomerForUpdate>
            <DefaultHotelCode>string</DefaultHotelCode>
            <SubVoucher>string</SubVoucher>
            <Title>string</Title>
            <Name>string</Name>
            <Gt>string</Gt>
            <Dt>string</Dt>
            <Age>int</Age>
            <ArrivalReg>string</ArrivalReg>
            <DeparutureReg>string</DeparutureReg>
            <TourPackage>string</TourPackage>
            <Nationalty>string</Nationalty>
            <BirthDate>dateTime</BirthDate>
            <ApplyVisa>boolean</ApplyVisa>
            <checkApplyVisaFromNationality>boolean</checkApplyVisaFromNationality>
            <CustTraceNum>string</CustTraceNum>
            <RezServis xsi:nil="true" />
            <ID>int</ID>
            <IdentityNumber>string</IdentityNumber>
            <PassportNumber>string</PassportNumber>
            <CustInfo xsi:nil="true" />
          </CustomerForUpdate>
          <CustomerForUpdate>
            <DefaultHotelCode>string</DefaultHotelCode>
            <SubVoucher>string</SubVoucher>
            <Title>string</Title>
            <Name>string</Name>
            <Gt>string</Gt>
            <Dt>string</Dt>
            <Age>int</Age>
            <ArrivalReg>string</ArrivalReg>
            <DeparutureReg>string</DeparutureReg>
            <TourPackage>string</TourPackage>
            <Nationalty>string</Nationalty>
            <BirthDate>dateTime</BirthDate>
            <ApplyVisa>boolean</ApplyVisa>
            <checkApplyVisaFromNationality>boolean</checkApplyVisaFromNationality>
            <CustTraceNum>string</CustTraceNum>
            <RezServis xsi:nil="true" />
            <ID>int</ID>
            <IdentityNumber>string</IdentityNumber>
            <PassportNumber>string</PassportNumber>
            <CustInfo xsi:nil="true" />
          </CustomerForUpdate>
        </customer>
        <resHotel>
          <ResHotelForUpdate>
            <OrdNum>int</OrdNum>
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Cindate>dateTime</Cindate>
            <CoutDate>dateTime</CoutDate>
            <Day>int</Day>
            <RoomKey>string</RoomKey>
            <RoomCode>string</RoomCode>
            <RoomName>string</RoomName>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeName>string</RoomTypeName>
            <BoardCode>string</BoardCode>
            <BoardName>string</BoardName>
            <Adult>int</Adult>
            <Child>int</Child>
            <Infant>int</Infant>
            <RoomCount>int</RoomCount>
            <ResStatus>string</ResStatus>
            <ResType>string</ResType>
            <HotelNote>string</HotelNote>
            <ArrTrf>boolean</ArrTrf>
            <OnlyTransfer>boolean</OnlyTransfer>
            <OnlyService>boolean</OnlyService>
            <DepTrf>boolean</DepTrf>
            <SpecialCode>string</SpecialCode>
            <SatFTip>int</SatFTip>
            <AllotmentType>string</AllotmentType>
            <HoneyMooners>boolean</HoneyMooners>
            <SellDate>dateTime</SellDate>
            <TransferNote>string</TransferNote>
            <Code2>string</Code2>
            <Code3>string</Code3>
            <Code4>string</Code4>
            <ConfNo>string</ConfNo>
            <ArrTransferType>string</ArrTransferType>
            <DepTransferType>string</DepTransferType>
            <RGT>string</RGT>
            <RDT>string</RDT>
            <RGelisYeri>string</RGelisYeri>
            <RvarisYeri>string</RvarisYeri>
            <InternNote>string</InternNote>
            <FlightCode>string</FlightCode>
            <FlightClass>string</FlightClass>
            <CustomerOpr xsi:nil="true" />
            <EkAllotStr>string</EkAllotStr>
            <TrenDepBolge>string</TrenDepBolge>
            <TrenArrBolge>string</TrenArrBolge>
            <MobileServiceType>string</MobileServiceType>
            <HotelType>string</HotelType>
            <HandFeeType>string</HandFeeType>
            <AllDaysFreeSale>string</AllDaysFreeSale>
            <PartnerID>long</PartnerID>
            <PartnerPrice>float</PartnerPrice>
            <Agency>string</Agency>
            <PromotionRoom>boolean</PromotionRoom>
          </ResHotelForUpdate>
          <ResHotelForUpdate>
            <OrdNum>int</OrdNum>
            <HotelCode>string</HotelCode>
            <HotelName>string</HotelName>
            <Cindate>dateTime</Cindate>
            <CoutDate>dateTime</CoutDate>
            <Day>int</Day>
            <RoomKey>string</RoomKey>
            <RoomCode>string</RoomCode>
            <RoomName>string</RoomName>
            <RoomTypeCode>string</RoomTypeCode>
            <RoomTypeName>string</RoomTypeName>
            <BoardCode>string</BoardCode>
            <BoardName>string</BoardName>
            <Adult>int</Adult>
            <Child>int</Child>
            <Infant>int</Infant>
            <RoomCount>int</RoomCount>
            <ResStatus>string</ResStatus>
            <ResType>string</ResType>
            <HotelNote>string</HotelNote>
            <ArrTrf>boolean</ArrTrf>
            <OnlyTransfer>boolean</OnlyTransfer>
            <OnlyService>boolean</OnlyService>
            <DepTrf>boolean</DepTrf>
            <SpecialCode>string</SpecialCode>
            <SatFTip>int</SatFTip>
            <AllotmentType>string</AllotmentType>
            <HoneyMooners>boolean</HoneyMooners>
            <SellDate>dateTime</SellDate>
            <TransferNote>string</TransferNote>
            <Code2>string</Code2>
            <Code3>string</Code3>
            <Code4>string</Code4>
            <ConfNo>string</ConfNo>
            <ArrTransferType>string</ArrTransferType>
            <DepTransferType>string</DepTransferType>
            <RGT>string</RGT>
            <RDT>string</RDT>
            <RGelisYeri>string</RGelisYeri>
            <RvarisYeri>string</RvarisYeri>
            <InternNote>string</InternNote>
            <FlightCode>string</FlightCode>
            <FlightClass>string</FlightClass>
            <CustomerOpr xsi:nil="true" />
            <EkAllotStr>string</EkAllotStr>
            <TrenDepBolge>string</TrenDepBolge>
            <TrenArrBolge>string</TrenArrBolge>
            <MobileServiceType>string</MobileServiceType>
            <HotelType>string</HotelType>
            <HandFeeType>string</HandFeeType>
            <AllDaysFreeSale>string</AllDaysFreeSale>
            <PartnerID>long</PartnerID>
            <PartnerPrice>float</PartnerPrice>
            <Agency>string</Agency>
            <PromotionRoom>boolean</PromotionRoom>
          </ResHotelForUpdate>
        </resHotel>
      </ri>
      <isB2B>boolean</isB2B>
    </MultiUpdateReservation>
  </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>
    <MultiUpdateReservationResponse xmlns="http://www.sansejour.com/">
      <MultiUpdateReservationResult>
        <Successful>boolean</Successful>
        <Message>string</Message>
        <ReturnMessages>
          <string>string</string>
          <string>string</string>
        </ReturnMessages>
      </MultiUpdateReservationResult>
    </MultiUpdateReservationResponse>
  </soap12:Body>
</soap12:Envelope>