TvSupport
Click here for a complete list of operations.
GetPromoHotels
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 /TvSupport.asmx HTTP/1.1
Host: tvws.paximum.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tourvisio.com/GetPromoHotels"
<?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>
<GetPromoHotels xmlns="http://www.tourvisio.com/">
<token>string</token>
<pDepartureDate>dateTime</pDepartureDate>
<pDuration>int</pDuration>
<pArrivalCity>int</pArrivalCity>
<pHotelCode>string</pHotelCode>
<pHolPack>string</pHolPack>
<errorMsg>string</errorMsg>
</GetPromoHotels>
</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>
<GetPromoHotelsResponse xmlns="http://www.tourvisio.com/">
<GetPromoHotelsResult>
<mdlPromoHotels>
<PromoCode>string</PromoCode>
<PromoType>int</PromoType>
<HotelCode>string</HotelCode>
<PriceType>int</PriceType>
<CalcType>int</CalcType>
<SalePrice>decimal</SalePrice>
<SaleCur>string</SaleCur>
<SalePer>decimal</SalePer>
<ChildGroupMaxAge1>decimal</ChildGroupMaxAge1>
<ChildGroupMaxAge2>decimal</ChildGroupMaxAge2>
<ChildGroupMaxAge3>decimal</ChildGroupMaxAge3>
<ChildGroupSalePrice1>decimal</ChildGroupSalePrice1>
<ChildGroupSalePrice2>decimal</ChildGroupSalePrice2>
<ChildGroupSalePrice3>decimal</ChildGroupSalePrice3>
<PromoId>int</PromoId>
<Market>string</Market>
<LocFrom>int</LocFrom>
<LocTo>int</LocTo>
<HolPack>string</HolPack>
<HotelCat>string</HotelCat>
<Room>string</Room>
<Flight>string</Flight>
<SClass>string</SClass>
<SaleBegDate>dateTime</SaleBegDate>
<SaleEndDate>dateTime</SaleEndDate>
<ResBegDate>dateTime</ResBegDate>
<ResEndDate>dateTime</ResEndDate>
<MinNight>int</MinNight>
<MaxNight>int</MaxNight>
<SaleResource>int</SaleResource>
<MinAge>int</MinAge>
<MaxAge>int</MaxAge>
<RepMinCnt>int</RepMinCnt>
<RepMaxCnt>int</RepMaxCnt>
<Message>string</Message>
<ConfReq>boolean</ConfReq>
<Accom>string</Accom>
<Board>string</Board>
<Agency>string</Agency>
<MarketingPartner>string</MarketingPartner>
<Name>string</Name>
<LocalName>string</LocalName>
<Description>string</Description>
<PasEBValid>boolean</PasEBValid>
<ValidWithPromo>boolean</ValidWithPromo>
<SpoValid>boolean</SpoValid>
</mdlPromoHotels>
<mdlPromoHotels>
<PromoCode>string</PromoCode>
<PromoType>int</PromoType>
<HotelCode>string</HotelCode>
<PriceType>int</PriceType>
<CalcType>int</CalcType>
<SalePrice>decimal</SalePrice>
<SaleCur>string</SaleCur>
<SalePer>decimal</SalePer>
<ChildGroupMaxAge1>decimal</ChildGroupMaxAge1>
<ChildGroupMaxAge2>decimal</ChildGroupMaxAge2>
<ChildGroupMaxAge3>decimal</ChildGroupMaxAge3>
<ChildGroupSalePrice1>decimal</ChildGroupSalePrice1>
<ChildGroupSalePrice2>decimal</ChildGroupSalePrice2>
<ChildGroupSalePrice3>decimal</ChildGroupSalePrice3>
<PromoId>int</PromoId>
<Market>string</Market>
<LocFrom>int</LocFrom>
<LocTo>int</LocTo>
<HolPack>string</HolPack>
<HotelCat>string</HotelCat>
<Room>string</Room>
<Flight>string</Flight>
<SClass>string</SClass>
<SaleBegDate>dateTime</SaleBegDate>
<SaleEndDate>dateTime</SaleEndDate>
<ResBegDate>dateTime</ResBegDate>
<ResEndDate>dateTime</ResEndDate>
<MinNight>int</MinNight>
<MaxNight>int</MaxNight>
<SaleResource>int</SaleResource>
<MinAge>int</MinAge>
<MaxAge>int</MaxAge>
<RepMinCnt>int</RepMinCnt>
<RepMaxCnt>int</RepMaxCnt>
<Message>string</Message>
<ConfReq>boolean</ConfReq>
<Accom>string</Accom>
<Board>string</Board>
<Agency>string</Agency>
<MarketingPartner>string</MarketingPartner>
<Name>string</Name>
<LocalName>string</LocalName>
<Description>string</Description>
<PasEBValid>boolean</PasEBValid>
<ValidWithPromo>boolean</ValidWithPromo>
<SpoValid>boolean</SpoValid>
</mdlPromoHotels>
</GetPromoHotelsResult>
<errorMsg>string</errorMsg>
</GetPromoHotelsResponse>
</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 /TvSupport.asmx HTTP/1.1
Host: tvws.paximum.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>
<GetPromoHotels xmlns="http://www.tourvisio.com/">
<token>string</token>
<pDepartureDate>dateTime</pDepartureDate>
<pDuration>int</pDuration>
<pArrivalCity>int</pArrivalCity>
<pHotelCode>string</pHotelCode>
<pHolPack>string</pHolPack>
<errorMsg>string</errorMsg>
</GetPromoHotels>
</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>
<GetPromoHotelsResponse xmlns="http://www.tourvisio.com/">
<GetPromoHotelsResult>
<mdlPromoHotels>
<PromoCode>string</PromoCode>
<PromoType>int</PromoType>
<HotelCode>string</HotelCode>
<PriceType>int</PriceType>
<CalcType>int</CalcType>
<SalePrice>decimal</SalePrice>
<SaleCur>string</SaleCur>
<SalePer>decimal</SalePer>
<ChildGroupMaxAge1>decimal</ChildGroupMaxAge1>
<ChildGroupMaxAge2>decimal</ChildGroupMaxAge2>
<ChildGroupMaxAge3>decimal</ChildGroupMaxAge3>
<ChildGroupSalePrice1>decimal</ChildGroupSalePrice1>
<ChildGroupSalePrice2>decimal</ChildGroupSalePrice2>
<ChildGroupSalePrice3>decimal</ChildGroupSalePrice3>
<PromoId>int</PromoId>
<Market>string</Market>
<LocFrom>int</LocFrom>
<LocTo>int</LocTo>
<HolPack>string</HolPack>
<HotelCat>string</HotelCat>
<Room>string</Room>
<Flight>string</Flight>
<SClass>string</SClass>
<SaleBegDate>dateTime</SaleBegDate>
<SaleEndDate>dateTime</SaleEndDate>
<ResBegDate>dateTime</ResBegDate>
<ResEndDate>dateTime</ResEndDate>
<MinNight>int</MinNight>
<MaxNight>int</MaxNight>
<SaleResource>int</SaleResource>
<MinAge>int</MinAge>
<MaxAge>int</MaxAge>
<RepMinCnt>int</RepMinCnt>
<RepMaxCnt>int</RepMaxCnt>
<Message>string</Message>
<ConfReq>boolean</ConfReq>
<Accom>string</Accom>
<Board>string</Board>
<Agency>string</Agency>
<MarketingPartner>string</MarketingPartner>
<Name>string</Name>
<LocalName>string</LocalName>
<Description>string</Description>
<PasEBValid>boolean</PasEBValid>
<ValidWithPromo>boolean</ValidWithPromo>
<SpoValid>boolean</SpoValid>
</mdlPromoHotels>
<mdlPromoHotels>
<PromoCode>string</PromoCode>
<PromoType>int</PromoType>
<HotelCode>string</HotelCode>
<PriceType>int</PriceType>
<CalcType>int</CalcType>
<SalePrice>decimal</SalePrice>
<SaleCur>string</SaleCur>
<SalePer>decimal</SalePer>
<ChildGroupMaxAge1>decimal</ChildGroupMaxAge1>
<ChildGroupMaxAge2>decimal</ChildGroupMaxAge2>
<ChildGroupMaxAge3>decimal</ChildGroupMaxAge3>
<ChildGroupSalePrice1>decimal</ChildGroupSalePrice1>
<ChildGroupSalePrice2>decimal</ChildGroupSalePrice2>
<ChildGroupSalePrice3>decimal</ChildGroupSalePrice3>
<PromoId>int</PromoId>
<Market>string</Market>
<LocFrom>int</LocFrom>
<LocTo>int</LocTo>
<HolPack>string</HolPack>
<HotelCat>string</HotelCat>
<Room>string</Room>
<Flight>string</Flight>
<SClass>string</SClass>
<SaleBegDate>dateTime</SaleBegDate>
<SaleEndDate>dateTime</SaleEndDate>
<ResBegDate>dateTime</ResBegDate>
<ResEndDate>dateTime</ResEndDate>
<MinNight>int</MinNight>
<MaxNight>int</MaxNight>
<SaleResource>int</SaleResource>
<MinAge>int</MinAge>
<MaxAge>int</MaxAge>
<RepMinCnt>int</RepMinCnt>
<RepMaxCnt>int</RepMaxCnt>
<Message>string</Message>
<ConfReq>boolean</ConfReq>
<Accom>string</Accom>
<Board>string</Board>
<Agency>string</Agency>
<MarketingPartner>string</MarketingPartner>
<Name>string</Name>
<LocalName>string</LocalName>
<Description>string</Description>
<PasEBValid>boolean</PasEBValid>
<ValidWithPromo>boolean</ValidWithPromo>
<SpoValid>boolean</SpoValid>
</mdlPromoHotels>
</GetPromoHotelsResult>
<errorMsg>string</errorMsg>
</GetPromoHotelsResponse>
</soap12:Body>
</soap12:Envelope>