Changes for page 2. CalcPackage
Last modified by Giorgi Mdivnishvili on 2024/01/09 12:57
From version 7.1
edited by Giorgi Mdivnishvili
on 2023/12/19 18:05
on 2023/12/19 18:05
Change comment:
There is no comment for this version
To version 8.1
edited by Giorgi Mdivnishvili
on 2023/12/26 16:47
on 2023/12/26 16:47
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -36,7 +36,7 @@ 36 36 37 37 {{code language="Json"}} 38 38 { 39 - "packageId": "onlyavia: 2e822eb1-c0dd-49a4-9c78-e8a93444fb48:26581120-a15b-4a04-8ec1-570a312be3f3"39 + "packageId": "onlyavia:8df9ae18-dcb3-46bf-b493-4a14f8483e9b:2693f089-1032-42c0-bf85-f1d7a4e91848" 40 40 } 41 41 {{/code}} 42 42 ... ... @@ -135,7 +135,99 @@ 135 135 === Response example === 136 136 137 137 {{code language="Json"}} 138 -error 138 +{ 139 + "package": { 140 + "id": "onlyavia:8df9ae18-dcb3-46bf-b493-4a14f8483e9b:2693f089-1032-42c0-bf85-f1d7a4e91848", 141 + "priceCurrency": "USD", 142 + "totalPrice": 230.00, 143 + "flight": { 144 + "id": "2693f089-1032-42c0-bf85-f1d7a4e91848", 145 + "departureDate": "2023-12-28T20:00:00.000Z", 146 + "returnDate": "2023-12-30T20:00:00.000Z", 147 + "departureTicketsLeft": 1, 148 + "returnTicketsLeft": 24, 149 + "departureAvailabilityType": "FewPlaces", 150 + "returnAvailabilityType": "FreeSale", 151 + "isTwoWay": true, 152 + "sameBaggageForAll": false, 153 + "totalBaggage": false, 154 + "departureSegments": [ 155 + { 156 + "airlineCode": "KC", 157 + "airlineName": "Air Astana.", 158 + "flightCode": "KC899", 159 + "class": "econom", 160 + "lugageWeight": 20, 161 + "handLugageWeight": 6, 162 + "departureFlightDate": "2023-12-28T20:00:00.000Z", 163 + "departureCountryName": "Kazakhstan", 164 + "departureCityName": "Almaty", 165 + "departureAirportCode": "ALA", 166 + "departureAirportName": "Almaty Intl Airport", 167 + "departureTerminalCode": "ALA", 168 + "arrivalFlightDate": "2023-12-28T20:00:00.000Z", 169 + "arrivalCountryName": "United Arab Emirates", 170 + "arrivalCityName": "Dubai", 171 + "arrivalAirportCode": "DXB", 172 + "arrivalAirportName": "Dubai Intl Airport", 173 + "arrivalTerminalCode": "DXB1", 174 + "flightDuration": "0h 55m" 175 + } 176 + ], 177 + "returnSegments": [ 178 + { 179 + "airlineCode": "KC", 180 + "airlineName": "Air Astana.", 181 + "flightCode": "KC900", 182 + "class": "econom", 183 + "lugageWeight": 20, 184 + "handLugageWeight": 6, 185 + "departureFlightDate": "2023-12-30T20:00:00.000Z", 186 + "departureCountryName": "United Arab Emirates", 187 + "departureCityName": "Dubai", 188 + "departureAirportCode": "DXB", 189 + "departureAirportName": "Dubai Intl Airport", 190 + "departureTerminalCode": "DXB1", 191 + "arrivalFlightDate": "2023-12-29T20:00:00.000Z", 192 + "arrivalCountryName": "Kazakhstan", 193 + "arrivalCityName": "Almaty", 194 + "arrivalAirportCode": "ALA", 195 + "arrivalAirportName": "Almaty Intl Airport", 196 + "arrivalTerminalCode": "ALA", 197 + "flightDuration": "-45m" 198 + } 199 + ], 200 + "passengers": [ 201 + { 202 + "id": "42777149001000012-A1", 203 + "isAdult": true, 204 + "selectedForwardBaggageCode": "INCLUDED", 205 + "selectedBackwardBaggageCode": "INCLUDED", 206 + "forwardBaggages": [ 207 + { 208 + "baggageCode": "INCLUDED", 209 + "description": "20 KG INCLUDED", 210 + "price": 0.0, 211 + "currency": "USD", 212 + "included": true 213 + } 214 + ], 215 + "backwardBaggages": [ 216 + { 217 + "baggageCode": "INCLUDED", 218 + "description": "20 KG INCLUDED", 219 + "price": 0.0, 220 + "currency": "USD", 221 + "included": true 222 + } 223 + ] 224 + } 225 + ] 226 + } 227 + }, 228 + "refreshPriceResult": "Success", 229 + "error": false 230 +} 139 139 {{/code}} 140 140 141 141 ... ... @@ -284,4 +284,3 @@ 284 284 } 285 285 {{/success}} 286 286 287 -