Reservation


CalculateReservation

Parameters Sent: Returning Parameter:
Tip2 : When Tip is ”Transfer” then the possible types to be selected are “G” is used for arrival transfers, “D” is used for departure transfers, “A” is used for sub transfers.
Tip : Service type.('Transfer','Room','Extra','Handling','General Service','Tour Package','Rent A Car','Visa')(string)
Turop : Tour operator code.(string)
Voucher : It is the booking number given by sejour when the reservation record is completed succesfully.(string)
Sira : It is an order number. Starting from 1 with ascending order.(int)
Doviz : Currency type.(string)
Total : Total Amount
TotalTL : Total Local Amount
Kur : Currency Rate
KurTarihi : Rate Date
token: It is the token code used for the entry to the system. (string) KatPayTut : Contribution Amount
ri: ReservationInfo class , is the class which have all information about reservation.
isB2B: This value For Sejour B2B.(Boolean)(Default value=false)
Tip2 : When Tip is ”Transfer” then the possible types to be selected are “G” is used for arrival transfers, “D” is used for departure transfers, “A” is used for sub transfers.
Type : Service type.('Transfer','Room','Extra','Handling','General Service','Tour Package','Rent A Car','Visa')(string)
Turop : Tour operator code.(string)
Voucher : It is the booking number given by sejour when the reservation record is completed succesfully.(string)
Unvan : "Unvan" is used for defining customer title. Mr is for Man, Mrs is for Woman, Chd is for Child, Inf is for Infant, Grp is for Groups.(string)
Adi : Keeps the customer Name and Surname.(string)
Total : Total Amount
Doviz : Currency type.(string)
TLTut : Total Local Amount
Properties of Reservation Info Class:
OnlyCalculate: Boolean type. If booking information is needed to display before recording reservation ,to be able to recording these information into a temp table onlycalculate property should be true value. If reservation wished to be recorded into real tables, onlycalculate value should be false.
OnlyHotel: Boolean type. If there is no transfer and flight information entry in a booking,onlyhotel should be true .(Boolean)
voucherNote: string type. Is the general note for the voucher.(string)
Customer: Keeps the Customer information.(array)
ResHotel: Keeps the reservation room information.(array)
Properties of Customer Class:
Title: String type.is used for defining customer title. Mr is for Man, Mrs is for Woman, Chd is for Child, Inf is for Infant, Grp is for Groups. (string)
Name: Keeps the customer Name and Surname.(string)
Age: Keeps the customer Age information.(int)
BirthDate: Keeps the customer Birth Date information.(datetime)
ArrivalReg: Keeps the customer arrival flight information. Arrival flight list in in common.asmx. by using(string)
GetArrivalFlightDS: method can be transferred into a combobox.
DepartureReg: Keeps the customer departure flight information. Departure flight list is in common.asmx. by using
GetDepartureFlightDS: method it can be transferred into a combobox.
Nationalty: Keeps the customer nationality. In Common.asmx by using
GetNationaltyDS: Method nationality codes and description can be transferred into a combobox as a list.
CustTraceNum:: It has been using for a special aim , it is a customer trace number.(string)
Nationalty: Ascending order.(int)
Properties of ResHotel Class
OrdNum: It is an order number. Starting from 1 with ascending order.(int)
CinDate: Keeps the check in date into hotel.(datetime)
CoutDate: Keeps the check out date from hotel.(datetime)
Day: Keeps the accomodation day number in the hotel.(int)
HotelCode: Hotel code information. ın Common.asmx by using(string)
GetHotelsCodeAndNameDS: Method hotel codes and descriptions can be transferred into a combobox as a list.
HotelName: Keeps the hotel name. It is not obligatory to enter.(string)
RoomTypeCode: Keeps the room information. ın Common.asmx by using getRDS method room codes and descriptions can be transferred into a combobox as a list.(string)
RoomTypeName: Keeps the Room type description. It is not obligatory to enter.(string)
RoomCode: Keeps the room information. ın Common.asmx by using getRDS method room codes and descriptions can be transferred into a combobox as a list.(string)
RoomName: Keeps the Room description. It is not obligatory to enter.(string)
BoardCode: Keeps the board code. In Common.asmx by using getBoardDS method board codes and descriptions can be transferred into a combobox as a list.(string)
BoardName: Keeps the board description. It is not obligatory to enter.(string)
Adult: Keeps the adult number in the room.(int)
Child: Keeps the child number in the room.(int)
Infant: Keeps the infant number in the room.(int)
ResStatus: Keeps the reservation status. * or ? values. Release control, allotment control, stopsale control are made to be able to determine the value to be used. The methods are making this control: Releasecontrol in Reservation.asmx, (for Old Allotment module) StopSaleControl in Reservation.asmx, AllotmentControl in Reservation.asmx.(for Old Allotment module)(string)
HotelNote: It ıs used if there is a note for the room.(string)
ArrTrf: If there is arrival transfer, it is true , if there is not ,it is false.(boolean)
DepTrf: If there is departure transfer, it is true , if there is not ,it is false.(boolean)
ArrTransferType: If there is arrival transfer, it keeps the arrival transfer type information. In Common.asmx by using getTransferDS method the transfer code and description can be transferred in to combobox as a list.(string)
DepTransferType: If there is departure transfer, it keeps the departure transfer type information. In Common.asmx by using getTransferDS method the transfer code and description can be transferred in to combobox as a list.(string)
TransferNote: If there is transfer note can be entered.(string)
SpecialCode,Code2,Code3,Code4: Special codes can be entered. It is not obligatory to use.(string)
AllotmentType: It is taken from GetAllotmentTypeStr method.(string)
InternNote: Using for the internal notes.(string)
CustomerOpr[]: It matches the room information and the customer information with each other.It's obligatory to use.
Properties of ResHotel Class:
CustNum: Linked ıd numbers of the customers.
ResOrderNum: Linked with OrdNum in ResHotel
CinDate: Linked with CinDate in ResHotel
Last Update Date: 21.03.2017

Request Sample

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <CalculateReservation xmlns="http://www.sansejour.com/">
      <token>95c8c8d2-7ad5-4ea1-832f-63f6fb7df8cc</token>
      <ri>
     <OnlyCalculate>true</OnlyCalculate>
  <Voucher />
  <source>0</source>
  <OnlyHotel>false</OnlyHotel>
  <voucherNote />
  <customer>
    <Customer>
      <DefaultHotelCode />
      <Title>Mr</Title>
      <Name>AAAAAAA</Name>
      <Gt>U</Gt>
      <Dt>U</Dt>
      <Age>20</Age>
      <ArrivalReg>ARR ?</ArrivalReg>
      <DeparutureReg>DEP ?</DeparutureReg>
      <TourPackage />
      <Nationalty>ING</Nationalty>
      <BirthDate>1993-11-21T00:00:00</BirthDate>
      <ApplyVisa>true</ApplyVisa>
      <checkApplyVisaFromNationality>true</checkApplyVisaFromNationality>
      <RezServis />
      <ID>1</ID>
    </Customer>
    <Customer>
      <DefaultHotelCode />
      <Title>Mr</Title>
      <Name>BBBBBBBB</Name>
      <Gt>U</Gt>
      <Dt>U</Dt>
      <Age>20</Age>
      <ArrivalReg>ARR ?</ArrivalReg>
      <DeparutureReg>DEP ?</DeparutureReg>
      <TourPackage />
      <Nationalty>ING</Nationalty>
      <BirthDate>1993-11-21T00:00:00</BirthDate>
      <ApplyVisa>true</ApplyVisa>
      <checkApplyVisaFromNationality>true</checkApplyVisaFromNationality>
      <RezServis />
      <ID>2</ID>
    </Customer>
  </customer>
  <resHotel>
    <ResHotel>
      <OrdNum>1</OrdNum>
      <HotelCode>MANDAL</HotelCode>
      <HotelName>MANDALINCI HOTEL</HotelName>
      <Cindate>2013-11-26T00:00:00</Cindate>
      <CoutDate>2013-12-03T00:00:00</CoutDate>
      <Day>7</Day>
      <RoomCode>2AD</RoomCode>
      <RoomName>2AD</RoomName>
      <RoomTypeCode>FAM</RoomTypeCode>
      <RoomTypeName>FAM</RoomTypeName>
      <BoardCode>AI</BoardCode>
      <BoardName>AI</BoardName>
      <Adult>2</Adult>
      <Child>0</Child>
      <Infant>0</Infant>
      <ResStatus>*</ResStatus>
      <HotelNote />
      <ArrTrf>true</ArrTrf>
      <OnlyTransfer>false</OnlyTransfer>
      <OnlyService>false</OnlyService>
      <DepTrf>true</DepTrf>
      <SpecialCode />
      <SatFTip>0</SatFTip>
      <AllotmentType>N</AllotmentType>
      <HoneyMooners>false</HoneyMooners>
      <SellDate>2013-11-25T00:00:00+02:00</SellDate>
      <TransferNote />
      <Code2 />
      <Code3 />
      <Code4 />
      <ConfNo />
      <ArrTransferType>GROUP</ArrTransferType>
      <DepTransferType>GROUP</DepTransferType>
      <RGT />
      <RDT />
      <RGelisYeri />
      <RvarisYeri />
      <InternNote />
      <FlightCode />
      <FlightClass />
      <CustomerOpr>
        <CustomerOpr>
          <CustNum>1</CustNum>
          <ResOrderNum>1</ResOrderNum>
          <CinDate>2013-11-26T00:00:00</CinDate>
        </CustomerOpr>
        <CustomerOpr>
          <CustNum>2</CustNum>
          <ResOrderNum>1</ResOrderNum>
          <CinDate>2013-11-26T00:00:00</CinDate>
        </CustomerOpr>
      </CustomerOpr>
      <EkAllotStr />
      <TrenDepBolge />
      <TrenArrBolge />
      <MobileServiceType />
      <HotelType>O</HotelType>
      <HandFeeType />
      <AllDaysFreeSale>N</AllDaysFreeSale>
    </ResHotel>
  </resHotel>
      </ri>
    </CalculateReservation>
  </soap:Body>
</soap:Envelope>

Response Sample

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <CalculateReservationResponse xmlns="http://www.sansejour.com/">
      <CalculateReservationResult>
        <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
          <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
            <xs:complexType>
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:element name="Table">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="Tip2" type="xs:string" minOccurs="0" />
                      <xs:element name="Tip" type="xs:string" minOccurs="0" />
                      <xs:element name="Turop" type="xs:string" minOccurs="0" />
                      <xs:element name="Voucher" type="xs:string" minOccurs="0" />
                      <xs:element name="Sira" type="xs:short" minOccurs="0" />
                      <xs:element name="Doviz" type="xs:string" minOccurs="0" />
                      <xs:element name="Total" type="xs:double" minOccurs="0" />
                      <xs:element name="TotalTL" type="xs:double" minOccurs="0" />
                      <xs:element name="Kur" type="xs:double" minOccurs="0" />
                      <xs:element name="KurTarihi" type="xs:dateTime" minOccurs="0" />
                      <xs:element name="KatPayTut" type="xs:double" minOccurs="0" />
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element name="Table1">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="Tip2" type="xs:string" minOccurs="0" />
                      <xs:element name="Type" type="xs:string" minOccurs="0" />
                      <xs:element name="Turop" type="xs:string" minOccurs="0" />
                      <xs:element name="Voucher" type="xs:string" minOccurs="0" />
                      <xs:element name="Unvan" type="xs:string" minOccurs="0" />
                      <xs:element name="Adi" type="xs:string" minOccurs="0" />
                      <xs:element name="Total" type="xs:double" minOccurs="0" />
                      <xs:element name="Doviz" type="xs:string" minOccurs="0" />
                      <xs:element name="TLTut" type="xs:double" minOccurs="0" />
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:choice>
            </xs:complexType>
          </xs:element>
        </xs:schema>
        <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
          <NewDataSet xmlns="">
            <Table diffgr:id="Table1" msdata:rowOrder="0">
              <Tip2 />
              <Tip>Room</Tip>
              <Turop>ALFA</Turop>
              <Voucher>33000398</Voucher>
              <Sira>1</Sira>
              <Doviz>EUR</Doviz>
              <Total>1260</Total>
              <TotalTL>3434.1299999999997</TotalTL>
              <Kur>2.7255</Kur>
              <KurTarihi>2013-11-26T00:00:00+02:00</KurTarihi>
              <KatPayTut>0</KatPayTut>
            </Table>
            <Table diffgr:id="Table2" msdata:rowOrder="1">
              <Tip2>G</Tip2>
              <Tip>Transfer</Tip>
              <Turop>ALFA</Turop>
              <Voucher>33000398</Voucher>
              <Sira>1</Sira>
              <Doviz>EUR</Doviz>
              <Total>20</Total>
              <TotalTL>54.51</TotalTL>
              <Kur>2.7255</Kur>
              <KurTarihi>2013-11-26T00:00:00+02:00</KurTarihi>
              <KatPayTut>0</KatPayTut>
            </Table>
            <Table diffgr:id="Table3" msdata:rowOrder="2">
              <Tip2>D</Tip2>
              <Tip>Transfer</Tip>
              <Turop>ALFA</Turop>
              <Voucher>33000398</Voucher>
              <Sira>1</Sira>
              <Doviz>EUR</Doviz>
              <Total>20</Total>
              <TotalTL>54.51</TotalTL>
              <Kur>2.7255</Kur>
              <KurTarihi>2013-11-26T00:00:00+02:00</KurTarihi>
              <KatPayTut>0</KatPayTut>
            </Table>
            <Table1 diffgr:id="Table11" msdata:rowOrder="0">
              <Tip2 />
              <Type>Visa</Type>
              <Turop>ALFA</Turop>
              <Voucher>33000398</Voucher>
              <Unvan>Mr</Unvan>
              <Adi>AAAAAAA</Adi>
              <Total>29.59</Total>
              <Doviz>EUR</Doviz>
              <TLTut>80.656</TLTut>
            </Table1>
            <Table1 diffgr:id="Table12" msdata:rowOrder="1">
              <Tip2 />
              <Type>Visa</Type>
              <Turop>ALFA</Turop>
              <Voucher>33000398</Voucher>
              <Unvan>Mr</Unvan>
              <Adi>BBBBBBBB</Adi>
              <Total>29.59</Total>
              <Doviz>EUR</Doviz>
              <TLTut>80.656</TLTut>
            </Table1>
          </NewDataSet>
        </diffgr:diffgram>
      </CalculateReservationResult>
    </CalculateReservationResponse>
  </soap:Body>
</soap:Envelope>

MultiMakeReservation

Parameters Sent: Returning Parameter:
It is returned the struct called ReservationResult.
ReservarionOk : If reservation record process is completed succesfully it returns as True value,if not it returns as false.(boolean)
Message : If reservation record process is not completed succesfully , it creates an error message. If it is completed it gives the message for informing succesfull record.(string)
Message2 : If reservation record process is successfull and if there is message returned; message2 returns too. If reservation is saved but the price is not calculated , this message returns.(string)
VoucherNo : It is the booking number given by sejour when the reservation record is completed succesfully.(string)
token: It is the token code used for the entry to the system. (string) Notifications : It is notification information about reservation. (List)
ri: ReservationInfo class , is the class which have all information about reservation.
isB2B: This value For Sejour B2B.(Boolean)(Default value=false)
Notification: (Code (int) , Message (string))
MRStop :10005
OnlyAdult: 10006
Construction: 10007
Description: 10008
Properties of Reservation Info Class:
OnlyCalculate: Boolean type. If booking information is needed to display before recording reservation ,to be able to recording these information into a temp table onlycalculate property should be true value. If reservation wished to be recorded into real tables , onlycalculate value should be false.
Voucher: Sejour reservation voucher number. Max character length is 8. (string)(optional)
OnlyHotel: Boolean type. If there is no transfer and flight information entry in a booking,onlyhotel should be true .(Boolean)
voucherNote: string type. Is the general note for the voucher.(string)(optional)
Customer: Keeps the Customer information.(array) (required)
ResHotel: Keeps the reservation room information.(array)(required)
Properties of Customer Class:
Title: String type.is used for defining customer title. Mr is for Man, Mrs is for Woman, Ms is for Miss,Chd is for Child, Inf is for Infant, Grp is for Groups. (string)(required)
Name: Keeps the customer Name and Surname.(string)(required)
Age: Keeps the customer Age information.(int)(optional)
BirthDate: Keeps the customer Birth Date information.(datetime)
ArrivalReg: Keeps the customer arrival flight information. Arrival flight list in in common.asmx. by using(string)(required)
GetArrivalFlightDS: method can be transferred into a combobox.
DeparutureReg: Keeps the customer departure flight information. Departure flight list is in common.asmx. by using (string) (required)
GetDepartureFlightDS: method it can be transferred into a combobox.
Nationalty: Keeps the customer nationality. You can take it from GetNationaltyDS from Common.asmx .(string)(required)
CustTraceNum:: It has been using for a special aim , it is a customer trace number.(string)
ID: Ascending order.(int) (required)
Properties of ResHotel Class:
OrdNum: It is an order number. Starting from 1 with ascending order.(int)
CinDate: Keeps the check in date into hotel.(datetime)
CoutDate: Keeps the check out date from hotel.(datetime)
Day: Keeps the accomodation day number in the hotel.(int)
HotelCode: Hotel code information. ın Common.asmx by using(string)
GetHotelsCodeAndNameDS: Method hotel codes and descriptions can be transferred into a combobox as a list.
HotelName: Keeps the hotel name. It is not obligatory to enter.(string)
RoomTypeCode: Keeps the room type information. ın Common.asmx by using getRoomDS method room codes and descriptions can be transferred into a combobox as a list.(string)
RoomTypeName: Keeps the Room type description. It is not obligatory to enter.(string)
RoomCode: Keeps the room information. ın Common.asmx by using getRoomDS method room codes and descriptions can be transferred into a combobox as a list.(string)
RoomName: Keeps the Room description. It is not obligatory to enter.(string)
BoardCode: Keeps the board code. In Common.asmx by using getBoardDS method board codes and descriptions can be transferred into a combobox as a list.(string)
BoardName: Keeps the board description. It is not obligatory to enter.(string)
Adult: Keeps the adult number in the room.(int)
Child: Keeps the child number in the room.(int)
Infant: Keeps the infant number in the room.(int)
ResStatus: Keeps the reservation status. * or ? values. Release control, allotment control, stopsale control are made to be able to determine the value to be used. The methods are making this control: Releasecontrol in Reservation.asmx, (for Old Allotment module) StopSaleControl in Reservation.asmx, AllotmentControl in Reservation.asmx.(for Old Allotment module)(string)
HotelNote: It ıs used if there is a note for the room.(string) (maximum length = 200)
ArrTrf: If there is arrival transfer, it is true , if there is not ,it is false.(boolean)
OnlyTransfer: If there is only transfer, it is true , if there is not ,it is false.(boolean)
DepTrf: If there is departure transfer, it is true , if there is not ,it is false.(boolean)
ArrTransferType: If there is arrival transfer, it keeps the arrival transfer type information. In Common.asmx by using getTransferDS method the transfer code and description can be transferred in to combobox as a list.(string)
DepTransferType: If there is departure transfer, it keeps the departure transfer type information. In Common.asmx by using getTransferDS method the transfer code and description can be transferred in to combobox as a list.(string)
TransferNote: If there is transfer note can be entered.(string)(maximum length = 300)
SpecialCode,Code2,Code3,Code4: Special codes can be entered. It is not obligatory to use.(string)
AllotmentType: It is taken from GetAllotmentTypeStr method.(string)
InternNote: Using for the internal notes.(string)(maximum length = 200)
CustomerOpr[]: It matches the room information and the customer information with each other. It's obligatory to use.
Properties of CustomerOpr Class:
CustNum: Linked ıd numbers of the customers.
ResOrderNum: Linked with OrdNum in ResHotel
CinDate: Linked with CinDate in ResHotel
Last Update Date: 21.03.2017

Request Sample

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <MultiMakeReservation xmlns="http://www.sansejour.com/">
      <token>a2374139-bd6d-4c42-9a9e-010dbff4f360</token>
      <ri>
  <OnlyCalculate>false</OnlyCalculate>
  <Voucher />
  <source>0</source>
  <OnlyHotel>false</OnlyHotel>
  <voucherNote />
  <customer>
    <Customer>
      <DefaultHotelCode />
      <SubVoucher>TEST12345678910</SubVoucher>
      <Title>Mr</Title>
      <Name>AAAAAAA</Name>
      <Gt>U</Gt>
      <Dt>U</Dt>
      <Age>20</Age>
      <ArrivalReg>ARR ?</ArrivalReg>
      <DeparutureReg>DEP ?</DeparutureReg>
      <TourPackage />
      <Nationalty>ING</Nationalty>
      <BirthDate>1993-11-01T00:00:00</BirthDate>
      <ApplyVisa>true</ApplyVisa>
      <checkApplyVisaFromNationality>true</checkApplyVisaFromNationality>
      <RezServis />
      <ID>1</ID>
    </Customer>
    <Customer>
      <DefaultHotelCode />
      <SubVoucher>TEST12345678910</SubVoucher>
      <Title>Mrs</Title>
      <Name>BBBBBBBB</Name>
      <Gt>U</Gt>
      <Dt>U</Dt>
      <Age>20</Age>
      <ArrivalReg>ARR ?</ArrivalReg>
      <DeparutureReg>DEP ?</DeparutureReg>
      <TourPackage />
      <Nationalty>ING</Nationalty>
      <BirthDate>1993-11-01T00:00:00</BirthDate>
      <ApplyVisa>true</ApplyVisa>
      <checkApplyVisaFromNationality>true</checkApplyVisaFromNationality>
      <RezServis />
      <ID>2</ID>
    </Customer>
  </customer>
  <resHotel>
    <ResHotel>
      <OrdNum>1</OrdNum>
      <HotelCode>TST</HotelCode>
      <HotelName>TEST HOTEL</HotelName>
      <Cindate>2013-11-22T00:00:00</Cindate>
      <CoutDate>2013-11-29T00:00:00</CoutDate>
      <Day>7</Day>
      <RoomCode>DBL</RoomCode>
      <RoomName>DBL</RoomName>
      <RoomTypeCode>STD</RoomTypeCode>
      <RoomTypeName>STD</RoomTypeName>
      <BoardCode>AI</BoardCode>
      <BoardName>AI</BoardName>
      <Adult>2</Adult>
      <Child>0</Child>
      <Infant>0</Infant>
      <ResStatus>*</ResStatus>
      <HotelNote />
      <ArrTrf>true</ArrTrf>
      <OnlyTransfer>false</OnlyTransfer>
      <OnlyService>false</OnlyService>
      <DepTrf>true</DepTrf>
      <SpecialCode />
      <SatFTip>0</SatFTip>
      <AllotmentType>N</AllotmentType>
      <HoneyMooners>false</HoneyMooners>
      <SellDate>2013-11-22T00:00:00+02:00</SellDate>
      <TransferNote />
      <Code2 />
      <Code3 />
      <Code4 />
      <ConfNo />
      <ArrTransferType>GROUP</ArrTransferType>
      <DepTransferType>GROUP</DepTransferType>
      <RGT />
      <RDT />
      <RGelisYeri />
      <RvarisYeri />
      <InternNote />
      <FlightCode />
      <FlightClass />
      <CustomerOpr>
        <CustomerOpr>
          <CustNum>1</CustNum>
          <ResOrderNum>1</ResOrderNum>
          <CinDate>2013-11-22T00:00:00</CinDate>
        </CustomerOpr>
        <CustomerOpr>
          <CustNum>2</CustNum>
          <ResOrderNum>1</ResOrderNum>
          <CinDate>2013-11-22T00:00:00</CinDate>
        </CustomerOpr>
      </CustomerOpr>
      <EkAllotStr />
      <TrenDepBolge />
      <TrenArrBolge />
      <MobileServiceType />
      <HotelType />
      <HandFeeType />
      <AllDaysFreeSale>N</AllDaysFreeSale>
    </ResHotel>
  </resHotel>
  </ri>
      <isB2B>false</isB2B>
    </MultiMakeReservation>
  </soap:Body>
</soap:Envelope>

Response Sample

<?xml version="1.0" encoding="utf-8"?>
<ReservationResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ReservationOK>true</ReservationOK>
  <Message>Voucher is being recorded successfully</Message>
  <Message2 />
  <TrfCalcMessage>No Transfer rates available , Please contact Agency</TrfCalcMessage>
  <VoucherNo>33000396</VoucherNo>
</ReservationResult>

PriceSearch

Parameters Sent: Returning Parameter:
token: I It is the token code used for the entry to the system. (string)
CheckIn: Check in date. (datetime)
HoneyMoon: There is honeymooner special offer , it displays. (true= yes,false= no) value types. (boolean)
OnlyAvailable: True , False when it is true it brings only available results. Otherwise on-request and available hotels comes together.(boolean)
Currency Currency code.(string)(nullable)
HotelCode Hotel code information. If you want to multi hotel search. You must separate your hotel code with semicolon (;) (string)(nullable)
RoomCode Room information of the hotel to be search. Room codes recorded in sejour database from Common.asmx by using GetRooms method can be transferred to combobox .and selection is made from here.(string)(nullable)
RoomTypeCode Room type information of the hotel to be search. Room type codes recorded in sejour database Common.asmx by using GetRoomTypes method can be transferred into a combobox. And selection is made from here.(string)(nullable)
BoardCode board information of the hotel to be search. Board codes recorded in sejour database from Common.asmx by using GetBoards method can be transferred into combobox. And selection is made from here.(string)(nullable) PriceSearchResult :
CalculateHandlingFee Handling Fee calculation status.(bool) Successful: If error occurred during the processing. It returns false.
HandFeeType HandFee code.(string) Message : If Successful property is false. It returns error message.
CalculateTransfer Transfer calculation status.(bool) RoomOffers : RoomOffers is the class which have all information about price list.(array of SejourRoomOffer)
TransferCriteria Transfer information.(array)
TransferCriteria Detail:
ArrivalTransferType Transfer code(string)
DepartureTransferOK Departure transfer status(bool)
DepartureTransferType Transfer code(string)
Airport Airport code(string)
TransferRegion TransferRegion code(string)
RoomCriteria Room pax information.(array)
RoomCriteria Detail:
Adult pax as Adult(numeric)
Child pax as Child(numeric)
ChildAges Child age information(array)(nullable)
ChildAges Detail Child age information(array)
int :Child age.(numeric)
Properties of SejourRoomOffer Class:
RoomNumber: Room number which is specifying the requested room number.(numeric)
OfferID: First result ID.Identity of Offers per RoomNumberResHotel (numeric)
PublishDate: for returned price.(datetime)
Night: Accomodation night.(numeric)
CInDate: Check in date.(datetime)
COutDate: Check out date.(datetime)
Adult: Adult number.(numeric)
Child: Child number.(numeric)
TourOperator: Tour operator code.(string)
Hotel: Hotel code.(string)
HotelName: Hotel name.(string)
Room: Room code.(string)
RoomName: Room name.(string)
RoomType: RoomType code.(string)
RoomTypeName: RoomType code.(string)
Board: Board code.(string)
BoardName: Board name.(string)
Category: Hotel Category.(string)
Currency: Currency code.(string)
Region: Hotel region code.(string)
RegionName: Hotel region name.(string)
TrfRegion: Hotel transfer region code.(string)
TrfRegionName: Hotel transfer region name.(string)
AvailabilityStatus: Availability status, Ok, On-request(Request) (string)
AvailabilityStatusDesc: Availability status description (string)
HotelNetPrice: Hotel Net price of search offer (double)
HotelPrice: Hotel price of search offer (double)
TotalPrice: Total price of search offer (double)
AllotmentType: Allotment type information as N=Normal, G=Guarantied(string)
ExtraPrice: Extra price of search offer (double)
KickbackPrice: KickbackPrice of search offer(double)
HandlingFeePrice: Handling Fee price of search offer (double)
TransferPrice: Transfer price of search offer. (double)
AvailableRoomCount: Remaining available room count for responded room and responded room type(int)
AllotmentBaseRoom: The main room code is which will used by allotment. (string)
AllotmentBaseRoomType: The main room type code is which will used by allotment. (string)
Rates: Rates node are returning with the daily prices for specified room offers in search results. xml return with each date price starting from 1,2,3..etc.(array of DailyRate)
Properties of DailyRate Class:
RateID: Rate order ID(numeric)
Date: Rate date.(datetime)
Amount: Amount of day.(double)
PriceType: Price type information.K=Per Person ,O= Per Room, A=Per Apart
AdultPrice: Adult Price of day(double)
Period: Season period code.(string)
PeriodInfo: Period information.It contains PeriodType,PeriodBeginDate,PeriodEndDate (class)
ExtrabedPrice: Extra bed price of day(double)
ApartPrice: Apart price of day(double)
Chd1Price: Child 1 price of day(double)
Chd1Price: Child 2 price of day(double)
Chd1Price: Child 3 price of day(double)
Chd1Price: Child 4 price of day(double)
SpoInfos: array of SpoInfo(SpoNo = SPO Number ,SpoType= SPO Type Code)(class)
AccomodationPrice: AccomodationPrice price of day(double)
DayPromotionAppliedType: If It is 0. It means There is no applied day promotion on that date.If It is 1. It means Day promotion applied only for adult on that date.If It is 2. It means Day promotion applied for everyone on that date.(byte)
Properties of PeriodInfo Class:
PeriodType: It is the period's type code. It can be ('B' or 'Y'). B for Arrival (Check in). Y for Stay.
PeriodBeginDate: Sale period's begin date.(date)
PeriodEndDate: Sale period's end date.(date)
Last Update Date: 21.03.2017

Request Sample

<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <PriceSearch xmlns="http://www.sansejour.com/">
      <token>5349d55b-f7f0-4ab2-9cf5-49bf891a603b</token>
      <searchRequest>
        <CheckIn>2015-04-16T00:00:00</CheckIn>
        <Night>3</Night>
        <HoneyMoon>false</HoneyMoon>
        <OnlyAvailable>false</OnlyAvailable>
        <Currency />
        <HotelCode>EFTELI</HotelCode>
        <RegionCode />
        <CategoryCode />
        <RoomCode />
        <RoomTypeCode />
        <BoardCode />
        <CalculateHandlingFee>false</CalculateHandlingFee>
        <HandFeeType />
        <CalculateTransfer>false</CalculateTransfer>
        <TransferCriteria/>
        <RoomCriterias>
          <RoomCriteria>
            <Adult>2</Adult>
            <Child>0</Child>
            <ChildAges/>
          </RoomCriteria>
        </RoomCriterias>
      </searchRequest>
    </PriceSearch>
  </soap:Body>
</soap:Envelope>

Response Sample

<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <PriceSearchResponse xmlns="http://www.sansejour.com/">
      <PriceSearchResult>
        <Successful>true</Successful>
        <RoomOffers>
          <SejourRoomOffer>
            <RoomNumber>1</RoomNumber>
            <OfferID>1</OfferID>
            <PublishDate>2014-11-20T00:00:00+02:00</PublishDate>
            <Night>3</Night>
            <CInDate>2015-04-16T00:00:00</CInDate>
            <COutDate>2015-04-19T00:00:00</COutDate>
            <Adult>2</Adult>
            <Child>0</Child>
            <TourOperator>ALFA</TourOperator>
            <Hotel>EFTELI</Hotel>
            <HotelName>EFTELIA RESORT</HotelName>
            <Room>2AD</Room>
            <RoomName>2 ADULT</RoomName>
            <RoomType>FAM</RoomType>
            <RoomTypeName>FAMILY ROOM</RoomTypeName>
            <Board>AI+</Board>
            <BoardName>ALL INCLUSIVE PLUS</BoardName>
            <Category>5*</Category>
            <Currency>USD</Currency>
            <Region>ANT</Region>
            <RegionName>ANTALYA CITY</RegionName>
            <TrfRegion>ANT</TrfRegion>
            <TrfRegionName>ANTALYA CITY</TrfRegionName>
            <AvailabilityStatus>Ok</AvailabilityStatus>
            <AvailabilityStatusDesc>Available</AvailabilityStatusDesc>
            <HotelNetPrice>118.8</HotelNetPrice>
            <HotelPrice>118.8</HotelPrice>
            <TotalPrice>118.8</TotalPrice>
            <AllotmentType>N</AllotmentType>
            <ExtraPrice>0</ExtraPrice>
            <KickbackPrice>0</KickbackPrice>
            <HandlingFeePrice>0</HandlingFeePrice>
            <TransferPrice>0</TransferPrice>
            <NewCancelRules>false</NewCancelRules>
            <AvailableRoomCount>50</AvailableRoomCount>
            <AllotmentBaseRoom>2AD</AllotmentBaseRoom>
            <AllotmentBaseRoomType />
            <Rates>
              <DailyRate>
                <RateID>1</RateID>
                <Date>2015-04-16T00:00:00</Date>
                <Amount>0</Amount>
                <Room>2AD</Room>
                <RoomType>FAM</RoomType>
                <Board>AI+</Board>
                <PriceType>K</PriceType>
                <AdultPrice>19.8</AdultPrice>
                <Currency>USD</Currency>
                <Period>C</Period>
                <PeriodInfo>
                  <PeriodType>Y</PeriodType>
                  <PeriodBeginDate>2015-03-01T00:00:00</PeriodBeginDate>
                  <PeriodEndDate>2015-04-30T00:00:00</PeriodEndDate>
                </PeriodInfo>
                <Extrabed>0</Extrabed>
                <ExtrabedPrice>0</ExtrabedPrice>
                <ApartPrice>0</ApartPrice>
                <AllotmentType>N</AllotmentType>
                <Chd1Price>0</Chd1Price>
                <Chd2Price>0</Chd2Price>
                <Chd3Price>0</Chd3Price>
                <Chd4Price>0</Chd4Price>
                <WeekendPrice>false</WeekendPrice>
                <SPOBoardDifference>0</SPOBoardDifference>
                <SPOExtBedDifference>0</SPOExtBedDifference>
                <SpoInfos />
                <PriceTourOperator>ALFA</PriceTourOperator>
                <AccomodationPrice>39.6</AccomodationPrice>
                <EbtPrice>0</EbtPrice>
                <ExtraPrice>0</ExtraPrice>
                <KickBackPrice>0</KickBackPrice>
                <DayPromotionAppliedType>0</DayPromotionAppliedType>
                <EbExtPercent>0</EbExtPercent>
                <KbDayPromotionApplyType>true</KbDayPromotionApplyType>
              </DailyRate>
              <DailyRate>
                <RateID>2</RateID>
                <Date>2015-04-17T00:00:00</Date>
                <Amount>0</Amount>
                <Room>2AD</Room>
                <RoomType>FAM</RoomType>
                <Board>AI+</Board>
                <PriceType>K</PriceType>
                <AdultPrice>19.8</AdultPrice>
                <Currency>USD</Currency>
                <Period>C</Period>
                <PeriodInfo>
                  <PeriodType>Y</PeriodType>
                  <PeriodBeginDate>2015-03-01T00:00:00</PeriodBeginDate>
                  <PeriodEndDate>2015-04-30T00:00:00</PeriodEndDate>
                </PeriodInfo>
                <Extrabed>0</Extrabed>
                <ExtrabedPrice>0</ExtrabedPrice>
                <ApartPrice>0</ApartPrice>
                <AllotmentType>N</AllotmentType>
                <Chd1Price>0</Chd1Price>
                <Chd2Price>0</Chd2Price>
                <Chd3Price>0</Chd3Price>
                <Chd4Price>0</Chd4Price>
                <WeekendPrice>false</WeekendPrice>
                <SPOBoardDifference>0</SPOBoardDifference>
                <SPOExtBedDifference>0</SPOExtBedDifference>
                <SpoInfos />
                <PriceTourOperator>ALFA</PriceTourOperator>
                <AccomodationPrice>39.6</AccomodationPrice>
                <EbtPrice>0</EbtPrice>
                <ExtraPrice>0</ExtraPrice>
                <KickBackPrice>0</KickBackPrice>
                <DayPromotionAppliedType>0</DayPromotionAppliedType>
                <EbExtPercent>0</EbExtPercent>
                <KbDayPromotionApplyType>true</KbDayPromotionApplyType>
              </DailyRate>
              <DailyRate>
                <RateID>3</RateID>
                <Date>2015-04-18T00:00:00</Date>
                <Amount>0</Amount>
                <Room>2AD</Room>
                <RoomType>FAM</RoomType>
                <Board>AI+</Board>
                <PriceType>K</PriceType>
                <AdultPrice>19.8</AdultPrice>
                <Currency>USD</Currency>
                <Period>C</Period>
                <PeriodInfo>
                  <PeriodType>Y</PeriodType>
                  <PeriodBeginDate>2015-03-01T00:00:00</PeriodBeginDate>
                  <PeriodEndDate>2015-04-30T00:00:00</PeriodEndDate>
                </PeriodInfo>
                <Extrabed>0</Extrabed>
                <ExtrabedPrice>0</ExtrabedPrice>
                <ApartPrice>0</ApartPrice>
                <AllotmentType>N</AllotmentType>
                <Chd1Price>0</Chd1Price>
                <Chd2Price>0</Chd2Price>
                <Chd3Price>0</Chd3Price>
                <Chd4Price>0</Chd4Price>
                <WeekendPrice>false</WeekendPrice>
                <SPOBoardDifference>0</SPOBoardDifference>
                <SPOExtBedDifference>0</SPOExtBedDifference>
                <SpoInfos />
                <PriceTourOperator>ALFA</PriceTourOperator>
                <AccomodationPrice>39.6</AccomodationPrice>
                <EbtPrice>0</EbtPrice>
                <ExtraPrice>0</ExtraPrice>
                <KickBackPrice>0</KickBackPrice>
                <DayPromotionAppliedType>0</DayPromotionAppliedType>
                <EbExtPercent>0</EbExtPercent>
                <KbDayPromotionApplyType>true</KbDayPromotionApplyType>
              </DailyRate>
            </Rates>
          </SejourRoomOffer>
        </RoomOffers>
      </PriceSearchResult>
    </PriceSearchResponse>
  </soap:Body>
</soap:Envelope>