ZEUSTravelInsuranceGateway


Click here for a complete list of operations.

ConfirmPurchase

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 /ZEUS.asmx HTTP/1.1
Host: zeus-vn.tuneprotect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ZEUSTravelInsuranceGateway/WebServices/ConfirmPurchase"

<?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>
    <ConfirmPurchase xmlns="http://ZEUSTravelInsuranceGateway/WebServices">
      <GenericRequest>
        <Authentication>
          <Username>string</Username>
          <Password>string</Password>
        </Authentication>
        <Header>
          <Channel>string</Channel>
          <ItineraryID>string</ItineraryID>
          <PNR>string</PNR>
          <PolicyNo>string</PolicyNo>
          <PurchaseDate>string</PurchaseDate>
          <SSRFeeCode>string</SSRFeeCode>
          <FeeDescription>string</FeeDescription>
          <Currency>string</Currency>
          <TotalPremium>double</TotalPremium>
          <CountryCode>string</CountryCode>
          <CultureCode>string</CultureCode>
          <TotalAdults>int</TotalAdults>
          <TotalChild>int</TotalChild>
          <TotalInfants>int</TotalInfants>
          <IsPayLater>boolean</IsPayLater>
          <QuotationNo>string</QuotationNo>
        </Header>
        <ContactDetails>
          <ContactPerson>string</ContactPerson>
          <IDNo>string</IDNo>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <Address3>string</Address3>
          <HomePhoneNum>string</HomePhoneNum>
          <MobilePhoneNum>string</MobilePhoneNum>
          <OtherPhoneNum>string</OtherPhoneNum>
          <PostCode>string</PostCode>
          <City>string</City>
          <State>string</State>
          <Country>string</Country>
          <EmailAddress>string</EmailAddress>
        </ContactDetails>
        <Flights>
          <Flight>
            <DepartCountryCode>string</DepartCountryCode>
            <DepartStationCode>string</DepartStationCode>
            <ArrivalCountryCode>string</ArrivalCountryCode>
            <ArrivalStationCode>string</ArrivalStationCode>
            <DepartAirlineCode>string</DepartAirlineCode>
            <DepartDateTime>string</DepartDateTime>
            <ReturnAirlineCode>string</ReturnAirlineCode>
            <ReturnDateTime>string</ReturnDateTime>
            <DepartFlightNo>string</DepartFlightNo>
            <ReturnFlightNo>string</ReturnFlightNo>
          </Flight>
          <Flight>
            <DepartCountryCode>string</DepartCountryCode>
            <DepartStationCode>string</DepartStationCode>
            <ArrivalCountryCode>string</ArrivalCountryCode>
            <ArrivalStationCode>string</ArrivalStationCode>
            <DepartAirlineCode>string</DepartAirlineCode>
            <DepartDateTime>string</DepartDateTime>
            <ReturnAirlineCode>string</ReturnAirlineCode>
            <ReturnDateTime>string</ReturnDateTime>
            <DepartFlightNo>string</DepartFlightNo>
            <ReturnFlightNo>string</ReturnFlightNo>
          </Flight>
        </Flights>
        <Passengers>
          <Passenger>
            <IsInfant>string</IsInfant>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Gender>Male or Female</Gender>
            <DOB>string</DOB>
            <Age>string</Age>
            <IdentityType>IdentificationCard or Passport</IdentityType>
            <IdentityNo>string</IdentityNo>
            <IsQualified>boolean</IsQualified>
            <Nationality>string</Nationality>
            <CountryOfResidence>string</CountryOfResidence>
            <SelectedPlanCode>string</SelectedPlanCode>
            <SelectedSSRFeeCode>string</SelectedSSRFeeCode>
            <CurrencyCode>string</CurrencyCode>
            <PassengerPremiumAmount>double</PassengerPremiumAmount>
            <Email>string</Email>
            <MobilePhone>string</MobilePhone>
          </Passenger>
          <Passenger>
            <IsInfant>string</IsInfant>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Gender>Male or Female</Gender>
            <DOB>string</DOB>
            <Age>string</Age>
            <IdentityType>IdentificationCard or Passport</IdentityType>
            <IdentityNo>string</IdentityNo>
            <IsQualified>boolean</IsQualified>
            <Nationality>string</Nationality>
            <CountryOfResidence>string</CountryOfResidence>
            <SelectedPlanCode>string</SelectedPlanCode>
            <SelectedSSRFeeCode>string</SelectedSSRFeeCode>
            <CurrencyCode>string</CurrencyCode>
            <PassengerPremiumAmount>double</PassengerPremiumAmount>
            <Email>string</Email>
            <MobilePhone>string</MobilePhone>
          </Passenger>
        </Passengers>
      </GenericRequest>
    </ConfirmPurchase>
  </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>
    <ConfirmPurchaseResponse xmlns="http://ZEUSTravelInsuranceGateway/WebServices">
      <PurchaseResponse>
        <ProposalState>PROPOSAL or CONFIRMED or CANCELLED or ONHOLD or PAYLATER</ProposalState>
        <ItineraryID>string</ItineraryID>
        <PNR>string</PNR>
        <ErrorCode>string</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <PolicyNo>string</PolicyNo>
        <PolicyPurchasedDateTime>string</PolicyPurchasedDateTime>
        <PolicyPurchasedTotalPremium>string</PolicyPurchasedTotalPremium>
        <QuotationNo>string</QuotationNo>
        <QuotationIssuedDateTime>string</QuotationIssuedDateTime>
        <QuotationIssuedTotalPremium>string</QuotationIssuedTotalPremium>
        <ConfirmedPassengers>
          <ConfirmedPassenger>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <DOB>string</DOB>
            <IdentityNo>string</IdentityNo>
            <PolicyNo>string</PolicyNo>
            <PolicyURLLink>string</PolicyURLLink>
            <PolicyPremiumPax>string</PolicyPremiumPax>
            <QuotationNo>string</QuotationNo>
            <QuotationURLLink>string</QuotationURLLink>
            <QuotationPremiumPax>string</QuotationPremiumPax>
          </ConfirmedPassenger>
          <ConfirmedPassenger>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <DOB>string</DOB>
            <IdentityNo>string</IdentityNo>
            <PolicyNo>string</PolicyNo>
            <PolicyURLLink>string</PolicyURLLink>
            <PolicyPremiumPax>string</PolicyPremiumPax>
            <QuotationNo>string</QuotationNo>
            <QuotationURLLink>string</QuotationURLLink>
            <QuotationPremiumPax>string</QuotationPremiumPax>
          </ConfirmedPassenger>
        </ConfirmedPassengers>
      </PurchaseResponse>
    </ConfirmPurchaseResponse>
  </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 /ZEUS.asmx HTTP/1.1
Host: zeus-vn.tuneprotect.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>
    <ConfirmPurchase xmlns="http://ZEUSTravelInsuranceGateway/WebServices">
      <GenericRequest>
        <Authentication>
          <Username>string</Username>
          <Password>string</Password>
        </Authentication>
        <Header>
          <Channel>string</Channel>
          <ItineraryID>string</ItineraryID>
          <PNR>string</PNR>
          <PolicyNo>string</PolicyNo>
          <PurchaseDate>string</PurchaseDate>
          <SSRFeeCode>string</SSRFeeCode>
          <FeeDescription>string</FeeDescription>
          <Currency>string</Currency>
          <TotalPremium>double</TotalPremium>
          <CountryCode>string</CountryCode>
          <CultureCode>string</CultureCode>
          <TotalAdults>int</TotalAdults>
          <TotalChild>int</TotalChild>
          <TotalInfants>int</TotalInfants>
          <IsPayLater>boolean</IsPayLater>
          <QuotationNo>string</QuotationNo>
        </Header>
        <ContactDetails>
          <ContactPerson>string</ContactPerson>
          <IDNo>string</IDNo>
          <Address1>string</Address1>
          <Address2>string</Address2>
          <Address3>string</Address3>
          <HomePhoneNum>string</HomePhoneNum>
          <MobilePhoneNum>string</MobilePhoneNum>
          <OtherPhoneNum>string</OtherPhoneNum>
          <PostCode>string</PostCode>
          <City>string</City>
          <State>string</State>
          <Country>string</Country>
          <EmailAddress>string</EmailAddress>
        </ContactDetails>
        <Flights>
          <Flight>
            <DepartCountryCode>string</DepartCountryCode>
            <DepartStationCode>string</DepartStationCode>
            <ArrivalCountryCode>string</ArrivalCountryCode>
            <ArrivalStationCode>string</ArrivalStationCode>
            <DepartAirlineCode>string</DepartAirlineCode>
            <DepartDateTime>string</DepartDateTime>
            <ReturnAirlineCode>string</ReturnAirlineCode>
            <ReturnDateTime>string</ReturnDateTime>
            <DepartFlightNo>string</DepartFlightNo>
            <ReturnFlightNo>string</ReturnFlightNo>
          </Flight>
          <Flight>
            <DepartCountryCode>string</DepartCountryCode>
            <DepartStationCode>string</DepartStationCode>
            <ArrivalCountryCode>string</ArrivalCountryCode>
            <ArrivalStationCode>string</ArrivalStationCode>
            <DepartAirlineCode>string</DepartAirlineCode>
            <DepartDateTime>string</DepartDateTime>
            <ReturnAirlineCode>string</ReturnAirlineCode>
            <ReturnDateTime>string</ReturnDateTime>
            <DepartFlightNo>string</DepartFlightNo>
            <ReturnFlightNo>string</ReturnFlightNo>
          </Flight>
        </Flights>
        <Passengers>
          <Passenger>
            <IsInfant>string</IsInfant>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Gender>Male or Female</Gender>
            <DOB>string</DOB>
            <Age>string</Age>
            <IdentityType>IdentificationCard or Passport</IdentityType>
            <IdentityNo>string</IdentityNo>
            <IsQualified>boolean</IsQualified>
            <Nationality>string</Nationality>
            <CountryOfResidence>string</CountryOfResidence>
            <SelectedPlanCode>string</SelectedPlanCode>
            <SelectedSSRFeeCode>string</SelectedSSRFeeCode>
            <CurrencyCode>string</CurrencyCode>
            <PassengerPremiumAmount>double</PassengerPremiumAmount>
            <Email>string</Email>
            <MobilePhone>string</MobilePhone>
          </Passenger>
          <Passenger>
            <IsInfant>string</IsInfant>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <Gender>Male or Female</Gender>
            <DOB>string</DOB>
            <Age>string</Age>
            <IdentityType>IdentificationCard or Passport</IdentityType>
            <IdentityNo>string</IdentityNo>
            <IsQualified>boolean</IsQualified>
            <Nationality>string</Nationality>
            <CountryOfResidence>string</CountryOfResidence>
            <SelectedPlanCode>string</SelectedPlanCode>
            <SelectedSSRFeeCode>string</SelectedSSRFeeCode>
            <CurrencyCode>string</CurrencyCode>
            <PassengerPremiumAmount>double</PassengerPremiumAmount>
            <Email>string</Email>
            <MobilePhone>string</MobilePhone>
          </Passenger>
        </Passengers>
      </GenericRequest>
    </ConfirmPurchase>
  </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>
    <ConfirmPurchaseResponse xmlns="http://ZEUSTravelInsuranceGateway/WebServices">
      <PurchaseResponse>
        <ProposalState>PROPOSAL or CONFIRMED or CANCELLED or ONHOLD or PAYLATER</ProposalState>
        <ItineraryID>string</ItineraryID>
        <PNR>string</PNR>
        <ErrorCode>string</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <PolicyNo>string</PolicyNo>
        <PolicyPurchasedDateTime>string</PolicyPurchasedDateTime>
        <PolicyPurchasedTotalPremium>string</PolicyPurchasedTotalPremium>
        <QuotationNo>string</QuotationNo>
        <QuotationIssuedDateTime>string</QuotationIssuedDateTime>
        <QuotationIssuedTotalPremium>string</QuotationIssuedTotalPremium>
        <ConfirmedPassengers>
          <ConfirmedPassenger>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <DOB>string</DOB>
            <IdentityNo>string</IdentityNo>
            <PolicyNo>string</PolicyNo>
            <PolicyURLLink>string</PolicyURLLink>
            <PolicyPremiumPax>string</PolicyPremiumPax>
            <QuotationNo>string</QuotationNo>
            <QuotationURLLink>string</QuotationURLLink>
            <QuotationPremiumPax>string</QuotationPremiumPax>
          </ConfirmedPassenger>
          <ConfirmedPassenger>
            <FirstName>string</FirstName>
            <LastName>string</LastName>
            <DOB>string</DOB>
            <IdentityNo>string</IdentityNo>
            <PolicyNo>string</PolicyNo>
            <PolicyURLLink>string</PolicyURLLink>
            <PolicyPremiumPax>string</PolicyPremiumPax>
            <QuotationNo>string</QuotationNo>
            <QuotationURLLink>string</QuotationURLLink>
            <QuotationPremiumPax>string</QuotationPremiumPax>
          </ConfirmedPassenger>
        </ConfirmedPassengers>
      </PurchaseResponse>
    </ConfirmPurchaseResponse>
  </soap12:Body>
</soap12:Envelope>