User Tools

Site Tools


insurance:o

Table of Contents

General information

Request “O” creates optional booking.

Inquiry

Parameters:

Element nameAttributeDescription
type-request type
Providers-List of providers
agency-agency number
obj_country-Country ISO code
totalPrice-Trip price
Person-Array of person data
tripResNo-Booking number which should be associated with insurence booking (optional)
<?xml version="1.0"?>
<mds>
  <auth>
    <login>LOGIN</login>
    <pass>PASSWORD</pass>
  </auth>
  <request>
    <type>O</type>
    <conditions>
      <Providers>
        <provider>CSIG</provider>
      </Providers>
      <agency>801234001</agency>
      <ofr_tourOp>SYLO</ofr_tourOp>
      <trp_startDate>2012-09-13</trp_startDate>
      <trp_retDate>2012-09-16</trp_retDate>
      <obj_country>PT</obj_country>
      <totalPrice>3150.00</totalPrice>
      <tripResNo>49901</tripResNo>
      <add_service>
        <data>
          <code>CSIG_KIT_ETR_MERLIN_RG< /code>
        </data>
      </add_service>
      <agreements>
        <data>
          <code>CSIG_MED_DOC< /code>
          <answer>Y</answer>
          <ip>88.198.31.239</ip>
        </data>
        <data>
          <code>CSIG_GTC< /code>
          <answer>Y</answer>
          <ip>88.198.31.239</ip>
        </data>
      </agreements>
    </conditions>
    <Client>
      <lastname>TEST</lastname>
      <name>DOKWATEROWANIE</name>
      <birthdate>1976-01-05</birthdate>
      <street>TEST</street>
      <zipcode>23-555</zipcode>
      <city>TEST</city>
      <country>PL</country>
      <phone>123456789</phone>
      <email>mail@mail.pl</email>
    </Client>
    <Person>
      <data>
        <lastname>TEST</lastname>
        <name>DOKWATEROWANIE</name>
        <birthdate>1982-06-04</birthdate>
        <street>TEST</street>
        <housenumber>1</housenumber>
        <postcode>23-555</postcode>
        <city>TEST</city>
        <countrycode>PL</countrycode>
      </data>
    </Person>
  </request>
</mds>

Answer

Parameters:

Element nameAttributeDescription
status-status of request
add_service-Additional services
number-service number
allocation-person allocation
exclude-excluded service codes
fromDT-service FROM date
toDT-service TO date
type-service Type
code-service Code
accomodation-
text-description
amount-price
currency-price currency
hints-additional info lines
hint-
infolines-additional info
Person-Array of Person data
Client-Client data
<response>
  <status>OK</status>
  <add_service>
    <data>
      <number>1</number>
      <allocation/>
      <exclude/>
      <fromDT>2012-06-06</fromDT>
      <toDT>2012-09-13</toDT>
      <type>V</type>
      <code>CSIG_KIT_ETR_MERLIN_RG< /code>
      <accomodation/>
      <text>SIGNAL IDUNA Koszty imprezy turystycznej</text>
      <amount>27.60</amount>
      <currency>PLN</currency>
      <hints cnt="4">
        <hint>OfferUrl=https://w3test.signal-iduna.pl/sisetravel2doc_wls/doc?of=12033&h=AVIN5TI60IN8VHITHJCN9KN8481E85&rt=of</hint>
        <hint>OfferId=12033</hint>
        <hint>MName=MERLIN - Ubezpieczenie od rezygnacji</hint>
        <hint>S_RG Ubezpieczenie rezygnacji z imprezy turystycznej 1150 PLN</hint>
      </hints>
      <infolines/>
      <Person>
        <data>
          <name>DOKWATEROWANIE</name>
          <lastname>TEST</lastname>
          <b_date>1982-06-04</b_date>
          <amount>27.60</amount>
          <street>TEST</street>
          <zipcode>23-555</zipcode>
          <city>TEST</city>
          <country>PL</country>
        </data>
      </Person>
      <Client>
        <lastname>TEST</lastname>
        <name>DOKWATEROWANIE</name>
        <birthdate>1976-01-05</birthdate>
        <street>TEST</street>
        <zipcode>23-555</zipcode>
        <city>TEST</city>
        <country>PL</country>
        <phone>123456789</phone>
        <email>mail@mail.pl</email>
      </Client>
    </data>
  </add_service>
</response>
insurance/o.txt · Last modified: 2012/08/08 14:55 by marekj