Reservation
Click here for a complete list of operations.
PriceSearch
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/PriceSearch"
<?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>
<PriceSearch xmlns="http://www.sansejour.com/">
<token>string</token>
<searchRequest>
<CheckIn>dateTime</CheckIn>
<Night>int</Night>
<HoneyMoon>boolean</HoneyMoon>
<OnlyAvailable>boolean</OnlyAvailable>
<Currency>string</Currency>
<HotelCode>string</HotelCode>
<RegionCode>string</RegionCode>
<TransferRegionCode>string</TransferRegionCode>
<CategoryCode>string</CategoryCode>
<RoomCode>string</RoomCode>
<RoomTypeCode>string</RoomTypeCode>
<BoardCode>string</BoardCode>
<CalculateHandlingFee>boolean</CalculateHandlingFee>
<HandFeeType>string</HandFeeType>
<CalculateTransfer>boolean</CalculateTransfer>
<ShowPaymentPlanInfo>boolean</ShowPaymentPlanInfo>
<TransferCriteria>
<ArrivalTransferType>string</ArrivalTransferType>
<DepartureTransferOK>boolean</DepartureTransferOK>
<DepartureTransferType>string</DepartureTransferType>
<Airport>string</Airport>
<DepartureAirport>string</DepartureAirport>
<TransferRegion>string</TransferRegion>
</TransferCriteria>
<RoomCriterias>
<RoomCriteria>
<Adult>int</Adult>
<AdultAges xsi:nil="true" />
<Child>int</Child>
<ChildAges xsi:nil="true" />
<NationalityCode>string</NationalityCode>
</RoomCriteria>
<RoomCriteria>
<Adult>int</Adult>
<AdultAges xsi:nil="true" />
<Child>int</Child>
<ChildAges xsi:nil="true" />
<NationalityCode>string</NationalityCode>
</RoomCriteria>
</RoomCriterias>
<AdditionalParameters>
<AdditionalParameter>
<Name>string</Name>
<Value>string</Value>
</AdditionalParameter>
<AdditionalParameter>
<Name>string</Name>
<Value>string</Value>
</AdditionalParameter>
</AdditionalParameters>
<RequestID>string</RequestID>
<RequestDatetime>dateTime</RequestDatetime>
<ShowHotelRemarksinPriceSearch>boolean</ShowHotelRemarksinPriceSearch>
<MakeControlWebParamForPaximum>boolean</MakeControlWebParamForPaximum>
</searchRequest>
</PriceSearch>
</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>
<PriceSearchResponse xmlns="http://www.sansejour.com/">
<PriceSearchResult>
<Successful>boolean</Successful>
<Message>string</Message>
<MessageCode>string</MessageCode>
<RoomOffers>
<SejourRoomOffer>
<RoomNumber>int</RoomNumber>
<OfferID>int</OfferID>
<OfferGuidID>string</OfferGuidID>
<PublishDate>dateTime</PublishDate>
<Night>int</Night>
<CInDate>dateTime</CInDate>
<COutDate>dateTime</COutDate>
<Adult>unsignedByte</Adult>
<AdultAges xsi:nil="true" />
<Child>unsignedByte</Child>
<ChildAges xsi:nil="true" />
<TourOperator>string</TourOperator>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Room>string</Room>
<RoomName>string</RoomName>
<RoomType>string</RoomType>
<RoomTypeName>string</RoomTypeName>
<Board>string</Board>
<BoardName>string</BoardName>
<Category>string</Category>
<Currency>string</Currency>
<Region>string</Region>
<RegionName>string</RegionName>
<TrfRegion>string</TrfRegion>
<TrfRegionName>string</TrfRegionName>
<AvailabilityStatus>string</AvailabilityStatus>
<AvailabilityStatusDesc>string</AvailabilityStatusDesc>
<HotelNetPrice>double</HotelNetPrice>
<HotelPrice>double</HotelPrice>
<TotalPrice>double</TotalPrice>
<AllotmentType>string</AllotmentType>
<ExtraPrice>double</ExtraPrice>
<KickbackPrice>double</KickbackPrice>
<HandlingFeePrice>double</HandlingFeePrice>
<TransferPrice>double</TransferPrice>
<Web>string</Web>
<NewCancelRules>boolean</NewCancelRules>
<AvailableRoomCount>int</AvailableRoomCount>
<AllotmentBaseRoom>string</AllotmentBaseRoom>
<AllotmentBaseRoomType>string</AllotmentBaseRoomType>
<Release>int</Release>
<MinStay>short</MinStay>
<MaxStay>short</MaxStay>
<Rates xsi:nil="true" />
<Remarks xsi:nil="true" />
<UPGDetails xsi:nil="true" />
<CalculatedExtras xsi:nil="true" />
<CalculatedSPOs xsi:nil="true" />
<ContractPaymentPlan xsi:nil="true" />
<NationalityCode>string</NationalityCode>
<ContractPrice>double</ContractPrice>
<AccommodationPrice>double</AccommodationPrice>
</SejourRoomOffer>
<SejourRoomOffer>
<RoomNumber>int</RoomNumber>
<OfferID>int</OfferID>
<OfferGuidID>string</OfferGuidID>
<PublishDate>dateTime</PublishDate>
<Night>int</Night>
<CInDate>dateTime</CInDate>
<COutDate>dateTime</COutDate>
<Adult>unsignedByte</Adult>
<AdultAges xsi:nil="true" />
<Child>unsignedByte</Child>
<ChildAges xsi:nil="true" />
<TourOperator>string</TourOperator>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Room>string</Room>
<RoomName>string</RoomName>
<RoomType>string</RoomType>
<RoomTypeName>string</RoomTypeName>
<Board>string</Board>
<BoardName>string</BoardName>
<Category>string</Category>
<Currency>string</Currency>
<Region>string</Region>
<RegionName>string</RegionName>
<TrfRegion>string</TrfRegion>
<TrfRegionName>string</TrfRegionName>
<AvailabilityStatus>string</AvailabilityStatus>
<AvailabilityStatusDesc>string</AvailabilityStatusDesc>
<HotelNetPrice>double</HotelNetPrice>
<HotelPrice>double</HotelPrice>
<TotalPrice>double</TotalPrice>
<AllotmentType>string</AllotmentType>
<ExtraPrice>double</ExtraPrice>
<KickbackPrice>double</KickbackPrice>
<HandlingFeePrice>double</HandlingFeePrice>
<TransferPrice>double</TransferPrice>
<Web>string</Web>
<NewCancelRules>boolean</NewCancelRules>
<AvailableRoomCount>int</AvailableRoomCount>
<AllotmentBaseRoom>string</AllotmentBaseRoom>
<AllotmentBaseRoomType>string</AllotmentBaseRoomType>
<Release>int</Release>
<MinStay>short</MinStay>
<MaxStay>short</MaxStay>
<Rates xsi:nil="true" />
<Remarks xsi:nil="true" />
<UPGDetails xsi:nil="true" />
<CalculatedExtras xsi:nil="true" />
<CalculatedSPOs xsi:nil="true" />
<ContractPaymentPlan xsi:nil="true" />
<NationalityCode>string</NationalityCode>
<ContractPrice>double</ContractPrice>
<AccommodationPrice>double</AccommodationPrice>
</SejourRoomOffer>
</RoomOffers>
<RequestID>string</RequestID>
<ResponseDatetime>dateTime</ResponseDatetime>
</PriceSearchResult>
</PriceSearchResponse>
</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>
<PriceSearch xmlns="http://www.sansejour.com/">
<token>string</token>
<searchRequest>
<CheckIn>dateTime</CheckIn>
<Night>int</Night>
<HoneyMoon>boolean</HoneyMoon>
<OnlyAvailable>boolean</OnlyAvailable>
<Currency>string</Currency>
<HotelCode>string</HotelCode>
<RegionCode>string</RegionCode>
<TransferRegionCode>string</TransferRegionCode>
<CategoryCode>string</CategoryCode>
<RoomCode>string</RoomCode>
<RoomTypeCode>string</RoomTypeCode>
<BoardCode>string</BoardCode>
<CalculateHandlingFee>boolean</CalculateHandlingFee>
<HandFeeType>string</HandFeeType>
<CalculateTransfer>boolean</CalculateTransfer>
<ShowPaymentPlanInfo>boolean</ShowPaymentPlanInfo>
<TransferCriteria>
<ArrivalTransferType>string</ArrivalTransferType>
<DepartureTransferOK>boolean</DepartureTransferOK>
<DepartureTransferType>string</DepartureTransferType>
<Airport>string</Airport>
<DepartureAirport>string</DepartureAirport>
<TransferRegion>string</TransferRegion>
</TransferCriteria>
<RoomCriterias>
<RoomCriteria>
<Adult>int</Adult>
<AdultAges xsi:nil="true" />
<Child>int</Child>
<ChildAges xsi:nil="true" />
<NationalityCode>string</NationalityCode>
</RoomCriteria>
<RoomCriteria>
<Adult>int</Adult>
<AdultAges xsi:nil="true" />
<Child>int</Child>
<ChildAges xsi:nil="true" />
<NationalityCode>string</NationalityCode>
</RoomCriteria>
</RoomCriterias>
<AdditionalParameters>
<AdditionalParameter>
<Name>string</Name>
<Value>string</Value>
</AdditionalParameter>
<AdditionalParameter>
<Name>string</Name>
<Value>string</Value>
</AdditionalParameter>
</AdditionalParameters>
<RequestID>string</RequestID>
<RequestDatetime>dateTime</RequestDatetime>
<ShowHotelRemarksinPriceSearch>boolean</ShowHotelRemarksinPriceSearch>
<MakeControlWebParamForPaximum>boolean</MakeControlWebParamForPaximum>
</searchRequest>
</PriceSearch>
</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>
<PriceSearchResponse xmlns="http://www.sansejour.com/">
<PriceSearchResult>
<Successful>boolean</Successful>
<Message>string</Message>
<MessageCode>string</MessageCode>
<RoomOffers>
<SejourRoomOffer>
<RoomNumber>int</RoomNumber>
<OfferID>int</OfferID>
<OfferGuidID>string</OfferGuidID>
<PublishDate>dateTime</PublishDate>
<Night>int</Night>
<CInDate>dateTime</CInDate>
<COutDate>dateTime</COutDate>
<Adult>unsignedByte</Adult>
<AdultAges xsi:nil="true" />
<Child>unsignedByte</Child>
<ChildAges xsi:nil="true" />
<TourOperator>string</TourOperator>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Room>string</Room>
<RoomName>string</RoomName>
<RoomType>string</RoomType>
<RoomTypeName>string</RoomTypeName>
<Board>string</Board>
<BoardName>string</BoardName>
<Category>string</Category>
<Currency>string</Currency>
<Region>string</Region>
<RegionName>string</RegionName>
<TrfRegion>string</TrfRegion>
<TrfRegionName>string</TrfRegionName>
<AvailabilityStatus>string</AvailabilityStatus>
<AvailabilityStatusDesc>string</AvailabilityStatusDesc>
<HotelNetPrice>double</HotelNetPrice>
<HotelPrice>double</HotelPrice>
<TotalPrice>double</TotalPrice>
<AllotmentType>string</AllotmentType>
<ExtraPrice>double</ExtraPrice>
<KickbackPrice>double</KickbackPrice>
<HandlingFeePrice>double</HandlingFeePrice>
<TransferPrice>double</TransferPrice>
<Web>string</Web>
<NewCancelRules>boolean</NewCancelRules>
<AvailableRoomCount>int</AvailableRoomCount>
<AllotmentBaseRoom>string</AllotmentBaseRoom>
<AllotmentBaseRoomType>string</AllotmentBaseRoomType>
<Release>int</Release>
<MinStay>short</MinStay>
<MaxStay>short</MaxStay>
<Rates xsi:nil="true" />
<Remarks xsi:nil="true" />
<UPGDetails xsi:nil="true" />
<CalculatedExtras xsi:nil="true" />
<CalculatedSPOs xsi:nil="true" />
<ContractPaymentPlan xsi:nil="true" />
<NationalityCode>string</NationalityCode>
<ContractPrice>double</ContractPrice>
<AccommodationPrice>double</AccommodationPrice>
</SejourRoomOffer>
<SejourRoomOffer>
<RoomNumber>int</RoomNumber>
<OfferID>int</OfferID>
<OfferGuidID>string</OfferGuidID>
<PublishDate>dateTime</PublishDate>
<Night>int</Night>
<CInDate>dateTime</CInDate>
<COutDate>dateTime</COutDate>
<Adult>unsignedByte</Adult>
<AdultAges xsi:nil="true" />
<Child>unsignedByte</Child>
<ChildAges xsi:nil="true" />
<TourOperator>string</TourOperator>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Room>string</Room>
<RoomName>string</RoomName>
<RoomType>string</RoomType>
<RoomTypeName>string</RoomTypeName>
<Board>string</Board>
<BoardName>string</BoardName>
<Category>string</Category>
<Currency>string</Currency>
<Region>string</Region>
<RegionName>string</RegionName>
<TrfRegion>string</TrfRegion>
<TrfRegionName>string</TrfRegionName>
<AvailabilityStatus>string</AvailabilityStatus>
<AvailabilityStatusDesc>string</AvailabilityStatusDesc>
<HotelNetPrice>double</HotelNetPrice>
<HotelPrice>double</HotelPrice>
<TotalPrice>double</TotalPrice>
<AllotmentType>string</AllotmentType>
<ExtraPrice>double</ExtraPrice>
<KickbackPrice>double</KickbackPrice>
<HandlingFeePrice>double</HandlingFeePrice>
<TransferPrice>double</TransferPrice>
<Web>string</Web>
<NewCancelRules>boolean</NewCancelRules>
<AvailableRoomCount>int</AvailableRoomCount>
<AllotmentBaseRoom>string</AllotmentBaseRoom>
<AllotmentBaseRoomType>string</AllotmentBaseRoomType>
<Release>int</Release>
<MinStay>short</MinStay>
<MaxStay>short</MaxStay>
<Rates xsi:nil="true" />
<Remarks xsi:nil="true" />
<UPGDetails xsi:nil="true" />
<CalculatedExtras xsi:nil="true" />
<CalculatedSPOs xsi:nil="true" />
<ContractPaymentPlan xsi:nil="true" />
<NationalityCode>string</NationalityCode>
<ContractPrice>double</ContractPrice>
<AccommodationPrice>double</AccommodationPrice>
</SejourRoomOffer>
</RoomOffers>
<RequestID>string</RequestID>
<ResponseDatetime>dateTime</ResponseDatetime>
</PriceSearchResult>
</PriceSearchResponse>
</soap12:Body>
</soap12:Envelope>