Changes for page 2. GetOtherFlights

Last modified by Giorgi Mdivnishvili on 2024/04/11 17:06

From version 2.1
edited by Giorgi Mdivnishvili
on 2023/12/18 18:02
Change comment: There is no comment for this version
To version 3.1
edited by Giorgi Mdivnishvili
on 2023/12/18 18:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,7 +12,7 @@
12 12  == Endpoint URL - [POST] ==
13 13  
14 14  {{info}}
15 -[[https:~~/~~/online-api.kazunion.com/api/TourPackages/SearchTourPackages>>https://online-api.kazunion.com/api/TourPackages/SearchTourPackages]]
15 +{{{https://online-api.kazunion.com/api/TourPackages/GetOtherFlights}}}
16 16  {{/info}}
17 17  
18 18  == Request Parameters ==
... ... @@ -27,60 +27,168 @@
27 27  
28 28  {{code language="Json"}}
29 29  {
30 - "departureCountryCode": "string",
31 - "departureCityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
32 - "arrivalCountryCode": "string",
33 - "arrivalLocations": [
34 - {
35 - "type": "string",
36 - "parent": "string",
37 - "label": "string",
38 - "subLabel": "string",
39 - "value": "string",
40 - "tag": "string"
41 - }
42 - ],
43 - "checkInDate": "2023-12-14T13:43:54.766Z",
44 - "checkInDateTo": "2023-12-14T13:43:54.766Z",
45 - "checkOutDate": "2023-12-14T13:43:54.766Z",
46 - "stayDays": 0,
47 - "stayDaysTo": 0,
48 - "departureDate": "2023-12-14T13:43:54.766Z",
49 - "returnDate": "2023-12-14T13:43:54.766Z",
50 - "airlineCode": "string",
51 - "ticketType": "string",
52 - "directFlightsOnly": true,
53 - "longConnectTime": true,
54 - "adults": 0,
55 - "children": 0,
56 - "childrenAges": [
57 - 0
58 - ],
59 - "extendedSearch": true,
60 - "totalPriceFrom": 0,
61 - "totalPriceTo": 0,
62 - "recommended": true,
63 - "popular": true,
64 - "freeSale": true,
65 - "groupByHotel": true,
66 - "hotelCodes": [
67 - "string"
68 - ],
69 - "mealPlans": [
70 - "string"
71 - ],
72 - "hotelClasses": [
73 - "string"
74 - ],
75 - "hotelTypes": [
76 - "CityHotel"
77 - ],
78 - "hotelServices": [
79 - "HasAlcohol"
80 - ],
81 - "pagingId": "string",
82 - "pageNumber": 0,
83 - "pageRowCount": 0
30 + "package": {
31 + "id": "string",
32 + "priceCurrency": "string",
33 + "totalPrice": 0,
34 + "agentCommissionPercent": 0,
35 + "agentCommissionAmount": 0,
36 + "includedExtrasAmount": 0,
37 + "priceDifference": 0,
38 + "hotel": {
39 + "hotelPriceId": "string",
40 + "providerId": 0,
41 + "hotelName": "string",
42 + "hotelCode": "string",
43 + "nigths": 0,
44 + "mealPlan": "string",
45 + "hotelClass": "string",
46 + "availabilityType": "OnRequest",
47 + "availableRoomsCount": 0,
48 + "fewRooms": true,
49 + "roomCategoryCode": "string",
50 + "roomCategoryName": "string",
51 + "placementTypeName": "string",
52 + "placementDescription": "string",
53 + "checkInDate": "2023-12-18T14:03:07.553Z",
54 + "checkOutDate": "2023-12-18T14:03:07.553Z",
55 + "adults": 0,
56 + "children": 0,
57 + "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
58 + "districtName": "string",
59 + "cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
60 + "cityName": "string",
61 + "countryCode": "string",
62 + "countryName": "string",
63 + "hasAlcohol": true,
64 + "hasFreeWifi": true,
65 + "hasMetro": true,
66 + "hasPool": true,
67 + "hasMall": true,
68 + "cancellationPolicyDescription": "string",
69 + "cancellationPolicy": {
70 + "cancellationPolicyCode": "string",
71 + "noShowChargeValue": 0,
72 + "noShowChargeValueType": "string",
73 + "earlyDepartureChargeValue": 0,
74 + "earlyDepartureChargeValueType": "string",
75 + "conditions": [
76 + {
77 + "timeunits": 0,
78 + "timeunitType": "string",
79 + "timeOffsetTypeName": "string",
80 + "chargeValue": 0,
81 + "chargeValueType": "string"
82 + }
83 + ]
84 + }
85 + },
86 + "flight": {
87 + "id": "string",
88 + "departureDate": "2023-12-18T14:03:07.553Z",
89 + "returnDate": "2023-12-18T14:03:07.553Z",
90 + "departureTicketsLeft": 0,
91 + "returnTicketsLeft": 0,
92 + "departureAvailabilityType": "OnRequest",
93 + "returnAvailabilityType": "OnRequest",
94 + "isTwoWay": true,
95 + "departureSegments": [
96 + {
97 + "airlineCode": "string",
98 + "airlineName": "string",
99 + "flightCode": "string",
100 + "class": "string",
101 + "lugageWeight": 0,
102 + "handLugageWeight": 0,
103 + "departureFlightDate": "2023-12-18T14:03:07.553Z",
104 + "departureCountryName": "string",
105 + "departureCityName": "string",
106 + "departureAirportCode": "string",
107 + "departureAirportName": "string",
108 + "departureTerminalCode": "string",
109 + "arrivalFlightDate": "2023-12-18T14:03:07.553Z",
110 + "arrivalCountryName": "string",
111 + "arrivalCityName": "string",
112 + "arrivalAirportCode": "string",
113 + "arrivalAirportName": "string",
114 + "arrivalTerminalCode": "string",
115 + "flightDuration": "string",
116 + "baggages": [
117 + {
118 + "baggageCode": "string",
119 + "description": "string",
120 + "price": 0,
121 + "currency": "string",
122 + "included": true
123 + }
124 + ]
125 + }
126 + ],
127 + "returnSegments": [
128 + {
129 + "airlineCode": "string",
130 + "airlineName": "string",
131 + "flightCode": "string",
132 + "class": "string",
133 + "lugageWeight": 0,
134 + "handLugageWeight": 0,
135 + "departureFlightDate": "2023-12-18T14:03:07.553Z",
136 + "departureCountryName": "string",
137 + "departureCityName": "string",
138 + "departureAirportCode": "string",
139 + "departureAirportName": "string",
140 + "departureTerminalCode": "string",
141 + "arrivalFlightDate": "2023-12-18T14:03:07.553Z",
142 + "arrivalCountryName": "string",
143 + "arrivalCityName": "string",
144 + "arrivalAirportCode": "string",
145 + "arrivalAirportName": "string",
146 + "arrivalTerminalCode": "string",
147 + "flightDuration": "string",
148 + "baggages": [
149 + {
150 + "baggageCode": "string",
151 + "description": "string",
152 + "price": 0,
153 + "currency": "string",
154 + "included": true
155 + }
156 + ]
157 + }
158 + ]
159 + },
160 + "extraServices": [
161 + {
162 + "extraServiceCode": "string",
163 + "extraServiceTypeCode": "string",
164 + "isMandatory": 0,
165 + "extraServiceName": "string",
166 + "minimalServiceAmount": 0,
167 + "includedPriceCode": "string",
168 + "prices": [
169 + {
170 + "extraServicePriceCode": "string",
171 + "displayName": "string",
172 + "restrictionInfo": "string",
173 + "additionalInfo": "string",
174 + "price": 0,
175 + "extraPrice": 0,
176 + "currency": "string"
177 + }
178 + ]
179 + }
180 + ],
181 + "insurancePrice": {
182 + "name": "string",
183 + "price": 0,
184 + "priceSurcarge": 0,
185 + "actualStartDate": "2023-12-18T14:03:07.553Z",
186 + "actualEndDate": "2023-12-18T14:03:07.553Z",
187 + "optional": true,
188 + "includedInPackagePrice": true
189 + },
190 + "cacheKey": "string"
191 + }
84 84  }
85 85  {{/code}}
86 86  
... ... @@ -550,4 +550,3 @@
550 550  }
551 551  {{/success}}
552 552  
553 -