TVWebService
Click here for a complete list of operations.
SendOtherSpo
For sending Contract SPO (EB-DP-REB-LONG)
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 /Tv2Sej/TVWebService.asmx HTTP/1.1
Host: enkanl.tourvisio.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tourvisio.com/SendOtherSpo"
<?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>
<SendOtherSpo xmlns="http://www.tourvisio.com">
<OtherSpoParams>
<OtherSpo>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Operator>string</Operator>
<OperatorName>string</OperatorName>
<Room>string</Room>
<RoomName>string</RoomName>
<Accom>string</Accom>
<AccomName>string</AccomName>
<Board>string</Board>
<BoardName>string</BoardName>
<SpoNo>int</SpoNo>
<SpoType>string</SpoType>
<SellBeginDate>dateTime</SellBeginDate>
<SellEndDate>dateTime</SellEndDate>
<ResBeginDate>dateTime</ResBeginDate>
<ResEndDate>dateTime</ResEndDate>
<XStay>int</XStay>
<YPay>int</YPay>
<AdultPrice>double</AdultPrice>
<ExtBedPrice>double</ExtBedPrice>
<BoardPrice>double</BoardPrice>
<PriceOpt>int</PriceOpt>
<Remark>string</Remark>
<PriceType>string</PriceType>
<ChdRefAccom>string</ChdRefAccom>
<ChdRefRoom>string</ChdRefRoom>
<DaySpoType>int</DaySpoType>
<EBPercent>double</EBPercent>
<EBPrice>double</EBPrice>
<RecDate>dateTime</RecDate>
<EarlyApp>string</EarlyApp>
<SpoOpt>string</SpoOpt>
<EBChdOpt>string</EBChdOpt>
<SellPercent>double</SellPercent>
<DaySpoRatio>double</DaySpoRatio>
<SellCurrency>string</SellCurrency>
<Day1>int</Day1>
<Day2>int</Day2>
<SpecialCode1>string</SpecialCode1>
<ContSpo>string</ContSpo>
<EarlyAppType>string</EarlyAppType>
<LongStayType>string</LongStayType>
<LongContDay>int</LongContDay>
<SupplierName>string</SupplierName>
</OtherSpo>
<OtherSpo>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Operator>string</Operator>
<OperatorName>string</OperatorName>
<Room>string</Room>
<RoomName>string</RoomName>
<Accom>string</Accom>
<AccomName>string</AccomName>
<Board>string</Board>
<BoardName>string</BoardName>
<SpoNo>int</SpoNo>
<SpoType>string</SpoType>
<SellBeginDate>dateTime</SellBeginDate>
<SellEndDate>dateTime</SellEndDate>
<ResBeginDate>dateTime</ResBeginDate>
<ResEndDate>dateTime</ResEndDate>
<XStay>int</XStay>
<YPay>int</YPay>
<AdultPrice>double</AdultPrice>
<ExtBedPrice>double</ExtBedPrice>
<BoardPrice>double</BoardPrice>
<PriceOpt>int</PriceOpt>
<Remark>string</Remark>
<PriceType>string</PriceType>
<ChdRefAccom>string</ChdRefAccom>
<ChdRefRoom>string</ChdRefRoom>
<DaySpoType>int</DaySpoType>
<EBPercent>double</EBPercent>
<EBPrice>double</EBPrice>
<RecDate>dateTime</RecDate>
<EarlyApp>string</EarlyApp>
<SpoOpt>string</SpoOpt>
<EBChdOpt>string</EBChdOpt>
<SellPercent>double</SellPercent>
<DaySpoRatio>double</DaySpoRatio>
<SellCurrency>string</SellCurrency>
<Day1>int</Day1>
<Day2>int</Day2>
<SpecialCode1>string</SpecialCode1>
<ContSpo>string</ContSpo>
<EarlyAppType>string</EarlyAppType>
<LongStayType>string</LongStayType>
<LongContDay>int</LongContDay>
<SupplierName>string</SupplierName>
</OtherSpo>
</OtherSpoParams>
<UserCode>string</UserCode>
<UserPass>string</UserPass>
</SendOtherSpo>
</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>
<SendOtherSpoResponse xmlns="http://www.tourvisio.com">
<SendOtherSpoResult>string</SendOtherSpoResult>
</SendOtherSpoResponse>
</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 /Tv2Sej/TVWebService.asmx HTTP/1.1
Host: enkanl.tourvisio.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>
<SendOtherSpo xmlns="http://www.tourvisio.com">
<OtherSpoParams>
<OtherSpo>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Operator>string</Operator>
<OperatorName>string</OperatorName>
<Room>string</Room>
<RoomName>string</RoomName>
<Accom>string</Accom>
<AccomName>string</AccomName>
<Board>string</Board>
<BoardName>string</BoardName>
<SpoNo>int</SpoNo>
<SpoType>string</SpoType>
<SellBeginDate>dateTime</SellBeginDate>
<SellEndDate>dateTime</SellEndDate>
<ResBeginDate>dateTime</ResBeginDate>
<ResEndDate>dateTime</ResEndDate>
<XStay>int</XStay>
<YPay>int</YPay>
<AdultPrice>double</AdultPrice>
<ExtBedPrice>double</ExtBedPrice>
<BoardPrice>double</BoardPrice>
<PriceOpt>int</PriceOpt>
<Remark>string</Remark>
<PriceType>string</PriceType>
<ChdRefAccom>string</ChdRefAccom>
<ChdRefRoom>string</ChdRefRoom>
<DaySpoType>int</DaySpoType>
<EBPercent>double</EBPercent>
<EBPrice>double</EBPrice>
<RecDate>dateTime</RecDate>
<EarlyApp>string</EarlyApp>
<SpoOpt>string</SpoOpt>
<EBChdOpt>string</EBChdOpt>
<SellPercent>double</SellPercent>
<DaySpoRatio>double</DaySpoRatio>
<SellCurrency>string</SellCurrency>
<Day1>int</Day1>
<Day2>int</Day2>
<SpecialCode1>string</SpecialCode1>
<ContSpo>string</ContSpo>
<EarlyAppType>string</EarlyAppType>
<LongStayType>string</LongStayType>
<LongContDay>int</LongContDay>
<SupplierName>string</SupplierName>
</OtherSpo>
<OtherSpo>
<Hotel>string</Hotel>
<HotelName>string</HotelName>
<Operator>string</Operator>
<OperatorName>string</OperatorName>
<Room>string</Room>
<RoomName>string</RoomName>
<Accom>string</Accom>
<AccomName>string</AccomName>
<Board>string</Board>
<BoardName>string</BoardName>
<SpoNo>int</SpoNo>
<SpoType>string</SpoType>
<SellBeginDate>dateTime</SellBeginDate>
<SellEndDate>dateTime</SellEndDate>
<ResBeginDate>dateTime</ResBeginDate>
<ResEndDate>dateTime</ResEndDate>
<XStay>int</XStay>
<YPay>int</YPay>
<AdultPrice>double</AdultPrice>
<ExtBedPrice>double</ExtBedPrice>
<BoardPrice>double</BoardPrice>
<PriceOpt>int</PriceOpt>
<Remark>string</Remark>
<PriceType>string</PriceType>
<ChdRefAccom>string</ChdRefAccom>
<ChdRefRoom>string</ChdRefRoom>
<DaySpoType>int</DaySpoType>
<EBPercent>double</EBPercent>
<EBPrice>double</EBPrice>
<RecDate>dateTime</RecDate>
<EarlyApp>string</EarlyApp>
<SpoOpt>string</SpoOpt>
<EBChdOpt>string</EBChdOpt>
<SellPercent>double</SellPercent>
<DaySpoRatio>double</DaySpoRatio>
<SellCurrency>string</SellCurrency>
<Day1>int</Day1>
<Day2>int</Day2>
<SpecialCode1>string</SpecialCode1>
<ContSpo>string</ContSpo>
<EarlyAppType>string</EarlyAppType>
<LongStayType>string</LongStayType>
<LongContDay>int</LongContDay>
<SupplierName>string</SupplierName>
</OtherSpo>
</OtherSpoParams>
<UserCode>string</UserCode>
<UserPass>string</UserPass>
</SendOtherSpo>
</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>
<SendOtherSpoResponse xmlns="http://www.tourvisio.com">
<SendOtherSpoResult>string</SendOtherSpoResult>
</SendOtherSpoResponse>
</soap12:Body>
</soap12:Envelope>