Changes for page 1. SearchTourPackages
Last modified by Giorgi Mdivnishvili on 2025/10/22 15:30
From version 50.1
edited by Giorgi Mdivnishvili
on 2025/10/13 18:17
on 2025/10/13 18:17
Change comment:
There is no comment for this version
To version 42.1
edited by Giorgi Mdivnishvili
on 2024/04/16 18:48
on 2024/04/16 18:48
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,7 +8,7 @@ 8 8 9 9 Tour package mean, tour with hotel and flight together In case of variation also with transfer option. Using this method gives data about full package availability with flight and hotel options. 10 10 11 -It's possible to receive data as current dates, also in date ranges using parameter " nights": 0, "nightsTo": 0. the maximum difference between the days can be 7. Below you can see examples.11 +It's possible to receive data as current dates, also in date ranges using parameter "stayDays": 0, "stayDaysTo": 0. the maximum difference between the days can be 7. Below you can see examples. 12 12 13 13 14 14 in more details: ... ... @@ -18,8 +18,8 @@ 18 18 **Data Retrieval Parameters:** 19 19 20 20 * **Parameter Usage**: To query package data, the system utilizes the following parameters within the request payload: 21 -** nights: Defines the minimum duration of stay (in days) as part of the tour package. The value is set to 0 by default, indicating no minimum duration constraint.22 -** nightsTo: Specifies the maximum duration of stay (in days) allowable within the package offerings. A default value of 0 implies no maximum limit; however, the system enforces a maximum duration difference of 7 days between stayDays and stayDaysTo.21 +** stayDays: Defines the minimum duration of stay (in days) as part of the tour package. The value is set to 0 by default, indicating no minimum duration constraint. 22 +** stayDaysTo: Specifies the maximum duration of stay (in days) allowable within the package offerings. A default value of 0 implies no maximum limit; however, the system enforces a maximum duration difference of 7 days between stayDays and stayDaysTo. 23 23 24 24 **Constraints:** 25 25 ... ... @@ -66,8 +66,8 @@ 66 66 "checkInDate": "2023-12-14", 67 67 "checkInDateTo": "2023-12-14", 68 68 "checkOutDate": "2023-12-14", 69 - " nights": 0,70 - " NightsTo": 0,69 + "stayDays": 0, 70 + "stayDaysTo": 0, 71 71 "departureDate": "2023-12-14", 72 72 "returnDate": "2023-12-14", 73 73 "airlineCode": "string", ... ... @@ -126,8 +126,8 @@ 126 126 "checkInDate": "2024-02-05T20:00:00.000Z", 127 127 "checkInDateTo": "2024-02-10T20:00:00.000Z", 128 128 129 - " nights": 3,130 - " nightsTo": 6,129 + "stayDays": 3, 130 + "stayDaysTo": 6, 131 131 132 132 "airlineCode": "", 133 133 "ticketType": "", ... ... @@ -177,6 +177,7 @@ 177 177 "userErrorDescription": "string", 178 178 "packages": [ 179 179 { 180 + "cacheKey": "string", 180 180 "id": "string", 181 181 "priceCurrency": "string", 182 182 "totalPrice": 0, ... ... @@ -351,6 +351,7 @@ 351 351 { 352 352 "packages": [ 353 353 { 355 + "cacheKey": "c705ab31e00e4f9a81c2fd46b2cdbb47f6fd9a6e16984236beb979b31aefafa4:{79}:i:10", 354 354 "id": "tour:b01c168e-2ea7-4ea6-b6e0-55abb8cab0a0:da894a1e-88c0-4877-b216-0eeeabe186f3:4298d06f-4344-4a39-ad98-071b7760cf30", 355 355 "priceCurrency": "USD", 356 356 "totalPrice": 1033.53, ... ... @@ -511,6 +511,8 @@ 511 511 nullable: true 512 512 |packages|[ 513 513 nullable: trueTourPackage{((( 516 +|cacheKey|string 517 +nullable: true 514 514 |id|string 515 515 nullable: true 516 516 |priceCurrency|string ... ... @@ -790,7 +790,7 @@ 790 790 |stayDays|integer|The minimum number of days to stay. 791 791 |stayDaysTo|integer|The maximum number of days to stay. 792 792 |airlineCode|string|The code of the airline. This field can be empty. 793 -|ticketType|string|The type of the ticket. This field can be empty. definition of avia tickets classes. enum: F - First, B - Business, P = Premium, C - Coach797 +|ticketType|string|The type of the ticket. This field can be empty. 794 794 |directFlightsOnly|boolean|Indicates whether to search for direct flights only. 795 795 |longConnectTime|boolean|Indicates whether to include flights with long connection times. 796 796 |adults|integer|The number of adults. ... ... @@ -818,6 +818,7 @@ 818 818 (% class="table-bordered" %) 819 819 |=Field|=Type|=Description 820 820 |packages|array|An array of packages available. Each package contains: 825 +|cacheKey|string|A unique identifier for the cache. 821 821 |id|string|A unique identifier for the package. 822 822 |priceCurrency|string|The currency in which the price is displayed. examples - • KZT - ₸ • USD - $ • RUB - ₽ • EUR - € • UZS - ЛВ • AZN - ₼ 823 823 |totalPrice|float|The total price of the package. ... ... @@ -997,6 +997,7 @@ 997 997 } 998 998 {{/code}} 999 999 1005 +ds 1000 1000 1001 1001 1. **RO (Room Only)**: This plan includes only the accommodation with no meals provided. Guests will need to arrange their own meals either outside the hotel or by purchasing them separately within the hotel. 1002 1002 1. **BB (Bed and Breakfast)**: This plan includes accommodation along with breakfast served at the hotel. No other meals are included, which means guests need to arrange their own lunch and dinner. ... ... @@ -1004,12 +1004,12 @@ 1004 1004 1. **FB (Full Board)**: Under the full board plan, accommodation and all three meals (breakfast, lunch, and dinner) are included. This plan is convenient for guests who do not wish to worry about arranging meals during their stay. 1005 1005 1. **AL (All Inclusive)**: The all-inclusive meal plan includes accommodation, all meals (breakfast, lunch, dinner), and usually includes a range of snacks and beverages (both alcoholic and non-alcoholic). It is the most comprehensive meal plan, offering the greatest convenience and predictability in costs. 1006 1006 1007 - **ticketType **definition ofavia ticketsclasses.1013 +asd 1008 1008 1009 -enum: F - First, B - Business, P = Premium, C - Coach. 1010 - 1011 1011 == Important == 1012 1012 1017 +asd 1018 + 1013 1013 {{error}} 1014 1014 === Implementing Authorization in Subsequent Requests === 1015 1015