Import
Click here for a complete list of operations.
ImportHotelExtras
Import Hotel Extras
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 /Import.asmx HTTP/1.1
Host: sejourapi.royalstartravel.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.sansejour.com/ImportHotelExtras"
<?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>
<ImportHotelExtras xmlns="http://www.sansejour.com/">
<token>string</token>
<parameters>
<HotelExtras>
<ExtraCode>string</ExtraCode>
<BegDate>dateTime</BegDate>
<EndDate>dateTime</EndDate>
<Operator>string</Operator>
<Hotel>string</Hotel>
<BuyingCurr>string</BuyingCurr>
<BuyingAdultPrice>float</BuyingAdultPrice>
<BuyingChdAge1>short</BuyingChdAge1>
<BuyingChdAge2>short</BuyingChdAge2>
<BuyingChdPrice>float</BuyingChdPrice>
<SellingCurr>string</SellingCurr>
<SellingAdultPrice>float</SellingAdultPrice>
<SellingChdAge1>short</SellingChdAge1>
<SellingChdAge2>short</SellingChdAge2>
<SellingChdPrice>float</SellingChdPrice>
<PriceType>string</PriceType>
<Type>string</Type>
<BuyingInfAge1>short</BuyingInfAge1>
<BuyingInfAge2>short</BuyingInfAge2>
<BuyingInfPrice>float</BuyingInfPrice>
<SellingInfAge1>short</SellingInfAge1>
<SellingInfAge2>short</SellingInfAge2>
<SellingInfPrice>float</SellingInfPrice>
<Board>string</Board>
<BuyingFirstChdFree>string</BuyingFirstChdFree>
<BuyingFirstINFFree>string</BuyingFirstINFFree>
<SellingFirstChdFree>string</SellingFirstChdFree>
<SellingFirstInfFree>string</SellingFirstInfFree>
<SellingBegDate>dateTime</SellingBegDate>
<SellingEndDate>dateTime</SellingEndDate>
<RoomType>string</RoomType>
<Room>string</Room>
<MinStay>int</MinStay>
<BuyingChd2Age1>short</BuyingChd2Age1>
<BuyingChd2Age2>short</BuyingChd2Age2>
<BuyingChd2Price>float</BuyingChd2Price>
<SellingChd2Age1>short</SellingChd2Age1>
<SellingChd2Age2>short</SellingChd2Age2>
<SellingChd2Price>float</SellingChd2Price>
<MinPax>int</MinPax>
<MaxPax>int</MaxPax>
<MaxStay>int</MaxStay>
</HotelExtras>
</parameters>
</ImportHotelExtras>
</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>
<ImportHotelExtrasResponse xmlns="http://www.sansejour.com/">
<ImportHotelExtrasResult />
</ImportHotelExtrasResponse>
</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 /Import.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>
<ImportHotelExtras xmlns="http://www.sansejour.com/">
<token>string</token>
<parameters>
<HotelExtras>
<ExtraCode>string</ExtraCode>
<BegDate>dateTime</BegDate>
<EndDate>dateTime</EndDate>
<Operator>string</Operator>
<Hotel>string</Hotel>
<BuyingCurr>string</BuyingCurr>
<BuyingAdultPrice>float</BuyingAdultPrice>
<BuyingChdAge1>short</BuyingChdAge1>
<BuyingChdAge2>short</BuyingChdAge2>
<BuyingChdPrice>float</BuyingChdPrice>
<SellingCurr>string</SellingCurr>
<SellingAdultPrice>float</SellingAdultPrice>
<SellingChdAge1>short</SellingChdAge1>
<SellingChdAge2>short</SellingChdAge2>
<SellingChdPrice>float</SellingChdPrice>
<PriceType>string</PriceType>
<Type>string</Type>
<BuyingInfAge1>short</BuyingInfAge1>
<BuyingInfAge2>short</BuyingInfAge2>
<BuyingInfPrice>float</BuyingInfPrice>
<SellingInfAge1>short</SellingInfAge1>
<SellingInfAge2>short</SellingInfAge2>
<SellingInfPrice>float</SellingInfPrice>
<Board>string</Board>
<BuyingFirstChdFree>string</BuyingFirstChdFree>
<BuyingFirstINFFree>string</BuyingFirstINFFree>
<SellingFirstChdFree>string</SellingFirstChdFree>
<SellingFirstInfFree>string</SellingFirstInfFree>
<SellingBegDate>dateTime</SellingBegDate>
<SellingEndDate>dateTime</SellingEndDate>
<RoomType>string</RoomType>
<Room>string</Room>
<MinStay>int</MinStay>
<BuyingChd2Age1>short</BuyingChd2Age1>
<BuyingChd2Age2>short</BuyingChd2Age2>
<BuyingChd2Price>float</BuyingChd2Price>
<SellingChd2Age1>short</SellingChd2Age1>
<SellingChd2Age2>short</SellingChd2Age2>
<SellingChd2Price>float</SellingChd2Price>
<MinPax>int</MinPax>
<MaxPax>int</MaxPax>
<MaxStay>int</MaxStay>
</HotelExtras>
</parameters>
</ImportHotelExtras>
</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>
<ImportHotelExtrasResponse xmlns="http://www.sansejour.com/">
<ImportHotelExtrasResult />
</ImportHotelExtrasResponse>
</soap12:Body>
</soap12:Envelope>