Poll Request <request version="4.0"> <auth> <username>example</username> <password>example</password> <agent>example</agent> </auth> <flights-book session="dv.UpX7Bz0osA" clientRef="12345" customerCountryCode="IL"> <customer> <title>Mr.</title> <firstName>Test Firstname</firstName> <lastName>Test Lastname</lastName> <phone type="home">044-772344066</phone> <phone type="mobile">044-545966911</phone> <email>user@example.com</email> <address>123 main st.</address> <postCode>70906</postCode> <city>Someville</city> <countryCode>GB</countryCode> </customer> <result token="dv.1210273893"> <connections> <outbound id="0"/> <inbound id="1"/> </connections> <pax-group> <pax> <title>M</title> <firstName>John</firstName> <lastName>Smith</lastName> <dateOfBirth>1977-08-17</dateOfBirth> </pax> <pax> <title>F</title> <firstName>Jane</firstName> <lastName>Smith</lastName> <dateOfBirth>1975-01-30</dateOfBirth> </pax> <pax> <title>C</title> <firstName>Bob</firstName> <lastName>Smooth</lastName> <dateOfBirth>2009-10-25</dateOfBirth> </pax> </pax-group> </result> </flights-book> </request>
Booking Response <response success="1" session="dv.1210273891"> <reservation id="dv.1209451331" status="confirmed" clientReference="12345"> <item id="1" status="confirmed" token=""> <source provider="Innstant"> <reference>34OVUQ</reference> </source> <booking billable="0"> <price amount="967.95" currency="EUR"/> </booking> </item> </reservation> </response>
Note: It is mandatory to validate each item status in case some items are not confirmed |