Reservation
Click here for a complete list of operations.
MakeReservationAndGetReservationData
For paximum reservation
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 /Reservation.asmx HTTP/1.1
Host: sejourapi.royalstartravel.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.sansejour.com/MakeReservationAndGetReservationData"
<?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>
<MakeReservationAndGetReservationData xmlns="http://www.sansejour.com/">
<token>string</token>
<ri>
<OnlyCalculate>boolean</OnlyCalculate>
<Voucher>string</Voucher>
<source>int</source>
<OnlyHotel>boolean</OnlyHotel>
<voucherNote>string</voucherNote>
<customer>
<Customer>
<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>
<ArrivalFlightInfo xsi:nil="true" />
<DepartureFlightInfo xsi:nil="true" />
<IdentityNumber>string</IdentityNumber>
<PassportNumber>string</PassportNumber>
<CustPhone>string</CustPhone>
<CustEmail>string</CustEmail>
<CustomerNote>string</CustomerNote>
<CustInfo xsi:nil="true" />
<GuidId>string</GuidId>
</Customer>
<Customer>
<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>
<ArrivalFlightInfo xsi:nil="true" />
<DepartureFlightInfo xsi:nil="true" />
<IdentityNumber>string</IdentityNumber>
<PassportNumber>string</PassportNumber>
<CustPhone>string</CustPhone>
<CustEmail>string</CustEmail>
<CustomerNote>string</CustomerNote>
<CustInfo xsi:nil="true" />
<GuidId>string</GuidId>
</Customer>
</customer>
<resHotel>
<ResHotel>
<DailyHotelAllot>string</DailyHotelAllot>
<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>
<HotelNote>string</HotelNote>
<ArrTrf>boolean</ArrTrf>
<OnlyTransfer>boolean</OnlyTransfer>
<OnlyService>boolean</OnlyService>
<DepTrf>boolean</DepTrf>
<ArrTrfDate>dateTime</ArrTrfDate>
<DepTrfDate>dateTime</DepTrfDate>
<SpecialCode>string</SpecialCode>
<SatFTip>int</SatFTip>
<ServiceTotalPrice>double</ServiceTotalPrice>
<ServiceTotalCurrency>string</ServiceTotalCurrency>
<AllotmentType>string</AllotmentType>
<HoneyMooners>boolean</HoneyMooners>
<InvoicePriceOp>string</InvoicePriceOp>
<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>
<OprNote>string</OprNote>
<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>
<PartnerPrice>float</PartnerPrice>
<PartnerPriceCurr>string</PartnerPriceCurr>
<PartnerID>long</PartnerID>
<SearchID>string</SearchID>
<PromotionRoom>boolean</PromotionRoom>
<GuidId>string</GuidId>
<CalculatedSPOs xsi:nil="true" />
</ResHotel>
<ResHotel>
<DailyHotelAllot>string</DailyHotelAllot>
<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>
<HotelNote>string</HotelNote>
<ArrTrf>boolean</ArrTrf>
<OnlyTransfer>boolean</OnlyTransfer>
<OnlyService>boolean</OnlyService>
<DepTrf>boolean</DepTrf>
<ArrTrfDate>dateTime</ArrTrfDate>
<DepTrfDate>dateTime</DepTrfDate>
<SpecialCode>string</SpecialCode>
<SatFTip>int</SatFTip>
<ServiceTotalPrice>double</ServiceTotalPrice>
<ServiceTotalCurrency>string</ServiceTotalCurrency>
<AllotmentType>string</AllotmentType>
<HoneyMooners>boolean</HoneyMooners>
<InvoicePriceOp>string</InvoicePriceOp>
<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>
<OprNote>string</OprNote>
<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>
<PartnerPrice>float</PartnerPrice>
<PartnerPriceCurr>string</PartnerPriceCurr>
<PartnerID>long</PartnerID>
<SearchID>string</SearchID>
<PromotionRoom>boolean</PromotionRoom>
<GuidId>string</GuidId>
<CalculatedSPOs xsi:nil="true" />
</ResHotel>
</resHotel>
<OwnProvider>boolean</OwnProvider>
<DontWaitForCalculation>boolean</DontWaitForCalculation>
</ri>
<ExpectedPrice>double</ExpectedPrice>
<DeltaPrice>double</DeltaPrice>
<Islocked>string</Islocked>
</MakeReservationAndGetReservationData>
</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 /> </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 /Reservation.asmx HTTP/1.1 Host: sejourapi.royalstartravel.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 /> </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 /> </soap12:Envelope>