TvSupport
Click here for a complete list of operations.
SaveThirdPartyReservation
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 /TvWebServicesTest/TvSupport.asmx HTTP/1.1 Host: tivrona.tourvisio.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.tourvisio.com/SaveThirdPartyReservation" <?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> <SaveThirdPartyReservation xmlns="http://www.tourvisio.com/"> <token>string</token> <bookData> <ReservationHeader> <OrderId>string</OrderId> <ResDate>dateTime</ResDate> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <NetPrice> <Amount>decimal</Amount> <Currency>string</Currency> </NetPrice> <SalePrice> <Amount>decimal</Amount> <Currency>string</Currency> </SalePrice> <SetAgencyCommissionManuel>boolean</SetAgencyCommissionManuel> <IsCancel>boolean</IsCancel> <AgencyCommissionAmount>decimal</AgencyCommissionAmount> <ReservationNote>string</ReservationNote> <PxmBuyerResNo>string</PxmBuyerResNo> <ResTime>dateTime</ResTime> </ReservationHeader> <Customer> <ResCustomer> <CustomerNo>int</CustomerNo> <Title>Mr or Mrs or Miss or Child or Infant</Title> <Surname>string</Surname> <Name>string</Name> <Birthday>dateTime</Birthday> <Age>int</Age> <IsLeader>boolean</IsLeader> <PassNo>string</PassNo> <PassSerie>string</PassSerie> <PassIssueDate>dateTime</PassIssueDate> <PassExpDate>dateTime</PassExpDate> <IdNumber>string</IdNumber> <Nationality>string</Nationality> <NationalityName>string</NationalityName> <CustomerInfo xsi:nil="true" /> </ResCustomer> <ResCustomer> <CustomerNo>int</CustomerNo> <Title>Mr or Mrs or Miss or Child or Infant</Title> <Surname>string</Surname> <Name>string</Name> <Birthday>dateTime</Birthday> <Age>int</Age> <IsLeader>boolean</IsLeader> <PassNo>string</PassNo> <PassSerie>string</PassSerie> <PassIssueDate>dateTime</PassIssueDate> <PassExpDate>dateTime</PassExpDate> <IdNumber>string</IdNumber> <Nationality>string</Nationality> <NationalityName>string</NationalityName> <CustomerInfo xsi:nil="true" /> </ResCustomer> </Customer> <ReservationService> <ReservationService> <ServiceType>Hotel or Flight or Transfer or Excursion</ServiceType> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <NetPrice xsi:nil="true" /> <SalePrice xsi:nil="true" /> <Description>string</Description> <ResStat>New or Modified or Cancel or CancelX or Draft</ResStat> <ConfStat>Request or Confirm or NoConfirm or NoShow</ConfStat> <PartnerDepartureCountryId>string</PartnerDepartureCountryId> <PartnerDepartureCountryName>string</PartnerDepartureCountryName> <PartnerDepartureDestinationId>string</PartnerDepartureDestinationId> <PartnerDepartureDestinationName>string</PartnerDepartureDestinationName> <PartnerArrivalCountryId>string</PartnerArrivalCountryId> <PartnerArrivalCountryName>string</PartnerArrivalCountryName> <PartnerArrivalDestinationId>string</PartnerArrivalDestinationId> <PartnerArrivalDestinationName>string</PartnerArrivalDestinationName> <PartnerServiceId>string</PartnerServiceId> <PartnerServiceName>string</PartnerServiceName> <HotelDetail xsi:nil="true" /> <FlightDetail xsi:nil="true" /> <ServiceCustomers xsi:nil="true" /> <ExternalCode>string</ExternalCode> <Pxm_SupplierID>guid</Pxm_SupplierID> <PxmSupplierName>string</PxmSupplierName> <PriceBreakDowns xsi:nil="true" /> <SupplierResNo>string</SupplierResNo> <SupplierNote>string</SupplierNote> <SearchID>string</SearchID> <SupplierCancelAmount>decimal</SupplierCancelAmount> <SupplierCancelDate>dateTime</SupplierCancelDate> </ReservationService> <ReservationService> <ServiceType>Hotel or Flight or Transfer or Excursion</ServiceType> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <NetPrice xsi:nil="true" /> <SalePrice xsi:nil="true" /> <Description>string</Description> <ResStat>New or Modified or Cancel or CancelX or Draft</ResStat> <ConfStat>Request or Confirm or NoConfirm or NoShow</ConfStat> <PartnerDepartureCountryId>string</PartnerDepartureCountryId> <PartnerDepartureCountryName>string</PartnerDepartureCountryName> <PartnerDepartureDestinationId>string</PartnerDepartureDestinationId> <PartnerDepartureDestinationName>string</PartnerDepartureDestinationName> <PartnerArrivalCountryId>string</PartnerArrivalCountryId> <PartnerArrivalCountryName>string</PartnerArrivalCountryName> <PartnerArrivalDestinationId>string</PartnerArrivalDestinationId> <PartnerArrivalDestinationName>string</PartnerArrivalDestinationName> <PartnerServiceId>string</PartnerServiceId> <PartnerServiceName>string</PartnerServiceName> <HotelDetail xsi:nil="true" /> <FlightDetail xsi:nil="true" /> <ServiceCustomers xsi:nil="true" /> <ExternalCode>string</ExternalCode> <Pxm_SupplierID>guid</Pxm_SupplierID> <PxmSupplierName>string</PxmSupplierName> <PriceBreakDowns xsi:nil="true" /> <SupplierResNo>string</SupplierResNo> <SupplierNote>string</SupplierNote> <SearchID>string</SearchID> <SupplierCancelAmount>decimal</SupplierCancelAmount> <SupplierCancelDate>dateTime</SupplierCancelDate> </ReservationService> </ReservationService> <ResPayPlanSup> <ResPayPlanSup> <ResNo>string</ResNo> <DueDate>dateTime</DueDate> <Price xsi:nil="true" /> <IsEB>boolean</IsEB> <Status>unsignedByte</Status> </ResPayPlanSup> <ResPayPlanSup> <ResNo>string</ResNo> <DueDate>dateTime</DueDate> <Price xsi:nil="true" /> <IsEB>boolean</IsEB> <Status>unsignedByte</Status> </ResPayPlanSup> </ResPayPlanSup> <CancellationCharge> <DueDate>dateTime</DueDate> <Price> <Amount>decimal</Amount> <Currency>string</Currency> </Price> <Description>string</Description> </CancellationCharge> <ResPayment> <PayTypeCode>string</PayTypeCode> <PayTypeName>string</PayTypeName> <PayAmount>decimal</PayAmount> <PayCur>string</PayCur> <CCBank>string</CCBank> <CCBankName>string</CCBankName> <PosType>Pos or VPos</PosType> <InstalNum>int</InstalNum> <PosRefeerence>string</PosRefeerence> <Comment>string</Comment> <PayDate>dateTime</PayDate> </ResPayment> </bookData> <errorMsg>string</errorMsg> </SaveThirdPartyReservation> </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> <SaveThirdPartyReservationResponse xmlns="http://www.tourvisio.com/"> <SaveThirdPartyReservationResult>string</SaveThirdPartyReservationResult> <errorMsg>string</errorMsg> </SaveThirdPartyReservationResponse> </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 /TvWebServicesTest/TvSupport.asmx HTTP/1.1 Host: tivrona.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> <SaveThirdPartyReservation xmlns="http://www.tourvisio.com/"> <token>string</token> <bookData> <ReservationHeader> <OrderId>string</OrderId> <ResDate>dateTime</ResDate> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <NetPrice> <Amount>decimal</Amount> <Currency>string</Currency> </NetPrice> <SalePrice> <Amount>decimal</Amount> <Currency>string</Currency> </SalePrice> <SetAgencyCommissionManuel>boolean</SetAgencyCommissionManuel> <IsCancel>boolean</IsCancel> <AgencyCommissionAmount>decimal</AgencyCommissionAmount> <ReservationNote>string</ReservationNote> <PxmBuyerResNo>string</PxmBuyerResNo> <ResTime>dateTime</ResTime> </ReservationHeader> <Customer> <ResCustomer> <CustomerNo>int</CustomerNo> <Title>Mr or Mrs or Miss or Child or Infant</Title> <Surname>string</Surname> <Name>string</Name> <Birthday>dateTime</Birthday> <Age>int</Age> <IsLeader>boolean</IsLeader> <PassNo>string</PassNo> <PassSerie>string</PassSerie> <PassIssueDate>dateTime</PassIssueDate> <PassExpDate>dateTime</PassExpDate> <IdNumber>string</IdNumber> <Nationality>string</Nationality> <NationalityName>string</NationalityName> <CustomerInfo xsi:nil="true" /> </ResCustomer> <ResCustomer> <CustomerNo>int</CustomerNo> <Title>Mr or Mrs or Miss or Child or Infant</Title> <Surname>string</Surname> <Name>string</Name> <Birthday>dateTime</Birthday> <Age>int</Age> <IsLeader>boolean</IsLeader> <PassNo>string</PassNo> <PassSerie>string</PassSerie> <PassIssueDate>dateTime</PassIssueDate> <PassExpDate>dateTime</PassExpDate> <IdNumber>string</IdNumber> <Nationality>string</Nationality> <NationalityName>string</NationalityName> <CustomerInfo xsi:nil="true" /> </ResCustomer> </Customer> <ReservationService> <ReservationService> <ServiceType>Hotel or Flight or Transfer or Excursion</ServiceType> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <NetPrice xsi:nil="true" /> <SalePrice xsi:nil="true" /> <Description>string</Description> <ResStat>New or Modified or Cancel or CancelX or Draft</ResStat> <ConfStat>Request or Confirm or NoConfirm or NoShow</ConfStat> <PartnerDepartureCountryId>string</PartnerDepartureCountryId> <PartnerDepartureCountryName>string</PartnerDepartureCountryName> <PartnerDepartureDestinationId>string</PartnerDepartureDestinationId> <PartnerDepartureDestinationName>string</PartnerDepartureDestinationName> <PartnerArrivalCountryId>string</PartnerArrivalCountryId> <PartnerArrivalCountryName>string</PartnerArrivalCountryName> <PartnerArrivalDestinationId>string</PartnerArrivalDestinationId> <PartnerArrivalDestinationName>string</PartnerArrivalDestinationName> <PartnerServiceId>string</PartnerServiceId> <PartnerServiceName>string</PartnerServiceName> <HotelDetail xsi:nil="true" /> <FlightDetail xsi:nil="true" /> <ServiceCustomers xsi:nil="true" /> <ExternalCode>string</ExternalCode> <Pxm_SupplierID>guid</Pxm_SupplierID> <PxmSupplierName>string</PxmSupplierName> <PriceBreakDowns xsi:nil="true" /> <SupplierResNo>string</SupplierResNo> <SupplierNote>string</SupplierNote> <SearchID>string</SearchID> <SupplierCancelAmount>decimal</SupplierCancelAmount> <SupplierCancelDate>dateTime</SupplierCancelDate> </ReservationService> <ReservationService> <ServiceType>Hotel or Flight or Transfer or Excursion</ServiceType> <BeginDate>dateTime</BeginDate> <EndDate>dateTime</EndDate> <NetPrice xsi:nil="true" /> <SalePrice xsi:nil="true" /> <Description>string</Description> <ResStat>New or Modified or Cancel or CancelX or Draft</ResStat> <ConfStat>Request or Confirm or NoConfirm or NoShow</ConfStat> <PartnerDepartureCountryId>string</PartnerDepartureCountryId> <PartnerDepartureCountryName>string</PartnerDepartureCountryName> <PartnerDepartureDestinationId>string</PartnerDepartureDestinationId> <PartnerDepartureDestinationName>string</PartnerDepartureDestinationName> <PartnerArrivalCountryId>string</PartnerArrivalCountryId> <PartnerArrivalCountryName>string</PartnerArrivalCountryName> <PartnerArrivalDestinationId>string</PartnerArrivalDestinationId> <PartnerArrivalDestinationName>string</PartnerArrivalDestinationName> <PartnerServiceId>string</PartnerServiceId> <PartnerServiceName>string</PartnerServiceName> <HotelDetail xsi:nil="true" /> <FlightDetail xsi:nil="true" /> <ServiceCustomers xsi:nil="true" /> <ExternalCode>string</ExternalCode> <Pxm_SupplierID>guid</Pxm_SupplierID> <PxmSupplierName>string</PxmSupplierName> <PriceBreakDowns xsi:nil="true" /> <SupplierResNo>string</SupplierResNo> <SupplierNote>string</SupplierNote> <SearchID>string</SearchID> <SupplierCancelAmount>decimal</SupplierCancelAmount> <SupplierCancelDate>dateTime</SupplierCancelDate> </ReservationService> </ReservationService> <ResPayPlanSup> <ResPayPlanSup> <ResNo>string</ResNo> <DueDate>dateTime</DueDate> <Price xsi:nil="true" /> <IsEB>boolean</IsEB> <Status>unsignedByte</Status> </ResPayPlanSup> <ResPayPlanSup> <ResNo>string</ResNo> <DueDate>dateTime</DueDate> <Price xsi:nil="true" /> <IsEB>boolean</IsEB> <Status>unsignedByte</Status> </ResPayPlanSup> </ResPayPlanSup> <CancellationCharge> <DueDate>dateTime</DueDate> <Price> <Amount>decimal</Amount> <Currency>string</Currency> </Price> <Description>string</Description> </CancellationCharge> <ResPayment> <PayTypeCode>string</PayTypeCode> <PayTypeName>string</PayTypeName> <PayAmount>decimal</PayAmount> <PayCur>string</PayCur> <CCBank>string</CCBank> <CCBankName>string</CCBankName> <PosType>Pos or VPos</PosType> <InstalNum>int</InstalNum> <PosRefeerence>string</PosRefeerence> <Comment>string</Comment> <PayDate>dateTime</PayDate> </ResPayment> </bookData> <errorMsg>string</errorMsg> </SaveThirdPartyReservation> </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> <SaveThirdPartyReservationResponse xmlns="http://www.tourvisio.com/"> <SaveThirdPartyReservationResult>string</SaveThirdPartyReservationResult> <errorMsg>string</errorMsg> </SaveThirdPartyReservationResponse> </soap12:Body> </soap12:Envelope>