Wiki source code of 5.TourPackages
Last modified by Giorgi Mdivnishvili on 2024/04/16 09:12
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | (% class="box infomessage" %) | ||
16 | ((( | ||
17 | Tour package requirements can vary based on the destination country, necessitating the inclusion of additional mandatory services such as **Visa, Insurance, Tour Code, **etc. 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: | ||
18 | ))) | ||
19 | |||
20 | [[image:1713191255012-154.png]] | ||
21 | |||
22 | in the given example it means that insurance service is mandatory for the tourpackage | ||
23 | |||
24 | |||
25 | For reservation, it is necessary to go through several stages, namely: processing and transfer of the received datafrom using the catalog section methods. | ||
26 | |||
27 | * Make request for finding available tour packages; | ||
28 | * Choose the package and make a calculation on the selected tour package; | ||
29 | * Make reservation request, by confirmation of the selected tour package; | ||
30 | * Get information about the booked package. | ||
31 | |||
32 | Here is the list of request methods which is required to make a reservation. | ||
33 | |||
34 | 1. ((( | ||
35 | === [[SearchTourPackages>>SearchTourPackages]] === | ||
36 | ))) | ||
37 | 1. ((( | ||
38 | === [[GetOtherFlights>>GetOtherFlights]] === | ||
39 | ))) | ||
40 | 1. ((( | ||
41 | === [[CalcPackage>>CalcPackage]] === | ||
42 | ))) | ||
43 | 1. ((( | ||
44 | === [[CalcCheckout>>CalcCheckout]] === | ||
45 | ))) | ||
46 | 1. ((( | ||
47 | === [[ConfirmCheckout>>ConfirmCheckout]] === | ||
48 | ))) | ||
49 | 1. ((( | ||
50 | === [[GetReservationDetails>>GetReservationDetails]] === | ||
51 | ))) | ||
52 | |||
53 |