Wiki source code of 3. CalcCheckout
Version 1.5 by Giorgi Mdivnishvili on 2024/04/12 18:56
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.5 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} |
| 2 | |||
| |
1.2 | 3 | |
| |
1.5 | 4 | {{toc/}} |
| 5 | {{/box}} | ||
| |
1.1 | 6 | |
| |
1.2 | 7 | = Method Description = |
| |
1.1 | 8 | |
| 9 | |||
| |
1.3 | 10 | Once the desired tour variation has been selected, the next step involves calculating the package price in greater detail, typically just before proceeding with the reservation. To accomplish this, the **CalcCheckout **method must be utilized. This stage marks the pre-booking phase of the process. |
| |
1.1 | 11 | |
| 12 | |||
| |
1.2 | 13 | == Endpoint URL - [POST] == |
| 14 | |||
| |
1.5 | 15 | {{info}} |
| 16 | [[https:~~/~~/integration.kazunion.com/api/OnlyHotelPackages/CalcPackage>>https://integration.kazunion.com/api/OnlyHotelPackages/CalcPackage]] | ||
| 17 | {{/info}} | ||
| |
1.2 | 18 | |
| 19 | |||
| 20 | == Request Parameters == | ||
| 21 | |||
| 22 | (% class="box infomessage" %) | ||
| 23 | ((( | ||
| 24 | None | ||
| 25 | ))) | ||
| 26 | |||
| |
1.3 | 27 | |
| |
1.2 | 28 | == Request Body == |
| 29 | |||
| |
1.5 | 30 | {{code language="Json"}} |
| |
1.2 | 31 | { |
| |
1.5 | 32 | "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
| 33 | "calcTourPackageRequests": [ | ||
| |
1.2 | 34 | { |
| |
1.5 | 35 | "packageId": "string", |
| 36 | "extraServicePriceCodes": [ | ||
| 37 | "string" | ||
| |
1.3 | 38 | ], |
| |
1.5 | 39 | "flightPassengers": [ |
| |
1.3 | 40 | { |
| |
1.5 | 41 | "id": "string", |
| 42 | "selectedForwardBaggageCode": "string", | ||
| 43 | "selectedBackwardBaggageCode": "string" | ||
| |
1.3 | 44 | } |
| 45 | ], | ||
| |
1.5 | 46 | "includeInsurance": true, |
| 47 | "refreshPrices": true | ||
| |
1.2 | 48 | } |
| 49 | ], | ||
| |
1.5 | 50 | "calcOnlyHotelPackageRequests": [ |
| |
1.3 | 51 | { |
| |
1.5 | 52 | "packageId": "string", |
| 53 | "extraServicePriceCodes": [ | ||
| 54 | "string" | ||
| |
1.3 | 55 | ], |
| |
1.5 | 56 | "includeInsurance": true, |
| 57 | "refreshPrices": true | ||
| |
1.3 | 58 | } |
| |
1.2 | 59 | ], |
| |
1.5 | 60 | "calcOnlyAviaPackageRequests": [ |
| |
1.3 | 61 | { |
| |
1.5 | 62 | "packageId": "string", |
| 63 | "refreshPrices": true, | ||
| 64 | "flightPassengers": [ | ||
| |
1.3 | 65 | { |
| |
1.5 | 66 | "id": "string", |
| 67 | "selectedForwardBaggageCode": "string", | ||
| 68 | "selectedBackwardBaggageCode": "string" | ||
| |
1.3 | 69 | } |
| 70 | ] | ||
| 71 | } | ||
| |
1.2 | 72 | ], |
| |
1.5 | 73 | "hotels": [ |
| |
1.3 | 74 | { |
| |
1.5 | 75 | "hotelPriceId": "string", |
| 76 | "agentConfirmationNumber": "string", | ||
| 77 | "note": "string", | ||
| 78 | "touristIds": [ | ||
| 79 | "3fa85f64-5717-4562-b3fc-2c963f66afa6" | ||
| |
1.3 | 80 | ] |
| 81 | } | ||
| |
1.2 | 82 | ], |
| |
1.5 | 83 | "tourists": [ |
| |
1.3 | 84 | { |
| |
1.5 | 85 | "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
| 86 | "firstName": "string", | ||
| 87 | "lastName": "string", | ||
| 88 | "birthDate": "2024-04-11T03:34:15.828Z", | ||
| 89 | "passportNumber": "string", | ||
| 90 | "passportExpiry": "2024-04-11T03:34:15.828Z", | ||
| 91 | "passportIssue": "2024-04-11T03:34:15.828Z", | ||
| 92 | "citizenship": "string", | ||
| 93 | "tin": "string", | ||
| 94 | "isMale": true, | ||
| 95 | "flightIds": [ | ||
| 96 | "string" | ||
| |
1.3 | 97 | ], |
| |
1.5 | 98 | "arrivalFlightInfo": { |
| 99 | "flightNumber": "string", | ||
| 100 | "terminalCode": "string", | ||
| 101 | "date": "2024-04-11T03:34:15.828Z", | ||
| 102 | "time": "string" | ||
| |
1.3 | 103 | }, |
| |
1.5 | 104 | "departureFlightInfo": { |
| 105 | "flightNumber": "string", | ||
| 106 | "terminalCode": "string", | ||
| 107 | "date": "2024-04-11T03:34:15.828Z", | ||
| 108 | "time": "string" | ||
| |
1.3 | 109 | }, |
| |
1.5 | 110 | "selectedVisaId": "string", |
| 111 | "transfers": [ | ||
| |
1.3 | 112 | { |
| |
1.5 | 113 | "id": "string", |
| 114 | "selectedTransferPriceId": "string" | ||
| |
1.3 | 115 | } |
| 116 | ] | ||
| 117 | } | ||
| |
1.2 | 118 | ], |
| |
1.5 | 119 | "note": "string", |
| 120 | "contactPhone": "string" | ||
| 121 | } | ||
| |
1.3 | 122 | |
| |
1.5 | 123 | {{/code}} |
| 124 | |||
| |
1.3 | 125 | (% class="wikigeneratedid" id="HRequestBodyexample" %) |
| 126 | (% id="cke_bm_10575S" style="display:none" %) | ||
| 127 | |||
| 128 | |||
| 129 | |||
| |
1.2 | 130 | == Request Body example == |
| 131 | |||
| |
1.5 | 132 | {{code language="Json"}} |
| |
1.2 | 133 | { |
| |
1.5 | 134 | "calcTourPackageRequests": [], |
| 135 | "calcOnlyHotelPackageRequests": [ | ||
| |
1.3 | 136 | { |
| |
1.5 | 137 | "refreshPrices": true, |
| 138 | "packageId": "onlyhotel:25a0ce83-047e-485a-8fd7-f2b5a7a1fa37:9963330c-2346-4330-b9cf-7abbb0f64636", | ||
| 139 | "extraServicePriceCodes": [], | ||
| 140 | "includeInsurance": false | ||
| |
1.3 | 141 | } |
| 142 | ], | ||
| |
1.5 | 143 | "calcOnlyAviaPackageRequests": [] |
| |
1.3 | 144 | } |
| |
1.5 | 145 | {{/code}} |
| |
1.3 | 146 | |
| 147 | |||
| 148 | == Response == | ||
| 149 | |||
| |
1.5 | 150 | {{code language="json"}} |
| |
1.3 | 151 | { |
| |
1.5 | 152 | "priceCurrency": "USD", |
| 153 | "totalPrice": 47, | ||
| 154 | "agentCommissionPercent": 0.00, | ||
| 155 | "agentCommissionAmount": 0, | ||
| 156 | "requiredCitizenIdentifiers": [ | ||
| |
1.3 | 157 | { |
| |
1.5 | 158 | "countryCode": "KZ", |
| 159 | "identifierType": "TIN" | ||
| 160 | }, | ||
| 161 | { | ||
| 162 | "countryCode": "AZ", | ||
| 163 | "identifierType": "FIN" | ||
| |
1.3 | 164 | } |
| |
1.5 | 165 | ], |
| 166 | "hotels": [ | ||
| |
1.3 | 167 | { |
| |
1.5 | 168 | "hotelPriceId": "9963330c-2346-4330-b9cf-7abbb0f64636", |
| 169 | "touristIds": [ | ||
| 170 | "5652e3ba-23d1-4392-bcd9-03442b48e385", | ||
| 171 | "5e395a1b-982b-4686-b078-b8ffd3332c0e" | ||
| 172 | ], | ||
| 173 | "description": "Royal Continental Hotel" | ||
| |
1.3 | 174 | } |
| |
1.5 | 175 | ], |
| 176 | "tourists": [ | ||
| 177 | { | ||
| 178 | "id": "5652e3ba-23d1-4392-bcd9-03442b48e385", | ||
| 179 | "isAdult": true, | ||
| 180 | "flightIds": [], | ||
| 181 | "flights": [], | ||
| 182 | "arrivalFlightInfo": { | ||
| 183 | "terminalCode": "DXB2", | ||
| 184 | "date": "2024-06-30T00:00:00.000" | ||
| 185 | }, | ||
| 186 | "departureFlightInfo": { | ||
| 187 | "terminalCode": "DXB2", | ||
| 188 | "date": "2024-07-01T00:00:00.000" | ||
| 189 | }, | ||
| 190 | "selectedVisaId": "00000000-0000-0000-0000-000000000000", | ||
| 191 | "transfers": [ | ||
| 192 | { | ||
| 193 | "id": "DXB2-03cf038c-df96-4926-af5f-0f285e600405", | ||
| 194 | "type": "Arrival", | ||
| 195 | "flightInfo": { | ||
| 196 | "terminalCode": "DXB2", | ||
| 197 | "date": "2024-06-30T00:00:00.000" | ||
| 198 | }, | ||
| 199 | "checkInHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636", | ||
| 200 | "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 201 | "transferPrices": [ | ||
| 202 | { | ||
| 203 | "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 204 | "name": "WITHOUT", | ||
| 205 | "adultPlaces": 0, | ||
| 206 | "childPlaces": 0, | ||
| 207 | "perPersonPrice": false, | ||
| 208 | "adultPrice": 0.00000000, | ||
| 209 | "childPrice": 0 | ||
| 210 | }, | ||
| 211 | { | ||
| 212 | "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", | ||
| 213 | "name": "MINIVAN", | ||
| 214 | "adultPlaces": 5, | ||
| 215 | "childPlaces": 0, | ||
| 216 | "perPersonPrice": false, | ||
| 217 | "adultPrice": 45.00000000, | ||
| 218 | "childPrice": 0 | ||
| 219 | }, | ||
| 220 | { | ||
| 221 | "id": "fc3815bb-af00-4733-9134-4b6334ce3854", | ||
| 222 | "name": "TOYOTA HIACE", | ||
| 223 | "adultPlaces": 9, | ||
| 224 | "childPlaces": 0, | ||
| 225 | "perPersonPrice": false, | ||
| 226 | "adultPrice": 50.00000000, | ||
| 227 | "childPrice": 0 | ||
| 228 | }, | ||
| 229 | { | ||
| 230 | "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", | ||
| 231 | "name": "HIGER BUS (27 SEATERS)", | ||
| 232 | "adultPlaces": 27, | ||
| 233 | "childPlaces": 0, | ||
| 234 | "perPersonPrice": false, | ||
| 235 | "adultPrice": 85.00000000, | ||
| 236 | "childPrice": 0 | ||
| 237 | }, | ||
| 238 | { | ||
| 239 | "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", | ||
| 240 | "name": "HIGER 53", | ||
| 241 | "adultPlaces": 51, | ||
| 242 | "childPlaces": 0, | ||
| 243 | "perPersonPrice": false, | ||
| 244 | "adultPrice": 120.00000000, | ||
| 245 | "childPrice": 0 | ||
| 246 | }, | ||
| 247 | { | ||
| 248 | "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", | ||
| 249 | "name": "MERCEDES S CLASS 400", | ||
| 250 | "adultPlaces": 3, | ||
| 251 | "childPlaces": 0, | ||
| 252 | "perPersonPrice": false, | ||
| 253 | "adultPrice": 140.00000000, | ||
| 254 | "childPrice": 0 | ||
| 255 | }, | ||
| 256 | { | ||
| 257 | "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", | ||
| 258 | "name": "MERCEDES V CLASS", | ||
| 259 | "adultPlaces": 7, | ||
| 260 | "childPlaces": 0, | ||
| 261 | "perPersonPrice": false, | ||
| 262 | "adultPrice": 140.00000000, | ||
| 263 | "childPrice": 0 | ||
| 264 | }, | ||
| 265 | { | ||
| 266 | "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", | ||
| 267 | "name": "MERCEDES S CLASS 500", | ||
| 268 | "adultPlaces": 3, | ||
| 269 | "childPlaces": 0, | ||
| 270 | "perPersonPrice": false, | ||
| 271 | "adultPrice": 165.00000000, | ||
| 272 | "childPrice": 0 | ||
| 273 | } | ||
| 274 | ] | ||
| 275 | }, | ||
| 276 | { | ||
| 277 | "id": "03cf038c-df96-4926-af5f-0f285e600405-DXB2", | ||
| 278 | "type": "Departure", | ||
| 279 | "flightInfo": { | ||
| 280 | "terminalCode": "DXB2", | ||
| 281 | "date": "2024-07-01T00:00:00.000" | ||
| 282 | }, | ||
| 283 | "checkOutHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636", | ||
| 284 | "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 285 | "transferPrices": [ | ||
| 286 | { | ||
| 287 | "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 288 | "name": "WITHOUT", | ||
| 289 | "adultPlaces": 0, | ||
| 290 | "childPlaces": 0, | ||
| 291 | "perPersonPrice": false, | ||
| 292 | "adultPrice": 0.00000000, | ||
| 293 | "childPrice": 0 | ||
| 294 | }, | ||
| 295 | { | ||
| 296 | "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", | ||
| 297 | "name": "MINIVAN", | ||
| 298 | "adultPlaces": 5, | ||
| 299 | "childPlaces": 0, | ||
| 300 | "perPersonPrice": false, | ||
| 301 | "adultPrice": 45.00000000, | ||
| 302 | "childPrice": 0 | ||
| 303 | }, | ||
| 304 | { | ||
| 305 | "id": "fc3815bb-af00-4733-9134-4b6334ce3854", | ||
| 306 | "name": "TOYOTA HIACE", | ||
| 307 | "adultPlaces": 9, | ||
| 308 | "childPlaces": 0, | ||
| 309 | "perPersonPrice": false, | ||
| 310 | "adultPrice": 50.00000000, | ||
| 311 | "childPrice": 0 | ||
| 312 | }, | ||
| 313 | { | ||
| 314 | "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", | ||
| 315 | "name": "HIGER BUS (27 SEATERS)", | ||
| 316 | "adultPlaces": 27, | ||
| 317 | "childPlaces": 0, | ||
| 318 | "perPersonPrice": false, | ||
| 319 | "adultPrice": 85.00000000, | ||
| 320 | "childPrice": 0 | ||
| 321 | }, | ||
| 322 | { | ||
| 323 | "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", | ||
| 324 | "name": "HIGER 53", | ||
| 325 | "adultPlaces": 51, | ||
| 326 | "childPlaces": 0, | ||
| 327 | "perPersonPrice": false, | ||
| 328 | "adultPrice": 120.00000000, | ||
| 329 | "childPrice": 0 | ||
| 330 | }, | ||
| 331 | { | ||
| 332 | "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", | ||
| 333 | "name": "MERCEDES S CLASS 400", | ||
| 334 | "adultPlaces": 3, | ||
| 335 | "childPlaces": 0, | ||
| 336 | "perPersonPrice": false, | ||
| 337 | "adultPrice": 140.00000000, | ||
| 338 | "childPrice": 0 | ||
| 339 | }, | ||
| 340 | { | ||
| 341 | "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", | ||
| 342 | "name": "MERCEDES V CLASS", | ||
| 343 | "adultPlaces": 7, | ||
| 344 | "childPlaces": 0, | ||
| 345 | "perPersonPrice": false, | ||
| 346 | "adultPrice": 140.00000000, | ||
| 347 | "childPrice": 0 | ||
| 348 | }, | ||
| 349 | { | ||
| 350 | "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", | ||
| 351 | "name": "MERCEDES S CLASS 500", | ||
| 352 | "adultPlaces": 3, | ||
| 353 | "childPlaces": 0, | ||
| 354 | "perPersonPrice": false, | ||
| 355 | "adultPrice": 165.00000000, | ||
| 356 | "childPrice": 0 | ||
| 357 | } | ||
| 358 | ] | ||
| 359 | } | ||
| 360 | ], | ||
| 361 | "description": " " | ||
| 362 | }, | ||
| 363 | { | ||
| 364 | "id": "5e395a1b-982b-4686-b078-b8ffd3332c0e", | ||
| 365 | "isAdult": true, | ||
| 366 | "flightIds": [], | ||
| 367 | "flights": [], | ||
| 368 | "arrivalFlightInfo": { | ||
| 369 | "terminalCode": "DXB2", | ||
| 370 | "date": "2024-06-30T00:00:00.000" | ||
| 371 | }, | ||
| 372 | "departureFlightInfo": { | ||
| 373 | "terminalCode": "DXB2", | ||
| 374 | "date": "2024-07-01T00:00:00.000" | ||
| 375 | }, | ||
| 376 | "selectedVisaId": "00000000-0000-0000-0000-000000000000", | ||
| 377 | "transfers": [ | ||
| 378 | { | ||
| 379 | "id": "DXB2-03cf038c-df96-4926-af5f-0f285e600405", | ||
| 380 | "type": "Arrival", | ||
| 381 | "flightInfo": { | ||
| 382 | "terminalCode": "DXB2", | ||
| 383 | "date": "2024-06-30T00:00:00.000" | ||
| 384 | }, | ||
| 385 | "checkInHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636", | ||
| 386 | "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 387 | "transferPrices": [ | ||
| 388 | { | ||
| 389 | "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 390 | "name": "WITHOUT", | ||
| 391 | "adultPlaces": 0, | ||
| 392 | "childPlaces": 0, | ||
| 393 | "perPersonPrice": false, | ||
| 394 | "adultPrice": 0.00000000, | ||
| 395 | "childPrice": 0 | ||
| 396 | }, | ||
| 397 | { | ||
| 398 | "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", | ||
| 399 | "name": "MINIVAN", | ||
| 400 | "adultPlaces": 5, | ||
| 401 | "childPlaces": 0, | ||
| 402 | "perPersonPrice": false, | ||
| 403 | "adultPrice": 45.00000000, | ||
| 404 | "childPrice": 0 | ||
| 405 | }, | ||
| 406 | { | ||
| 407 | "id": "fc3815bb-af00-4733-9134-4b6334ce3854", | ||
| 408 | "name": "TOYOTA HIACE", | ||
| 409 | "adultPlaces": 9, | ||
| 410 | "childPlaces": 0, | ||
| 411 | "perPersonPrice": false, | ||
| 412 | "adultPrice": 50.00000000, | ||
| 413 | "childPrice": 0 | ||
| 414 | }, | ||
| 415 | { | ||
| 416 | "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", | ||
| 417 | "name": "HIGER BUS (27 SEATERS)", | ||
| 418 | "adultPlaces": 27, | ||
| 419 | "childPlaces": 0, | ||
| 420 | "perPersonPrice": false, | ||
| 421 | "adultPrice": 85.00000000, | ||
| 422 | "childPrice": 0 | ||
| 423 | }, | ||
| 424 | { | ||
| 425 | "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", | ||
| 426 | "name": "HIGER 53", | ||
| 427 | "adultPlaces": 51, | ||
| 428 | "childPlaces": 0, | ||
| 429 | "perPersonPrice": false, | ||
| 430 | "adultPrice": 120.00000000, | ||
| 431 | "childPrice": 0 | ||
| 432 | }, | ||
| 433 | { | ||
| 434 | "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", | ||
| 435 | "name": "MERCEDES S CLASS 400", | ||
| 436 | "adultPlaces": 3, | ||
| 437 | "childPlaces": 0, | ||
| 438 | "perPersonPrice": false, | ||
| 439 | "adultPrice": 140.00000000, | ||
| 440 | "childPrice": 0 | ||
| 441 | }, | ||
| 442 | { | ||
| 443 | "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", | ||
| 444 | "name": "MERCEDES V CLASS", | ||
| 445 | "adultPlaces": 7, | ||
| 446 | "childPlaces": 0, | ||
| 447 | "perPersonPrice": false, | ||
| 448 | "adultPrice": 140.00000000, | ||
| 449 | "childPrice": 0 | ||
| 450 | }, | ||
| 451 | { | ||
| 452 | "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", | ||
| 453 | "name": "MERCEDES S CLASS 500", | ||
| 454 | "adultPlaces": 3, | ||
| 455 | "childPlaces": 0, | ||
| 456 | "perPersonPrice": false, | ||
| 457 | "adultPrice": 165.00000000, | ||
| 458 | "childPrice": 0 | ||
| 459 | } | ||
| 460 | ] | ||
| 461 | }, | ||
| 462 | { | ||
| 463 | "id": "03cf038c-df96-4926-af5f-0f285e600405-DXB2", | ||
| 464 | "type": "Departure", | ||
| 465 | "flightInfo": { | ||
| 466 | "terminalCode": "DXB2", | ||
| 467 | "date": "2024-07-01T00:00:00.000" | ||
| 468 | }, | ||
| 469 | "checkOutHotelId": "9963330c-2346-4330-b9cf-7abbb0f64636", | ||
| 470 | "selectedTransferPriceId": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 471 | "transferPrices": [ | ||
| 472 | { | ||
| 473 | "id": "9b4d2a8e-1f85-4d0d-8b39-c3b516d15c01", | ||
| 474 | "name": "WITHOUT", | ||
| 475 | "adultPlaces": 0, | ||
| 476 | "childPlaces": 0, | ||
| 477 | "perPersonPrice": false, | ||
| 478 | "adultPrice": 0.00000000, | ||
| 479 | "childPrice": 0 | ||
| 480 | }, | ||
| 481 | { | ||
| 482 | "id": "9bc3625d-017e-4e72-a4bc-b1e57dc2a146", | ||
| 483 | "name": "MINIVAN", | ||
| 484 | "adultPlaces": 5, | ||
| 485 | "childPlaces": 0, | ||
| 486 | "perPersonPrice": false, | ||
| 487 | "adultPrice": 45.00000000, | ||
| 488 | "childPrice": 0 | ||
| 489 | }, | ||
| 490 | { | ||
| 491 | "id": "fc3815bb-af00-4733-9134-4b6334ce3854", | ||
| 492 | "name": "TOYOTA HIACE", | ||
| 493 | "adultPlaces": 9, | ||
| 494 | "childPlaces": 0, | ||
| 495 | "perPersonPrice": false, | ||
| 496 | "adultPrice": 50.00000000, | ||
| 497 | "childPrice": 0 | ||
| 498 | }, | ||
| 499 | { | ||
| 500 | "id": "1df09212-11e3-44b1-b615-fbb6338efaf2", | ||
| 501 | "name": "HIGER BUS (27 SEATERS)", | ||
| 502 | "adultPlaces": 27, | ||
| 503 | "childPlaces": 0, | ||
| 504 | "perPersonPrice": false, | ||
| 505 | "adultPrice": 85.00000000, | ||
| 506 | "childPrice": 0 | ||
| 507 | }, | ||
| 508 | { | ||
| 509 | "id": "bd26e2cf-15ed-41c0-8e6f-743834b12dfb", | ||
| 510 | "name": "HIGER 53", | ||
| 511 | "adultPlaces": 51, | ||
| 512 | "childPlaces": 0, | ||
| 513 | "perPersonPrice": false, | ||
| 514 | "adultPrice": 120.00000000, | ||
| 515 | "childPrice": 0 | ||
| 516 | }, | ||
| 517 | { | ||
| 518 | "id": "5d67ad4f-5e8a-4dd2-abc0-74e5389e8c04", | ||
| 519 | "name": "MERCEDES S CLASS 400", | ||
| 520 | "adultPlaces": 3, | ||
| 521 | "childPlaces": 0, | ||
| 522 | "perPersonPrice": false, | ||
| 523 | "adultPrice": 140.00000000, | ||
| 524 | "childPrice": 0 | ||
| 525 | }, | ||
| 526 | { | ||
| 527 | "id": "f6fe44b2-574d-47b5-a15c-b0560cfc71a6", | ||
| 528 | "name": "MERCEDES V CLASS", | ||
| 529 | "adultPlaces": 7, | ||
| 530 | "childPlaces": 0, | ||
| 531 | "perPersonPrice": false, | ||
| 532 | "adultPrice": 140.00000000, | ||
| 533 | "childPrice": 0 | ||
| 534 | }, | ||
| 535 | { | ||
| 536 | "id": "50cf907a-2145-4b46-bb67-0dde2e7b7326", | ||
| 537 | "name": "MERCEDES S CLASS 500", | ||
| 538 | "adultPlaces": 3, | ||
| 539 | "childPlaces": 0, | ||
| 540 | "perPersonPrice": false, | ||
| 541 | "adultPrice": 165.00000000, | ||
| 542 | "childPrice": 0 | ||
| 543 | } | ||
| 544 | ] | ||
| 545 | } | ||
| 546 | ], | ||
| 547 | "description": " " | ||
| 548 | } | ||
| 549 | ], | ||
| 550 | "visas": [ | ||
| 551 | { | ||
| 552 | "prid": "00000000-0000-0000-0000-000000000000", | ||
| 553 | "prName": "WITHOUT VISA", | ||
| 554 | "prValue": 0.00000000, | ||
| 555 | "sortingOrder": 4 | ||
| 556 | }, | ||
| 557 | { | ||
| 558 | "prid": "40d3b511-c5b3-4395-b51f-11fb1b8e555b", | ||
| 559 | "prName": "TOURIST VISA", | ||
| 560 | "prValue": 80.01000000, | ||
| 561 | "sortingOrder": 2 | ||
| 562 | }, | ||
| 563 | { | ||
| 564 | "prid": "80490edd-a7ef-43dc-98cf-3f709efe68cb", | ||
| 565 | "prName": "SERVICE VISA", | ||
| 566 | "prValue": 120.08000000, | ||
| 567 | "sortingOrder": 3 | ||
| 568 | } | ||
| 569 | ], | ||
| 570 | "terminals": [ | ||
| 571 | { | ||
| 572 | "terminalCode": "DXB2", | ||
| 573 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 574 | "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", | ||
| 575 | "terminalName": "DXB2", | ||
| 576 | "countryCode": "AE" | ||
| 577 | }, | ||
| 578 | { | ||
| 579 | "terminalCode": "DXB", | ||
| 580 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 581 | "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", | ||
| 582 | "terminalName": "DXB", | ||
| 583 | "countryCode": "AE" | ||
| 584 | }, | ||
| 585 | { | ||
| 586 | "terminalCode": "SHJ", | ||
| 587 | "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6", | ||
| 588 | "districtUID": "18a915ca-74de-4613-a2fb-616ea300d16d", | ||
| 589 | "terminalName": "SHJ", | ||
| 590 | "countryCode": "AE" | ||
| 591 | }, | ||
| 592 | { | ||
| 593 | "terminalCode": "AUH3", | ||
| 594 | "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", | ||
| 595 | "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b", | ||
| 596 | "terminalName": "AUH3", | ||
| 597 | "countryCode": "AE" | ||
| 598 | }, | ||
| 599 | { | ||
| 600 | "terminalCode": "AUH", | ||
| 601 | "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", | ||
| 602 | "districtUID": "5460739a-fb6e-4d94-a35b-6f4e0612581b", | ||
| 603 | "terminalName": "AUH", | ||
| 604 | "countryCode": "AE" | ||
| 605 | }, | ||
| 606 | { | ||
| 607 | "terminalCode": "QIW", | ||
| 608 | "cityUID": "9aabae22-f2f8-408c-b295-55cce1393c88", | ||
| 609 | "districtUID": "9834149a-17ef-431e-b1f2-ab093bd55d94", | ||
| 610 | "terminalName": "Um Al Quwain Terminal ", | ||
| 611 | "countryCode": "AE" | ||
| 612 | }, | ||
| 613 | { | ||
| 614 | "terminalCode": "QAJ", | ||
| 615 | "cityUID": "a7e023c1-c654-4e1d-8a83-7e571bd3a78d", | ||
| 616 | "districtUID": "70e57708-9de2-4505-b550-f4627ae40877", | ||
| 617 | "terminalName": "Ajman Terminal ", | ||
| 618 | "countryCode": "AE" | ||
| 619 | }, | ||
| 620 | { | ||
| 621 | "terminalCode": "RKT", | ||
| 622 | "cityUID": "607fbe3a-68e6-4523-bf6e-e419fac86a8b", | ||
| 623 | "districtUID": "7f82fcc7-65ee-48d8-b0ea-200fa2ffdb42", | ||
| 624 | "terminalName": "Ras Al Khaimah Terminal ", | ||
| 625 | "countryCode": "AE" | ||
| 626 | }, | ||
| 627 | { | ||
| 628 | "terminalCode": "FJR", | ||
| 629 | "cityUID": "857a6d87-d1e4-4a17-a867-c65307559222", | ||
| 630 | "districtUID": "3a894ed3-8021-45c9-ae0c-aa5e7379bb82", | ||
| 631 | "terminalName": "Fujairah Terminal ", | ||
| 632 | "countryCode": "AE" | ||
| 633 | }, | ||
| 634 | { | ||
| 635 | "terminalCode": "DXB3", | ||
| 636 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 637 | "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", | ||
| 638 | "terminalName": "DXB3", | ||
| 639 | "countryCode": "AE" | ||
| 640 | }, | ||
| 641 | { | ||
| 642 | "terminalCode": "Etihad Bus Station", | ||
| 643 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 644 | "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b", | ||
| 645 | "terminalName": "Etihad Bus Station", | ||
| 646 | "countryCode": "AE" | ||
| 647 | }, | ||
| 648 | { | ||
| 649 | "terminalCode": "ETD", | ||
| 650 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 651 | "districtUID": "1fa8bb75-707b-40e6-8212-f705eeeaa16b", | ||
| 652 | "terminalName": "Etihad Main Office Dubai", | ||
| 653 | "countryCode": "AE", | ||
| 654 | "note": "Noor Islamic Bank MS" | ||
| 655 | }, | ||
| 656 | { | ||
| 657 | "terminalCode": "XGD", | ||
| 658 | "cityUID": "28c794fe-3c7e-4da2-ba93-f24bd3d4730d", | ||
| 659 | "districtUID": "88ece1b0-cb91-49f3-86a0-eedc6c8e5aaf", | ||
| 660 | "terminalName": "Dnata - Clock Tower", | ||
| 661 | "countryCode": "AE" | ||
| 662 | }, | ||
| 663 | { | ||
| 664 | "terminalCode": "DXB1", | ||
| 665 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 666 | "districtUID": "e6ce358e-22d4-413f-a39f-983a14a8e28e", | ||
| 667 | "terminalName": "DXB1", | ||
| 668 | "countryCode": "AE" | ||
| 669 | }, | ||
| 670 | { | ||
| 671 | "terminalCode": "DWC", | ||
| 672 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 673 | "districtUID": "42ace7f3-c109-4e81-8959-9c5adf193444", | ||
| 674 | "terminalName": "DWC", | ||
| 675 | "countryCode": "AE", | ||
| 676 | "note": "Al Maktoum intl. airport" | ||
| 677 | } | ||
| 678 | ], | ||
| 679 | "containsError": false, | ||
| 680 | "refreshPriceResult": "Success", | ||
| 681 | "reservationId": "39b50207-50b0-4b86-8a5d-a026866acf6d", | ||
| 682 | "reservationDetailsUnavailable": false, | ||
| 683 | "error": false | ||
| |
1.2 | 684 | } |
| |
1.5 | 685 | {{/code}} |
| |
1.2 | 686 | |
| 687 | |||
| |
1.3 | 688 | === Response example === |
| |
1.2 | 689 | |
| |
1.5 | 690 | {{code language="Json"}} |
| |
1.2 | 691 | { |
| |
1.5 | 692 | "package": { |
| 693 | "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:0c299240-6fc6-4f79-ba99-3548f2de3f57", | ||
| 694 | "priceCurrency": "USD", | ||
| 695 | "totalPrice": 937.16, | ||
| 696 | "agentCommissionPercent": 0.00, | ||
| 697 | "agentCommissionAmount": 0.00, | ||
| 698 | "includedExtrasAmount": 0, | ||
| 699 | "priceDifference": 0, | ||
| 700 | "hotel": { | ||
| 701 | "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f", | ||
| 702 | "providerId": 13, | ||
| 703 | "hotelName": "Mercure Dubai Barsha Heights Suites Apartments", | ||
| 704 | "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14", | ||
| 705 | "nigths": 2, | ||
| 706 | "mealPlan": "BB", | ||
| 707 | "hotelClass": "4", | ||
| 708 | "availabilityType": "StopSale", | ||
| 709 | "availableRoomsCount": 0, | ||
| 710 | "fewRooms": true, | ||
| 711 | "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4", | ||
| 712 | "roomCategoryName": "1 B/R Apartment City View", | ||
| 713 | "placementTypeName": "SNGL + CHILD(2-5.99)sharing", | ||
| 714 | "checkInDate": "2024-02-15T20:00:00.000Z", | ||
| 715 | "checkOutDate": "2024-02-17T20:00:00.000Z", | ||
| 716 | "adults": 1, | ||
| 717 | "children": 1, | ||
| 718 | "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e", | ||
| 719 | "districtName": "Al Barsha", | ||
| 720 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 721 | "cityName": "Dubai", | ||
| 722 | "countryCode": "AE", | ||
| 723 | "countryName": "United Arab Emirates", | ||
| 724 | "hasAlcohol": false, | ||
| 725 | "hasFreeWifi": true, | ||
| 726 | "hasMetro": true, | ||
| 727 | "hasPool": true, | ||
| 728 | "hasMall": false, | ||
| 729 | "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %", | ||
| 730 | "cancellationPolicy": { | ||
| 731 | "noShowChargeValue": 100.00, | ||
| 732 | "noShowChargeValueType": "%", | ||
| 733 | "earlyDepartureChargeValue": 100.00, | ||
| 734 | "earlyDepartureChargeValueType": "%", | ||
| 735 | "conditions": [ | ||
| |
1.3 | 736 | { |
| |
1.5 | 737 | "timeunits": 5, |
| 738 | "timeunitType": "Day", | ||
| 739 | "timeOffsetTypeName": "Before Arrival", | ||
| 740 | "chargeValue": 100.00, | ||
| 741 | "chargeValueType": "%" | ||
| |
1.3 | 742 | } |
| 743 | ] | ||
| 744 | } | ||
| 745 | }, | ||
| |
1.5 | 746 | "flight": { |
| 747 | "id": "0c299240-6fc6-4f79-ba99-3548f2de3f57", | ||
| 748 | "departureDate": "2024-02-15T20:00:00.000Z", | ||
| 749 | "returnDate": "2024-02-17T20:00:00.000Z", | ||
| 750 | "departureTicketsLeft": 7, | ||
| 751 | "returnTicketsLeft": 7, | ||
| 752 | "departureAvailabilityType": "FewPlaces", | ||
| 753 | "returnAvailabilityType": "FewPlaces", | ||
| 754 | "isTwoWay": true, | ||
| 755 | "sameBaggageForAll": false, | ||
| 756 | "totalBaggage": true, | ||
| 757 | "departureSegments": [ | ||
| |
1.3 | 758 | { |
| |
1.5 | 759 | "airlineCode": "KC", |
| 760 | "airlineName": "Air Astana-", | ||
| 761 | "flightCode": "KC899", | ||
| 762 | "class": "econom", | ||
| 763 | "lugageWeight": 20, | ||
| 764 | "handLugageWeight": 6, | ||
| 765 | "departureFlightDate": "2024-02-15T20:00:00.000Z", | ||
| 766 | "departureCountryName": "Kazakhstan", | ||
| 767 | "departureCityName": "Almaty", | ||
| 768 | "departureAirportCode": "ALA", | ||
| 769 | "departureAirportName": "Almaty Intl Airport", | ||
| 770 | "departureTerminalCode": "ALA", | ||
| 771 | "arrivalFlightDate": "2024-02-15T20:00:00.000Z", | ||
| 772 | "arrivalCountryName": "United Arab Emirates", | ||
| 773 | "arrivalCityName": "Dubai", | ||
| 774 | "arrivalAirportCode": "DXB", | ||
| 775 | "arrivalAirportName": "Dubai Intl Airport", | ||
| 776 | "arrivalTerminalCode": "DXB1", | ||
| 777 | "flightDuration": "0h 50m" | ||
| |
1.3 | 778 | } |
| 779 | ], | ||
| |
1.5 | 780 | "returnSegments": [ |
| |
1.3 | 781 | { |
| |
1.5 | 782 | "airlineCode": "KC", |
| 783 | "airlineName": "Air Astana-", | ||
| 784 | "flightCode": "KC900", | ||
| 785 | "class": "econom", | ||
| 786 | "lugageWeight": 20, | ||
| 787 | "handLugageWeight": 6, | ||
| 788 | "departureFlightDate": "2024-02-17T20:00:00.000Z", | ||
| 789 | "departureCountryName": "United Arab Emirates", | ||
| 790 | "departureCityName": "Dubai", | ||
| 791 | "departureAirportCode": "DXB", | ||
| 792 | "departureAirportName": "Dubai Intl Airport", | ||
| 793 | "departureTerminalCode": "DXB1", | ||
| 794 | "arrivalFlightDate": "2024-02-17T20:00:00.000Z", | ||
| 795 | "arrivalCountryName": "Kazakhstan", | ||
| 796 | "arrivalCityName": "Almaty", | ||
| 797 | "arrivalAirportCode": "ALA", | ||
| 798 | "arrivalAirportName": "Almaty Intl Airport", | ||
| 799 | "arrivalTerminalCode": "ALA", | ||
| 800 | "flightDuration": "8h 15m" | ||
| |
1.3 | 801 | } |
| 802 | ], | ||
| |
1.5 | 803 | "passengers": [ |
| |
1.3 | 804 | { |
| |
1.5 | 805 | "id": "42779531011000004-A1", |
| 806 | "isAdult": true, | ||
| 807 | "forwardBaggages": [ | ||
| |
1.3 | 808 | { |
| |
1.5 | 809 | "baggageCode": "TOTAL_BAGGAGE", |
| 810 | "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS", | ||
| 811 | "price": 45.00, | ||
| 812 | "currency": "USD", | ||
| 813 | "included": false | ||
| |
1.3 | 814 | } |
| 815 | ], | ||
| |
1.5 | 816 | "backwardBaggages": [ |
| |
1.3 | 817 | { |
| |
1.5 | 818 | "baggageCode": "INCLUDED_IN_FORWARD", |
| 819 | "price": 0, | ||
| 820 | "included": false | ||
| |
1.3 | 821 | } |
| 822 | ] | ||
| 823 | }, | ||
| 824 | { | ||
| |
1.5 | 825 | "id": "42779531011000004-C1", |
| 826 | "isAdult": false, | ||
| 827 | "forwardBaggages": [ | ||
| |
1.3 | 828 | { |
| |
1.5 | 829 | "baggageCode": "TOTAL_BAGGAGE", |
| 830 | "description": "1 piece included, UP TO 50 POUNDS/23 KILOGRAMS, OVER 62 LINEAR INCHES/158 LINEAR CENTIMETERS", | ||
| 831 | "price": 45.00, | ||
| 832 | "currency": "USD", | ||
| 833 | "included": false | ||
| |
1.3 | 834 | } |
| 835 | ], | ||
| |
1.5 | 836 | "backwardBaggages": [ |
| |
1.3 | 837 | { |
| |
1.5 | 838 | "baggageCode": "INCLUDED_IN_FORWARD", |
| 839 | "price": 0, | ||
| 840 | "included": false | ||
| |
1.3 | 841 | } |
| 842 | ] | ||
| 843 | } | ||
| 844 | ] | ||
| 845 | }, | ||
| |
1.5 | 846 | "extraServices": [], |
| 847 | "insurancePrice": { | ||
| 848 | "name": "Medical INS (N10000)", | ||
| 849 | "price": 13.44, | ||
| 850 | "priceSurcarge": 0.00, | ||
| 851 | "actualStartDate": "2024-02-15T20:00:00.000Z", | ||
| 852 | "actualEndDate": "2024-02-17T20:00:00.000Z", | ||
| 853 | "optional": false, | ||
| 854 | "includedInPackagePrice": true | ||
| |
1.3 | 855 | } |
| 856 | }, | ||
| |
1.5 | 857 | "altPackages": [ |
| |
1.2 | 858 | { |
| |
1.5 | 859 | "id": "tour:1d0fa533-4261-4254-93bb-83599d581ffc:193990fa-41a5-46e6-9805-50f82c3c377f:63d79c94-1e19-443f-8a17-50e59e633ea8", |
| 860 | "priceCurrency": "USD", | ||
| 861 | "totalPrice": 968.40, | ||
| 862 | "agentCommissionPercent": 0.00, | ||
| 863 | "agentCommissionAmount": 0.00, | ||
| 864 | "includedExtrasAmount": 0, | ||
| 865 | "priceDifference": 31.24, | ||
| 866 | "hotel": { | ||
| 867 | "hotelPriceId": "193990fa-41a5-46e6-9805-50f82c3c377f", | ||
| 868 | "providerId": 13, | ||
| 869 | "hotelName": "Mercure Dubai Barsha Heights Suites Apartments", | ||
| 870 | "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14", | ||
| 871 | "nigths": 2, | ||
| 872 | "mealPlan": "BB", | ||
| 873 | "hotelClass": "4", | ||
| 874 | "availabilityType": "StopSale", | ||
| 875 | "availableRoomsCount": 0, | ||
| 876 | "fewRooms": true, | ||
| 877 | "roomCategoryCode": "f8e1ffe5-25cc-46a4-80e8-586d1c049de4", | ||
| 878 | "roomCategoryName": "1 B/R Apartment City View", | ||
| 879 | "placementTypeName": "SNGL + CHILD(2-5.99)sharing", | ||
| 880 | "checkInDate": "2024-02-15T20:00:00.000Z", | ||
| 881 | "checkOutDate": "2024-02-17T20:00:00.000Z", | ||
| 882 | "adults": 1, | ||
| 883 | "children": 1, | ||
| 884 | "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e", | ||
| 885 | "districtName": "Al Barsha", | ||
| 886 | "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 887 | "cityName": "Dubai", | ||
| 888 | "countryCode": "AE", | ||
| 889 | "countryName": "United Arab Emirates", | ||
| 890 | "hasAlcohol": false, | ||
| 891 | "hasFreeWifi": true, | ||
| 892 | "hasMetro": true, | ||
| 893 | "hasPool": true, | ||
| 894 | "hasMall": false, | ||
| 895 | "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %", | ||
| 896 | "cancellationPolicy": { | ||
| 897 | "noShowChargeValue": 100.00, | ||
| 898 | "noShowChargeValueType": "%", | ||
| 899 | "earlyDepartureChargeValue": 100.00, | ||
| 900 | "earlyDepartureChargeValueType": "%", | ||
| 901 | "conditions": [ | ||
| |
1.2 | 902 | { |
| |
1.5 | 903 | "timeunits": 5, |
| 904 | "timeunitType": "Day", | ||
| 905 | "timeOffsetTypeName": "Before Arrival", | ||
| 906 | "chargeValue": 100.00, | ||
| 907 | "chargeValueType": "%" | ||
| |
1.2 | 908 | } |
| 909 | ] | ||
| 910 | } | ||
| 911 | }, | ||
| |
1.5 | 912 | "flight": { |
| 913 | "id": "63d79c94-1e19-443f-8a17-50e59e633ea8", | ||
| 914 | "departureDate": "2024-02-15T20:00:00.000Z", | ||
| 915 | "returnDate": "2024-02-17T20:00:00.000Z", | ||
| 916 | "departureTicketsLeft": 50, | ||
| 917 | "returnTicketsLeft": 50, | ||
| 918 | "departureAvailabilityType": "FewPlaces", | ||
| 919 | "returnAvailabilityType": "FewPlaces", | ||
| 920 | "isTwoWay": true, | ||
| 921 | "sameBaggageForAll": false, | ||
| 922 | "totalBaggage": false, | ||
| 923 | "departureSegments": [ | ||
| |
1.3 | 924 | { |
| |
1.5 | 925 | "airlineCode": "FZ", |
| 926 | "airlineName": "Fly Dubai.", | ||
| 927 | "flightCode": "FZ1722", | ||
| 928 | "class": "econom", | ||
| 929 | "lugageWeight": 20, | ||
| 930 | "handLugageWeight": 6, | ||
| 931 | "departureFlightDate": "2024-02-15T20:00:00.000Z", | ||
| 932 | "departureCountryName": "Kazakhstan", | ||
| 933 | "departureCityName": "Almaty", | ||
| 934 | "departureAirportCode": "ALA", | ||
| 935 | "departureAirportName": "Almaty Intl Airport", | ||
| 936 | "departureTerminalCode": "ALA", | ||
| 937 | "arrivalFlightDate": "2024-02-15T20:00:00.000Z", | ||
| 938 | "arrivalCountryName": "United Arab Emirates", | ||
| 939 | "arrivalCityName": "Dubai", | ||
| 940 | "arrivalAirportCode": "DXB", | ||
| 941 | "arrivalAirportName": "Dubai Intl Airport", | ||
| 942 | "arrivalTerminalCode": "DXB3", | ||
| 943 | "flightDuration": "0h 55m" | ||
| |
1.3 | 944 | } |
| 945 | ], | ||
| |
1.5 | 946 | "returnSegments": [ |
| |
1.3 | 947 | { |
| |
1.5 | 948 | "airlineCode": "FZ", |
| 949 | "airlineName": "Fly Dubai.", | ||
| 950 | "flightCode": "FZ1721", | ||
| 951 | "class": "econom", | ||
| 952 | "lugageWeight": 20, | ||
| 953 | "handLugageWeight": 6, | ||
| 954 | "departureFlightDate": "2024-02-17T20:00:00.000Z", | ||
| 955 | "departureCountryName": "United Arab Emirates", | ||
| 956 | "departureCityName": "Dubai", | ||
| 957 | "departureAirportCode": "DXB", | ||
| 958 | "departureAirportName": "Dubai Intl Airport", | ||
| 959 | "departureTerminalCode": "DXB3", | ||
| 960 | "arrivalFlightDate": "2024-02-18T20:00:00.000Z", | ||
| 961 | "arrivalCountryName": "Kazakhstan", | ||
| 962 | "arrivalCityName": "Almaty", | ||
| 963 | "arrivalAirportCode": "ALA", | ||
| 964 | "arrivalAirportName": "Almaty Intl Airport", | ||
| 965 | "arrivalTerminalCode": "DXB3", | ||
| 966 | "flightDuration": "8h 10m" | ||
| |
1.3 | 967 | } |
| 968 | ], | ||
| |
1.5 | 969 | "passengers": [ |
| |
1.3 | 970 | { |
| |
1.5 | 971 | "id": "42779547001000004-A1", |
| 972 | "isAdult": true, | ||
| 973 | "selectedForwardBaggageCode": "INCLUDED", | ||
| 974 | "selectedBackwardBaggageCode": "INCLUDED", | ||
| 975 | "forwardBaggages": [ | ||
| |
1.3 | 976 | { |
| |
1.5 | 977 | "baggageCode": "INCLUDED", |
| 978 | "description": "20 KG INCLUDED", | ||
| 979 | "price": 0.0, | ||
| 980 | "currency": "USD", | ||
| 981 | "included": true | ||
| |
1.3 | 982 | } |
| 983 | ], | ||
| |
1.5 | 984 | "backwardBaggages": [ |
| |
1.3 | 985 | { |
| |
1.5 | 986 | "baggageCode": "INCLUDED", |
| 987 | "description": "20 KG INCLUDED", | ||
| 988 | "price": 0.0, | ||
| 989 | "currency": "USD", | ||
| 990 | "included": true | ||
| |
1.3 | 991 | } |
| 992 | ] | ||
| 993 | }, | ||
| 994 | { | ||
| |
1.5 | 995 | "id": "42779547001000004-C1", |
| 996 | "isAdult": false, | ||
| 997 | "selectedForwardBaggageCode": "INCLUDED", | ||
| 998 | "selectedBackwardBaggageCode": "INCLUDED", | ||
| 999 | "forwardBaggages": [ | ||
| |
1.3 | 1000 | { |
| |
1.5 | 1001 | "baggageCode": "INCLUDED", |
| 1002 | "description": "20 KG INCLUDED", | ||
| 1003 | "price": 0.0, | ||
| 1004 | "currency": "USD", | ||
| 1005 | "included": true | ||
| |
1.3 | 1006 | } |
| 1007 | ], | ||
| |
1.5 | 1008 | "backwardBaggages": [ |
| |
1.3 | 1009 | { |
| |
1.5 | 1010 | "baggageCode": "INCLUDED", |
| 1011 | "description": "20 KG INCLUDED", | ||
| 1012 | "price": 0.0, | ||
| 1013 | "currency": "USD", | ||
| 1014 | "included": true | ||
| |
1.3 | 1015 | } |
| 1016 | ] | ||
| 1017 | } | ||
| 1018 | ] | ||
| 1019 | }, | ||
| |
1.5 | 1020 | "extraServices": [], |
| 1021 | "insurancePrice": { | ||
| 1022 | "name": "Medical INS (N10000)", | ||
| 1023 | "price": 13.44, | ||
| 1024 | "priceSurcarge": 0.00, | ||
| 1025 | "actualStartDate": "2024-02-15T20:00:00.000Z", | ||
| 1026 | "actualEndDate": "2024-02-17T20:00:00.000Z", | ||
| 1027 | "optional": false, | ||
| 1028 | "includedInPackagePrice": true | ||
| |
1.3 | 1029 | } |
| |
1.2 | 1030 | }, |
| |
1.3 | 1031 | { |
| |
1.5 | 1032 | {{/code}} |
| |
1.2 | 1033 | |
| 1034 | |||
| 1035 | === Schema === | ||
| 1036 | |||
| |
1.5 | 1037 | {{success}} |
| |
1.3 | 1038 | CheckoutFormIn{ |
| |
1.2 | 1039 | |
| |
1.3 | 1040 | |reservationId|string($uuid) |
| 1041 | nullable: true | ||
| 1042 | |calcTourPackageRequests|[ | ||
| 1043 | nullable: trueCalcTourPackageRequest{((( | ||
| 1044 | |packageId|string | ||
| 1045 | nullable: true | ||
| 1046 | |extraServicePriceCodes|[ | ||
| 1047 | nullable: truestring] | ||
| 1048 | |flightPassengers|[ | ||
| 1049 | nullable: trueFlightPassengerIn{((( | ||
| |
1.2 | 1050 | |id|string |
| 1051 | nullable: true | ||
| |
1.3 | 1052 | |selectedForwardBaggageCode|string |
| |
1.2 | 1053 | nullable: true |
| |
1.3 | 1054 | |selectedBackwardBaggageCode|string |
| |
1.2 | 1055 | nullable: true |
| |
1.3 | 1056 | |
| 1057 | }] | ||
| 1058 | ))) | ||
| 1059 | |includeInsurance|boolean | ||
| |
1.2 | 1060 | nullable: true |
| |
1.3 | 1061 | |refreshPrices|boolean |
| 1062 | |||
| 1063 | }] | ||
| 1064 | ))) | ||
| 1065 | |calcOnlyHotelPackageRequests|[ | ||
| 1066 | nullable: trueCalcOnlyHotelPackageRequest{((( | ||
| 1067 | |packageId|string | ||
| |
1.2 | 1068 | nullable: true |
| |
1.3 | 1069 | |extraServicePriceCodes|[ |
| 1070 | nullable: truestring] | ||
| 1071 | |includeInsurance|boolean | ||
| 1072 | |refreshPrices|boolean | ||
| 1073 | |||
| 1074 | }] | ||
| 1075 | ))) | ||
| 1076 | |calcOnlyAviaPackageRequests|[ | ||
| 1077 | nullable: trueCalcOnlyAviaPackageRequest{((( | ||
| 1078 | |packageId|string | ||
| |
1.2 | 1079 | nullable: true |
| |
1.3 | 1080 | |refreshPrices|boolean |
| 1081 | |flightPassengers|[ | ||
| 1082 | nullable: trueFlightPassengerIn{((( | ||
| 1083 | |id|string | ||
| |
1.2 | 1084 | nullable: true |
| |
1.3 | 1085 | |selectedForwardBaggageCode|string |
| |
1.2 | 1086 | nullable: true |
| |
1.3 | 1087 | |selectedBackwardBaggageCode|string |
| |
1.2 | 1088 | nullable: true |
| |
1.3 | 1089 | |
| 1090 | }] | ||
| 1091 | ))) | ||
| 1092 | |||
| 1093 | }] | ||
| 1094 | ))) | ||
| 1095 | |hotels|[ | ||
| 1096 | nullable: trueCheckoutHotelIn{((( | ||
| 1097 | |hotelPriceId|string | ||
| |
1.2 | 1098 | nullable: true |
| |
1.3 | 1099 | |agentConfirmationNumber|string |
| |
1.2 | 1100 | nullable: true |
| |
1.3 | 1101 | |note|string |
| |
1.2 | 1102 | nullable: true |
| |
1.3 | 1103 | |touristIds|[ |
| 1104 | nullable: truestring($uuid)] | ||
| 1105 | |||
| 1106 | }] | ||
| 1107 | ))) | ||
| 1108 | |tourists|[ | ||
| 1109 | nullable: trueCheckoutTouristIn{((( | ||
| 1110 | |id|string($uuid) | ||
| 1111 | |firstName|string | ||
| |
1.2 | 1112 | nullable: true |
| |
1.3 | 1113 | |lastName|string |
| |
1.2 | 1114 | nullable: true |
| |
1.3 | 1115 | |birthDate|string($date-time) |
| |
1.2 | 1116 | nullable: true |
| |
1.3 | 1117 | |passportNumber|string |
| |
1.2 | 1118 | nullable: true |
| |
1.3 | 1119 | |passportExpiry|string($date-time) |
| |
1.2 | 1120 | nullable: true |
| |
1.3 | 1121 | |passportIssue|string($date-time) |
| |
1.2 | 1122 | nullable: true |
| |
1.3 | 1123 | |citizenship|string |
| |
1.2 | 1124 | nullable: true |
| |
1.3 | 1125 | |tin|string |
| |
1.2 | 1126 | nullable: true |
| |
1.3 | 1127 | |isMale|boolean |
| |
1.2 | 1128 | nullable: true |
| |
1.3 | 1129 | |flightIds|[ |
| 1130 | nullable: truestring] | ||
| 1131 | |arrivalFlightInfo|ManualFlightInfo{((( | ||
| 1132 | |flightNumber|string | ||
| |
1.2 | 1133 | nullable: true |
| |
1.3 | 1134 | |terminalCode|string |
| |
1.2 | 1135 | nullable: true |
| |
1.3 | 1136 | |date|string($date-time) |
| |
1.2 | 1137 | nullable: true |
| |
1.3 | 1138 | |time|string |
| |
1.2 | 1139 | nullable: true |
| |
1.3 | 1140 | |
| 1141 | } | ||
| 1142 | ))) | ||
| 1143 | |departureFlightInfo|ManualFlightInfo{((( | ||
| 1144 | |flightNumber|string | ||
| |
1.2 | 1145 | nullable: true |
| |
1.3 | 1146 | |terminalCode|string |
| |
1.2 | 1147 | nullable: true |
| |
1.3 | 1148 | |date|string($date-time) |
| 1149 | nullable: true | ||
| 1150 | |time|string | ||
| 1151 | nullable: true | ||
| |
1.2 | 1152 | |
| |
1.3 | 1153 | } |
| 1154 | ))) | ||
| 1155 | |selectedVisaId|string | ||
| 1156 | nullable: true | ||
| 1157 | |transfers|[ | ||
| 1158 | nullable: trueCheckoutTransferIn{((( | ||
| 1159 | |id|string | ||
| 1160 | nullable: true | ||
| 1161 | |selectedTransferPriceId|string | ||
| 1162 | nullable: true | ||
| 1163 | |||
| |
1.2 | 1164 | }] |
| 1165 | ))) | ||
| 1166 | |||
| |
1.3 | 1167 | }] |
| |
1.2 | 1168 | ))) |
| |
1.3 | 1169 | |note|string |
| 1170 | nullable: true | ||
| 1171 | |contactPhone|string | ||
| 1172 | nullable: true | ||
| |
1.2 | 1173 | |
| 1174 | } | ||
| |
1.5 | 1175 | {{/success}} |
| |
1.3 | 1176 | |
| |
1.5 | 1177 | {{success}} |
| |
1.3 | 1178 | CheckoutFormOut{ |
| 1179 | |||
| 1180 | |error|boolean | ||
| 1181 | |errorCode|string | ||
| |
1.2 | 1182 | nullable: true |
| |
1.3 | 1183 | |errorDescription|string |
| |
1.2 | 1184 | nullable: true |
| |
1.3 | 1185 | |userErrorDescription|string |
| |
1.2 | 1186 | nullable: true |
| |
1.3 | 1187 | |priceCurrency|string |
| |
1.2 | 1188 | nullable: true |
| |
1.3 | 1189 | |totalPrice|number($double) |
| 1190 | |agentCommissionPercent|number($double) | ||
| 1191 | |agentCommissionAmount|number($double) | ||
| 1192 | |requiredCitizenIdentifiers|[ | ||
| 1193 | nullable: trueCitizenIdentifier{((( | ||
| 1194 | |countryCode|string | ||
| |
1.2 | 1195 | nullable: true |
| |
1.3 | 1196 | |identifierType|IdentifierTypeEnumstringEnum: |
| 1197 | [ TIN, FIN ] | ||
| 1198 | |||
| 1199 | }] | ||
| 1200 | ))) | ||
| 1201 | |hotels|[ | ||
| 1202 | nullable: trueCheckoutHotelOut{((( | ||
| 1203 | |hotelPriceId|string | ||
| |
1.2 | 1204 | nullable: true |
| |
1.3 | 1205 | |touristIds|[ |
| 1206 | nullable: truestring($uuid)] | ||
| 1207 | |errorCode|string | ||
| |
1.2 | 1208 | nullable: true |
| |
1.3 | 1209 | |errorMessage|string |
| |
1.2 | 1210 | nullable: true |
| |
1.3 | 1211 | |description|string |
| |
1.2 | 1212 | nullable: true |
| 1213 | |||
| 1214 | }] | ||
| 1215 | ))) | ||
| |
1.3 | 1216 | |tourists|[ |
| 1217 | nullable: trueCheckoutTouristOut{...}] | ||
| 1218 | |visas|[ | ||
| 1219 | nullable: trueServicePrice{((( | ||
| 1220 | |prid|string($uuid) | ||
| 1221 | |prName|string | ||
| 1222 | nullable: true | ||
| 1223 | |prValue|number($double) | ||
| 1224 | |sortingOrder|integer($int32) | ||
| |
1.2 | 1225 | |
| 1226 | }] | ||
| 1227 | ))) | ||
| |
1.3 | 1228 | |terminals|[ |
| 1229 | nullable: trueTerminal{((( | ||
| 1230 | |terminalCode|string | ||
| 1231 | nullable: true | ||
| 1232 | |cityUID|string($uuid) | ||
| 1233 | nullable: true | ||
| 1234 | |districtUID|string($uuid) | ||
| 1235 | nullable: true | ||
| 1236 | |terminalName|string | ||
| 1237 | nullable: true | ||
| 1238 | |countryCode|string | ||
| 1239 | nullable: true | ||
| 1240 | |note|string | ||
| 1241 | nullable: true | ||
| |
1.2 | 1242 | |
| 1243 | }] | ||
| 1244 | ))) | ||
| |
1.3 | 1245 | |containsError|boolean |
| 1246 | |refreshPriceResult|RefreshPriceResultEnumstringEnum: | ||
| 1247 | [ Success, HotelPriceNoMoreAvailable, FlightPriceNoMoreAvailable ] | ||
| 1248 | |reservationId|string($uuid) | ||
| 1249 | |reservationDetailsUnavailable|boolean | ||
| |
1.2 | 1250 | |
| 1251 | } | ||
| |
1.5 | 1252 | {{/success}} |
| |
1.2 | 1253 | |
| 1254 | |||
| |
1.3 | 1255 | == Descriptions == |
| |
1.2 | 1256 | |
| 1257 | |||
| |
1.3 | 1258 | === Request === |
| |
1.2 | 1259 | |
| |
1.3 | 1260 | Here's a table describing each parameter of the JSON request: |
| |
1.2 | 1261 | |
| |
1.3 | 1262 | (% class="table-bordered" %) |
| 1263 | |=Parameter|=Data Type|=Description | ||
| 1264 | |calcTourPackageRequests|Array|An array of objects, each representing a tour package request. | ||
| 1265 | |refreshPrices|Boolean|If true, the prices for the tour package will be refreshed. | ||
| 1266 | |packageId|String|A unique identifier for the tour package. | ||
| 1267 | |flightPassengers|Array|An array of objects, each representing a flight passenger. | ||
| 1268 | |id|String|A unique identifier for each flight passenger. | ||
| 1269 | |selectedForwardBaggageCode|String|The selected baggage option for the forward journey. there is two optoions "" | ||
| 1270 | |selectedBackwardBaggageCode|String|The selected baggage option for the backward journey. | ||
| 1271 | |extraServicePriceCodes|Array|An array of extra service price codes. If empty, no extra services are selected. | ||
| 1272 | |includeInsurance|Boolean|If true, insurance will be included in the tour package. | ||
| 1273 | |calcOnlyHotelPackageRequests|Array|An array of objects, each representing a hotel-only package request. If empty, no hotel-only packages are requested. | ||
| 1274 | |calcOnlyAviaPackageRequests|Array|An array of objects, each representing an avia-only package request. If empty, no avia-only packages are requested. | ||
| |
1.2 | 1275 | |
| |
1.3 | 1276 | === Response === |
| |
1.2 | 1277 | |
| |
1.3 | 1278 | (% class="table-bordered" %) |
| 1279 | |=Parameter|=Data Type|=Description | ||
| 1280 | |priceCurrency|String|The currency code (ISO 4217) for all prices mentioned in the response. | ||
| 1281 | |totalPrice|Number|The total price of the booking. | ||
| 1282 | |agentCommissionPercent|Number|The commission percentage for the agent. | ||
| 1283 | |agentCommissionAmount|Number|The total commission amount for the agent in priceCurrency. | ||
| 1284 | |requiredCitizenIdentifiers[*].countryCode|String|The ISO 3166-1 alpha-2 country code. | ||
| 1285 | |requiredCitizenIdentifiers[*].identifierType|String|The type of identifier required (e.g., "TIN", "FIN"). **TIN (Taxpayer Identification Number) & FIN (Financial Identification Number)** | ||
| 1286 | |hotels[*].hotelPriceId|String|Unique identifier for the hotel price. | ||
| 1287 | |hotels[*].touristIds[*]|String|List of tourist IDs that are booked in this hotel. | ||
| 1288 | |hotels[*].description|String|A brief description of the hotel. | ||
| 1289 | |tourists[*].id|String|Unique identifier for the tourist. | ||
| 1290 | |tourists[*].isAdult|Boolean|Indicates if the tourist is an adult. | ||
| 1291 | |tourists[*].flightIds[*]|String|Identifiers for flights associated with the tourist. | ||
| 1292 | |tourists[*].flights[*].flightId|String|Unique identifier for the flight. | ||
| 1293 | |tourists[*].flights[*].note|String|Additional information about the flight, such as baggage allowance. | ||
| 1294 | |tourists[*].insurancePrice.insuranceId|String|Unique identifier for the insurance product. | ||
| 1295 | |tourists[*].insurancePrice.insuranceServiceId|String|Identifier for the insurance service provider. | ||
| 1296 | |...|...|Additional fields for insurancePrice as detailed previously. | ||
| 1297 | |tourists[*].transfers[*].id|String|Unique identifier for the transfer service. | ||
| 1298 | |tourists[*].transfers[*].type|String|The type of transfer (e.g., "Arrival", "Departure"). | ||
| 1299 | |tourists[*].transfers[*].flightId|String|Identifier of the flight associated with this transfer. | ||
| 1300 | |tourists[*].transfers[*].checkInHotelId|String|Hotel ID for check-in associated with this transfer (for arrival type). | ||
| 1301 | |tourists[*].transfers[*].checkOutHotelId|String|Hotel ID for check-out associated with this transfer (for departure type). | ||
| 1302 | |tourists[*].transfers[*].selectedTransferPriceId|String|The ID of the selected pricing option for the transfer. | ||
| 1303 | |tourists[*].transfers[*].transferPrices[*].id|String|Unique identifier for the transfer price option. | ||
| 1304 | |tourists[*].transfers[*].transferPrices[*].name|String|The name of the transfer service (e.g., "GROUP", "MINIVAN"). | ||
| 1305 | |...|...|Additional fields for transferPrices as detailed previously. | ||
| 1306 | |visas[*].prid|String|Unique identifier for the visa option. | ||
| 1307 | |visas[*].prName|String|The name of the visa option. | ||
| 1308 | |visas[*].prValue|Number|The cost associated with this visa option. | ||
| 1309 | |visas[*].sortingOrder|Number|Used to sort visa options in the response or UI. | ||
| 1310 | |terminals[*].terminalCode|String|The code representing the terminal. | ||
| 1311 | |terminals[*].cityUID|String|Unique identifier for the city where the terminal is located. | ||
| 1312 | |...|...|Additional fields for terminals as detailed previously. | ||
| 1313 | |containsError|Boolean|Indicates if the response contains any errors. | ||
| 1314 | |refreshPriceResult|String|The result of attempting to refresh the price (e.g., "Success"). | ||
| 1315 | |reservationId|String|Unique identifier for the reservation. | ||
| 1316 | |reservationDetailsUnavailable|Boolean|Indicates if the reservation details are currently unavailable. | ||
| 1317 | |error|Boolean|A generic error indicator, presumably redundant with containsError. | ||
| |
1.2 | 1318 | |
| |
1.5 | 1319 | == == |
| 1320 | |||
| 1321 | == Important == | ||
| 1322 | |||
| 1323 | {{error}} | ||
| 1324 | === Implementing Authorization in Subsequent Requests === | ||
| 1325 | |||
| 1326 | For every API request after the initial authentication, it's crucial to include the authorization token in the request header. This ensures your requests are authorized and can access the necessary resources. Here's how to properly include your token: | ||
| 1327 | |||
| 1328 | * **Header Key:** Authorization | ||
| 1329 | * **Header Value:** Bearer [Your Token Here] - Use the bearer token provided in the initial authentication response. The authorization type should be specified as Bearer Token. | ||
| 1330 | |||
| 1331 | Additionally, to ensure your requests are properly formatted and recognized, include the following headers: | ||
| 1332 | |||
| 1333 | * **Content-Type:** Specify this header as application/json to indicate the format of the request body. | ||
| 1334 | * **Header Key:** X-nugios-timezone | ||
| 1335 | * **Header Value:** 240 - Adjust this value to match your local timezone offset in minutes. | ||
| 1336 | |||
| 1337 | Incorporating these headers with their respective values is essential for the successful processing of your API requests. | ||
| 1338 | {{/error}} |