Reservation
Click here for a complete list of operations.
priceSearchWithTrf3
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/priceSearchWithTrf3" <?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> <priceSearchWithTrf3 xmlns="http://www.sansejour.com/"> <token>string</token> <selldate>dateTime</selldate> <cindate1>dateTime</cindate1> <cindate2>dateTime</cindate2> <region>string</region> <category>string</category> <room>string</room> <roomtype>string</roomtype> <board>string</board> <hotel>string</hotel> <price1>double</price1> <price2>double</price2> <adl>int</adl> <chd>int</chd> <cy1>int</cy1> <cy2>int</cy2> <cy3>int</cy3> <cy4>int</cy4> <kg1>int</kg1> <kg2>int</kg2> <kg3>int</kg3> <kg4>int</kg4> <Currency>string</Currency> <SPOType>int</SPOType> <priceSearchtype>int</priceSearchtype> <honeym>string</honeym> <comRatio>double</comRatio> <comAmount>double</comAmount> <comAmountDaily>double</comAmountDaily> <flight>double</flight> <other>double</other> <ohm>string</ohm> <calcTrf>boolean</calcTrf> <arrTrfType>string</arrTrfType> <depTrfType>string</depTrfType> <deptrfOk>boolean</deptrfOk> <airport>string</airport> <comissionType>boolean</comissionType> <insuranceTotal>double</insuranceTotal> <isInsuranceTotal>boolean</isInsuranceTotal> <flightCur>string</flightCur> <insuranceCur>string</insuranceCur> <otherCur>string</otherCur> <trfRegion>string</trfRegion> <handFeeType>string</handFeeType> <GetMinPrice>boolean</GetMinPrice> <calcKickBackWebUser>string</calcKickBackWebUser> </priceSearchWithTrf3> </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> <priceSearchWithTrf3Response xmlns="http://www.sansejour.com/"> <priceSearchWithTrf3Result>xml</priceSearchWithTrf3Result> </priceSearchWithTrf3Response> </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> <priceSearchWithTrf3 xmlns="http://www.sansejour.com/"> <token>string</token> <selldate>dateTime</selldate> <cindate1>dateTime</cindate1> <cindate2>dateTime</cindate2> <region>string</region> <category>string</category> <room>string</room> <roomtype>string</roomtype> <board>string</board> <hotel>string</hotel> <price1>double</price1> <price2>double</price2> <adl>int</adl> <chd>int</chd> <cy1>int</cy1> <cy2>int</cy2> <cy3>int</cy3> <cy4>int</cy4> <kg1>int</kg1> <kg2>int</kg2> <kg3>int</kg3> <kg4>int</kg4> <Currency>string</Currency> <SPOType>int</SPOType> <priceSearchtype>int</priceSearchtype> <honeym>string</honeym> <comRatio>double</comRatio> <comAmount>double</comAmount> <comAmountDaily>double</comAmountDaily> <flight>double</flight> <other>double</other> <ohm>string</ohm> <calcTrf>boolean</calcTrf> <arrTrfType>string</arrTrfType> <depTrfType>string</depTrfType> <deptrfOk>boolean</deptrfOk> <airport>string</airport> <comissionType>boolean</comissionType> <insuranceTotal>double</insuranceTotal> <isInsuranceTotal>boolean</isInsuranceTotal> <flightCur>string</flightCur> <insuranceCur>string</insuranceCur> <otherCur>string</otherCur> <trfRegion>string</trfRegion> <handFeeType>string</handFeeType> <GetMinPrice>boolean</GetMinPrice> <calcKickBackWebUser>string</calcKickBackWebUser> </priceSearchWithTrf3> </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> <priceSearchWithTrf3Response xmlns="http://www.sansejour.com/"> <priceSearchWithTrf3Result>xml</priceSearchWithTrf3Result> </priceSearchWithTrf3Response> </soap12:Body> </soap12:Envelope>