Product: transport
Type: book
Book the selected agreement.
Request fields:
Request example:
<envelope>
<header>
<actor>exampleactor</actor>
<user>exampleuser</user>
<password>*****</password>
<version>1.7.0</version>
<timestamp>20240112150441</timestamp>
</header>
<query type="book" product="transport">
<search number="trsprts.avl65ba1811c6be2"/>
<agreement code="LCL.33.132.1.NjJkY2E0"/>
<reference code="t20013101204s426d3"/>
<paxes>
<pax leader="true" title="MR" name="Test" surname="Example" email="example@netstorming.net" phone="00390418870080" country="IT" />
<pax leader="false" title="MS" name="Test" surname="Two" />
</paxes>
<additional_fields>
<additional_field code="FLIGHT" value="TE57012" />
<additional_field code="FLIGHT_TIME" value="2024-02-12 15:00:00" />
</additional_fields>
<supplements>
<supplement code="SYS_SUPP_21@19" quantity="1"/>
</supplements>
</query>
</envelope>
Response example:
<envelope>
<header>
<version port="22222" host="example.netstorming.office">1.7.0</version>
<timestamp>20240131105627</timestamp>
</header>
<response type="book" product="transport">
<supplier/>
<booking code="B0124HU5YV"/>
<reference/>
<status code="CNF"/>
<deadline date="2024-01-31 10:56:00"/>
<outbound date="2024-02-12 10:30:00"/>
<pickup name="Piazzale Roma" address="Piazzale Roma, Venezia, Venice, Italy" type="generic" lat="45.43818842198814" lng="12.318325039604192"/>
<dropoff name="Aeroporto Marco Polo" address="Viale Galileo Galilei, 30, 30173 Venezia VE" type="airport" lat="45.50511599506822" lng="12.346679306243292"/>
<luggages number="2"/>
<paxes number="2">
<pax title="MR" name="Test" surname="Example" email="example@netstorming.net" phone="00390418870080" country="IT" leader="true"/>
<pax title="MS" name="Test" surname="Two" phone="" leader="false"/>
</paxes>
<vehicle>
<doors value="5"/>
<luggage_dimensions value="30cmX40cmX60cm"/>
<max_luggages value="4"/>
<max_passengers value="4"/>
</vehicle>
<transport typology="PRIVATE" category="Economy+" vehicle="Standard car"/>
<additional_fields>
<additional_field code="FLIGHT" name="Flight number" description="Please specify the flight number." value="TE57012"/>
<additional_field code="FLIGHT_TIME" name="Flight time" description="Please specify the exact time the flight is expected to land/depart." value="2024-02-12 15:00:00"/>
</additional_fields>
<ride_details>
<detail code="phone" text="+390411234456"/>
<detail code="surname" text="Rossi"/>
<detail code="name" text="Mario"/>
<detail code="car_model" text="White Fiat Panda"/>
<detail code="plate_number" text="AA012ZZ"/>
</ride_details>
<supplements>
<supplement code="SYS_SUPP_21@19" name="Welcome kit" quantity="1" max_quantity="1" type="int" prepaid="true" compulsory="false">
<prices>
<nett amount="8" currency="EUR"/>
<gross amount="8" currency="EUR"/>
</prices>
</supplement>
</supplements>
<prices>
<nett amount="118" currency="EUR"/>
<gross amount="120.80" currency="EUR"/>
</prices>
</response>
</envelope>
Response fields: