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
on 2023/12/18 18:02
Change comment:
There is no comment for this version
To version 11.1
edited by Giorgi Mdivnishvili
on 2023/12/27 10:43
on 2023/12/27 10:43
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -GetOtherFlights 1 +2. GetOtherFlights - 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>>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 ... ... @@ -89,13 +89,8 @@ 89 89 90 90 {{code language="json"}} 91 91 { 92 - "error": true, 93 - "errorCode": "string", 94 - "errorDescription": "string", 95 - "userErrorDescription": "string", 96 96 "packages": [ 97 97 { 98 - "cacheKey": "string", 99 99 "id": "string", 100 100 "priceCurrency": "string", 101 101 "totalPrice": 0, ... ... @@ -118,8 +118,8 @@ 118 118 "roomCategoryName": "string", 119 119 "placementTypeName": "string", 120 120 "placementDescription": "string", 121 - "checkInDate": "2023-12-1 4T13:47:13.396Z",122 - "checkOutDate": "2023-12-1 4T13:47:13.396Z",224 + "checkInDate": "2023-12-18T14:03:10.148Z", 225 + "checkOutDate": "2023-12-18T14:03:10.148Z", 123 123 "adults": 0, 124 124 "children": 0, 125 125 "districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", ... ... @@ -153,8 +153,8 @@ 153 153 }, 154 154 "flight": { 155 155 "id": "string", 156 - "departureDate": "2023-12-1 4T13:47:13.396Z",157 - "returnDate": "2023-12-1 4T13:47:13.396Z",259 + "departureDate": "2023-12-18T14:03:10.148Z", 260 + "returnDate": "2023-12-18T14:03:10.148Z", 158 158 "departureTicketsLeft": 0, 159 159 "returnTicketsLeft": 0, 160 160 "departureAvailabilityType": "OnRequest", ... ... @@ -168,13 +168,13 @@ 168 168 "class": "string", 169 169 "lugageWeight": 0, 170 170 "handLugageWeight": 0, 171 - "departureFlightDate": "2023-12-1 4T13:47:13.396Z",274 + "departureFlightDate": "2023-12-18T14:03:10.148Z", 172 172 "departureCountryName": "string", 173 173 "departureCityName": "string", 174 174 "departureAirportCode": "string", 175 175 "departureAirportName": "string", 176 176 "departureTerminalCode": "string", 177 - "arrivalFlightDate": "2023-12-1 4T13:47:13.396Z",280 + "arrivalFlightDate": "2023-12-18T14:03:10.148Z", 178 178 "arrivalCountryName": "string", 179 179 "arrivalCityName": "string", 180 180 "arrivalAirportCode": "string", ... ... @@ -200,13 +200,13 @@ 200 200 "class": "string", 201 201 "lugageWeight": 0, 202 202 "handLugageWeight": 0, 203 - "departureFlightDate": "2023-12-1 4T13:47:13.396Z",306 + "departureFlightDate": "2023-12-18T14:03:10.148Z", 204 204 "departureCountryName": "string", 205 205 "departureCityName": "string", 206 206 "departureAirportCode": "string", 207 207 "departureAirportName": "string", 208 208 "departureTerminalCode": "string", 209 - "arrivalFlightDate": "2023-12-1 4T13:47:13.396Z",312 + "arrivalFlightDate": "2023-12-18T14:03:10.148Z", 210 210 "arrivalCountryName": "string", 211 211 "arrivalCityName": "string", 212 212 "arrivalAirportCode": "string", ... ... @@ -250,16 +250,14 @@ 250 250 "name": "string", 251 251 "price": 0, 252 252 "priceSurcarge": 0, 253 - "actualStartDate": "2023-12-1 4T13:47:13.396Z",254 - "actualEndDate": "2023-12-1 4T13:47:13.396Z",356 + "actualStartDate": "2023-12-18T14:03:10.148Z", 357 + "actualEndDate": "2023-12-18T14:03:10.148Z", 255 255 "optional": true, 256 256 "includedInPackagePrice": true 257 - } 360 + }, 361 + "cacheKey": "string" 258 258 } 259 - ], 260 - "pagingId": "string", 261 - "pageNumber": 0, 262 - "pageCount": 0 363 + ] 263 263 } 264 264 {{/code}} 265 265 ... ... @@ -274,19 +274,10 @@ 274 274 === Schema === 275 275 276 276 {{success}} 277 - SearchTourPackagesResponse{378 +GetOtherFlightsResponse{ 278 278 279 -|error|boolean 280 -|errorCode|string 281 -nullable: true 282 -|errorDescription|string 283 -nullable: true 284 -|userErrorDescription|string 285 -nullable: true 286 286 |packages|[ 287 287 nullable: trueTourPackage{((( 288 -|cacheKey|string 289 -nullable: true 290 290 |id|string 291 291 nullable: true 292 292 |priceCurrency|string ... ... @@ -539,13 +539,11 @@ 539 539 540 540 } 541 541 ))) 634 +|cacheKey|string 635 +nullable: true 542 542 543 543 }] 544 544 ))) 545 -|pagingId|string 546 -nullable: true 547 -|pageNumber|integer($int64) 548 -|pageCount|integer($int64) 549 549 550 550 } 551 551 {{/success}}