Wiki source code of 5.TourPackages

Version 10.5 by Giorgi Mdivnishvili on 2024/04/15 18:36

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 = Introduction - Reservation of TourPackages =
6
7
8
9 This section contains information which you can use to book tour packages. TourPackage -  consists of three combined services, namely:
10
11 1. Avia Tickets,
12 1. transfers ,
13 1. hotel services
14
15
16 (% class="box infomessage" %)
17 (((
18 Tour package requirements can vary based on the destination country, necessitating the inclusion of additional mandatory services such as Visa, Insurance, and Tour Code. When querying for tour packages through the API, the response payload will dynamically include fields indicating whether these services are mandatory. For instance, the API may return a structure like this:
19 )))
20
21 [[image:1713191255012-154.png]]
22
23 in the given example it means that insurance service is mandatory for the tourpackage
24
25
26 For reservation, it is necessary to go through several stages, namely: processing and transfer of the received datafrom  using the catalog section methods.
27
28 * Make request for finding available tour packages;
29 * Choose the package and make a calculation on the selected tour package;
30 * Make reservation request, by confirmation of the selected tour package;
31 * Get information about the booked package.
32
33 Here is the list of request methods which is required to make a reservation.
34
35 1. (((
36 === [[SearchTourPackages>>SearchTourPackages]] ===
37 )))
38 1. (((
39 === [[GetOtherFlights>>GetOtherFlights]] ===
40 )))
41 1. (((
42 === [[CalcPackage>>CalcPackage]] ===
43 )))
44 1. (((
45 === [[CalcCheckout>>CalcCheckout]] ===
46 )))
47 1. (((
48 === [[ConfirmCheckout>>ConfirmCheckout]] ===
49 )))
50 1. (((
51 === [[GetReservationDetails>>GetReservationDetails]] ===
52 )))
53
54