Changes for page SearchTourPackages - Basic Version
Last modified by Giorgi Mdivnishvili on 2024/07/11 12:45
From version 4.1
edited by Giorgi Mdivnishvili
on 2024/04/11 09:35
on 2024/04/11 09:35
Change comment:
There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2024/04/11 09:31
on 2024/04/11 09:31
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -25,24 +25,123 @@ 25 25 ))) 26 26 27 27 28 +== Request Body == 29 + 30 +{{code language="Json"}} 31 +{ 32 + "departureCountryCode": "string", 33 + "departureCityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", 34 + "arrivalCountryCode": "string", 35 + "arrivalLocations": [ 36 + { 37 + "type": "string", 38 + "parent": "string", 39 + "label": "string", 40 + "subLabel": "string", 41 + "value": "string", 42 + "tag": "string" 43 + } 44 + ], 45 + "checkInDate": "2023-12-14", 46 + "checkInDateTo": "2023-12-14", 47 + "checkOutDate": "2023-12-14", 48 + "stayDays": 0, 49 + "stayDaysTo": 0, 50 + "departureDate": "2023-12-14", 51 + "returnDate": "2023-12-14", 52 + "airlineCode": "string", 53 + "ticketType": "string", 54 + "directFlightsOnly": true, 55 + "longConnectTime": true, 56 + "adults": 0, 57 + "children": 0, 58 + "childrenAges": [ 59 + 0 60 + ], 61 + "extendedSearch": true, 62 + "totalPriceFrom": 0, 63 + "totalPriceTo": 0, 64 + "recommended": true, 65 + "popular": true, 66 + "freeSale": true, 67 + "groupByHotel": true, 68 + "hotelCodes": [ 69 + "string" 70 + ], 71 + "mealPlans": [ 72 + "string" 73 + ], 74 + "hotelClasses": [ 75 + "string" 76 + ], 77 + "hotelTypes": [ 78 + "CityHotel" 79 + ], 80 + "hotelServices": [ 81 + "HasAlcohol" 82 + ], 83 + "pagingId": "string", 84 + "pageNumber": 0, 85 + "pageRowCount": 0 86 +} 87 +{{/code}} 88 + 89 + 28 28 == Request example == 29 29 30 30 {{code language="Json"}} 31 31 { 32 - "departureCountryCode": "KZ", 33 - "departureCityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8", 34 - "arrivalCountryCode": "AE", 35 - "adults": 2, 36 - "children": 0, 37 - "departureDate": "2024-05-25T00:00:00", 38 - "returnDate": "2024-06-01T00:00:00", 39 - "departureAndReturnDaysCount": 7, 40 - "checkInDate": "2024-05-25T00:00:00", 41 - "checkOutDate": "2024-06-01T00:00:00", 42 - "checkInAndCheckOutDaysCount": 7, 43 - "directFlightsOnly": true, 44 - "pageRowCount": 25, 45 - "searchCurrency": "USD" 94 + "departureCountryCode": "KZ", 95 + "departureCityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8", 96 + "arrivalCountryCode": "AE", 97 + "arrivalLocations": [ 98 + { 99 + "type": "city", 100 + "label": "Dubai", 101 + "value": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 102 + "tag": "Dubai" 103 + } 104 + ], 105 + "checkInDate": "2024-02-05T20:00:00.000Z", 106 + "checkInDateTo": "2024-02-10T20:00:00.000Z", 107 + 108 + "stayDays": 3, 109 + "stayDaysTo": 6, 110 + 111 + "airlineCode": "", 112 + "ticketType": "", 113 + "directFlightsOnly": true, 114 + "longConnectTime": true, 115 + "adults": 1, 116 + "children": 1, 117 + "childrenAges": [ 118 + 2 119 + ], 120 + "extendedSearch": false, 121 + "totalPriceFrom": 100, 122 + "totalPriceTo": 15000, 123 + "recommended": true, 124 + "popular": true, 125 + "freeSale": true, 126 + "groupByHotel": true, 127 + "hotelCodes": [ 128 + 129 + ], 130 + "mealPlans": [ 131 + 132 + ], 133 + "hotelClasses": [ 134 + 135 + ], 136 + "hotelTypes": [ 137 + 138 + ], 139 + "hotelServices": [ 140 + 141 + ], 142 + "pagingId": "", 143 + "pageNumber": 10, 144 + "pageRowCount": 10 46 46 } 47 47 {{/code}} 48 48 ... ... @@ -232,173 +232,129 @@ 232 232 { 233 233 "packages": [ 234 234 { 235 - "id": "tour:556ce3c2-4062-4181-9970-f41e1aeb3b8b:ce81c22f-7d91-4237-9a2a-43c4c4bcb62f:1d8793e6-346e-4b5c-933f-3d8637684d7e", 334 + "cacheKey": "c705ab31e00e4f9a81c2fd46b2cdbb47f6fd9a6e16984236beb979b31aefafa4:{79}:i:10", 335 + "id": "tour:b01c168e-2ea7-4ea6-b6e0-55abb8cab0a0:da894a1e-88c0-4877-b216-0eeeabe186f3:4298d06f-4344-4a39-ad98-071b7760cf30", 236 236 "priceCurrency": "USD", 237 - "totalPrice": 909.78,337 + "totalPrice": 1033.53, 238 238 "agentCommissionPercent": 0.0, 239 239 "agentCommissionAmount": 0.0, 240 240 "includedExtrasAmount": 0, 241 241 "priceDifference": 0, 242 242 "hotel": { 243 - "hotelPriceId": "ce81c22f-7d91-4237-9a2a-43c4c4bcb62f", 244 - "hotelName": "CityMax Sharjah", 245 - "hotelCode": "CMAXBSHJNUG", 246 - "nigths": 7, 343 + "hotelPriceId": "da894a1e-88c0-4877-b216-0eeeabe186f3", 344 + "providerId": 13, 345 + "hotelName": "Mercure Dubai Barsha Heights Suites Apartments", 346 + "hotelCode": "5f125310-7025-4807-a4c6-49cd284c9c14", 347 + "nigths": 3, 247 247 "mealPlan": "BB", 248 - "hotelClass": "3", 249 - "hotelColor": "#228B22", 349 + "hotelClass": "4", 250 250 "availabilityType": "FreeSale", 251 251 "availableRoomsCount": 0, 252 252 "fewRooms": true, 253 - "roomCategoryCode": "DBL", 254 - "roomCategoryName": "Standard Room", 255 - "placementTypeName": "2 Adults", 256 - "placementDescription": "MARPROMDMC02/RUS", 257 - "checkInDate": "2024-05-25T00:00:00.000", 258 - "checkOutDate": "2024-06-01T00:00:00.000", 259 - "adults": 2, 260 - "children": 0, 261 - "districtUID": "7ac1bbc8-59ea-4977-b272-ed8553f94f9b", 262 - "districtName": "Sharjah", 263 - "cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6", 264 - "cityName": "Sharjah", 353 + "roomCategoryCode": "bc5f2224-bd4c-49b2-ab57-01eb7fa80d41", 354 + "roomCategoryName": "1 B/R Suite City View", 355 + "placementTypeName": "DBL", 356 + "checkInDate": "2024-02-09T20:00:00.000Z", 357 + "checkOutDate": "2024-02-12T20:00:00.000Z", 358 + "adults": 1, 359 + "children": 1, 360 + "districtUID": "4c65f6ed-902b-4fd8-9419-af7884c22c5e", 361 + "districtName": "Al Barsha", 362 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", 363 + "cityName": "Dubai", 265 265 "countryCode": "AE", 266 266 "countryName": "United Arab Emirates", 267 267 "hasAlcohol": false, 268 268 "hasFreeWifi": true, 269 - "hasMetro": false, 270 - "hasPool": false, 271 - "hasMall": true, 272 - "infantMaxAge": 4.99, 273 - "childMinAge": 5.0, 274 - "childMaxAge": 11.99, 275 - "teenMinAge": 0.0, 276 - "teenMaxAge": 0.0, 277 - "adultMinAge": 12.0, 278 - "cancellationPolicyDescription": "Cancellation Policy: 2 Day Before Arrival: 1.00 Night, Early Departure: 1.00 Night, NoShow: 1.00 Night", 368 + "hasMetro": true, 369 + "hasPool": true, 370 + "hasMall": false, 371 + "cancellationPolicyDescription": "Cancellation Policy: 5 Day Before Arrival: 100.00 %, Early Departure: 100.00 %, NoShow: 100.00 %", 279 279 "cancellationPolicy": { 280 - "noShowChargeValue": 1.0, 281 - "noShowChargeValueType": " Night",282 - "earlyDepartureChargeValue": 1.0, 283 - "earlyDepartureChargeValueType": " Night",373 + "noShowChargeValue": 100.0, 374 + "noShowChargeValueType": "%", 375 + "earlyDepartureChargeValue": 100.0, 376 + "earlyDepartureChargeValueType": "%", 284 284 "conditions": [ 285 285 { 286 - "timeunits": 2,379 + "timeunits": 5, 287 287 "timeunitType": "Day", 288 288 "timeOffsetTypeName": "Before Arrival", 289 - "chargeValue": 1.0, 290 - "chargeValueType": " Night"382 + "chargeValue": 100.0, 383 + "chargeValueType": "%" 291 291 } 292 292 ] 293 293 } 294 294 }, 295 295 "flight": { 296 - "id": " 1d8793e6-346e-4b5c-933f-3d8637684d7e",297 - "departureDate": "2024-0 5-25T00:00:00.000",298 - "returnDate": "2024-0 6-01T00:00:00.000",299 - "departureTicketsLeft": 48,300 - "returnTicketsLeft": 33,301 - "departureAvailabilityType": "F reeSale",302 - "returnAvailabilityType": "F reeSale",389 + "id": "4298d06f-4344-4a39-ad98-071b7760cf30", 390 + "departureDate": "2024-02-09T20:00:00.000Z", 391 + "returnDate": "2024-02-12T20:00:00.000Z", 392 + "departureTicketsLeft": 7, 393 + "returnTicketsLeft": 7, 394 + "departureAvailabilityType": "FewPlaces", 395 + "returnAvailabilityType": "FewPlaces", 303 303 "isTwoWay": true, 304 304 "sameBaggageForAll": false, 305 305 "totalBaggage": false, 306 - "isBlock": true, 307 - "class": "Economy", 308 308 "departureSegments": [ 309 309 { 310 - "airlineCode": " FZ",311 - "airlineName": " FlyDubai",312 - "flightCode": " FZ1722",313 - "class": " Economy",401 + "airlineCode": "KC", 402 + "airlineName": "Air Astana-", 403 + "flightCode": "KC897", 404 + "class": "econom", 314 314 "lugageWeight": 20, 315 315 "handLugageWeight": 6, 316 - "departureFlightDate": "2024-0 5-25T03:35:00.000",407 + "departureFlightDate": "2024-02-09T20:00:00.000Z", 317 317 "departureCountryName": "Kazakhstan", 318 318 "departureCityName": "Almaty", 319 319 "departureAirportCode": "ALA", 320 320 "departureAirportName": "Almaty Intl Airport", 321 321 "departureTerminalCode": "ALA", 322 - "arrivalFlightDate": "2024-0 5-25T07:10:00.000",413 + "arrivalFlightDate": "2024-02-09T20:00:00.000Z", 323 323 "arrivalCountryName": "United Arab Emirates", 324 324 "arrivalCityName": "Dubai", 325 325 "arrivalAirportCode": "DXB", 326 326 "arrivalAirportName": "Dubai Intl Airport", 327 - "arrivalTerminalCode": "DXB 3",328 - "flightDuration": " 5h35m"418 + "arrivalTerminalCode": "DXB1", 419 + "flightDuration": "0h 50m" 329 329 } 330 330 ], 331 331 "returnSegments": [ 332 332 { 333 - "airlineCode": " FZ",334 - "airlineName": " FlyDubai",335 - "flightCode": " FZ1721",336 - "class": " Economy",424 + "airlineCode": "KC", 425 + "airlineName": "Air Astana-", 426 + "flightCode": "KC900", 427 + "class": "econom", 337 337 "lugageWeight": 20, 338 338 "handLugageWeight": 6, 339 - "departureFlightDate": "2024-0 6-01T21:25:00.000",430 + "departureFlightDate": "2024-02-12T20:00:00.000Z", 340 340 "departureCountryName": "United Arab Emirates", 341 341 "departureCityName": "Dubai", 342 342 "departureAirportCode": "DXB", 343 343 "departureAirportName": "Dubai Intl Airport", 344 - "departureTerminalCode": "DXB 3",345 - "arrivalFlightDate": "2024-0 6-02T02:35:00.000",435 + "departureTerminalCode": "DXB1", 436 + "arrivalFlightDate": "2024-02-12T20:00:00.000Z", 346 346 "arrivalCountryName": "Kazakhstan", 347 347 "arrivalCityName": "Almaty", 348 348 "arrivalAirportCode": "ALA", 349 349 "arrivalAirportName": "Almaty Intl Airport", 350 350 "arrivalTerminalCode": "ALA", 351 - "flightDuration": " 3h 10m"442 + "flightDuration": "8h 15m" 352 352 } 353 353 ], 354 354 "passengers": [ 355 355 { 356 - "id": " 1d8793e6-346e-4b5c-933f-3d8637684d7e-A1",447 + "id": "42768722011000004-A1", 357 357 "isAdult": true, 358 - "selectedForwardBaggageCode": "INCLUDED", 359 - "selectedBackwardBaggageCode": "INCLUDED", 360 - "forwardBaggages": [ 361 - { 362 - "baggageCode": "INCLUDED", 363 - "description": "20 Kg Included", 364 - "price": 0.0, 365 - "currency": "USD", 366 - "included": true 367 - } 368 - ], 369 - "backwardBaggages": [ 370 - { 371 - "baggageCode": "INCLUDED", 372 - "description": "20 Kg Included", 373 - "price": 0.0, 374 - "currency": "USD", 375 - "included": true 376 - } 377 - ] 449 + "forwardBaggages": [], 450 + "backwardBaggages": [] 378 378 }, 379 379 { 380 - "id": "1d8793e6-346e-4b5c-933f-3d8637684d7e-A2", 381 - "isAdult": true, 382 - "selectedForwardBaggageCode": "INCLUDED", 383 - "selectedBackwardBaggageCode": "INCLUDED", 384 - "forwardBaggages": [ 385 - { 386 - "baggageCode": "INCLUDED", 387 - "description": "20 Kg Included", 388 - "price": 0.0, 389 - "currency": "USD", 390 - "included": true 391 - } 392 - ], 393 - "backwardBaggages": [ 394 - { 395 - "baggageCode": "INCLUDED", 396 - "description": "20 Kg Included", 397 - "price": 0.0, 398 - "currency": "USD", 399 - "included": true 400 - } 401 - ] 453 + "id": "42768722011000004-C1", 454 + "isAdult": false, 455 + "forwardBaggages": [], 456 + "backwardBaggages": [] 402 402 } 403 403 ] 404 404 }, ... ... @@ -405,24 +405,19 @@ 405 405 "extraServices": [], 406 406 "insurancePrice": { 407 407 "name": "Medical INS (N10000)", 408 - "price": 35.84, 409 - "actualStartDate": "2024-05-25T00:00:00.000", 410 - "actualEndDate": "2024-06-01T00:00:00.000", 463 + "price": 17.92, 464 + "priceSurcarge": 0.0, 465 + "actualStartDate": "2024-02-09T20:00:00.000Z", 466 + "actualEndDate": "2024-02-12T20:00:00.000Z", 411 411 "optional": false, 412 412 "includedInPackagePrice": true 413 - }, 414 - "cacheKey": "bd7e9a28fb744528a2deb043f05e0502602ea56f943a4dc9805321db85d51137:{9}:i:1", 415 - "sortCheckInOut": "25.05.2024-01.06.2024", 416 - "sortAirline": "fly dubai", 417 - "sortHotelName": "citymax sharjah", 418 - "sortDetails": "bb", 419 - "sortPlacement": "standard room 2 adults" 469 + } 420 420 } 421 421 ], 422 - "pagingId": "9", 423 - "pageNumber": 1, 424 - "pageCount": 883,425 - "totalCount": 883,472 + "pagingId": "79", 473 + "pageNumber": 10, 474 + "pageCount": 2452, 475 + "totalCount": 2452, 426 426 "error": false 427 427 } 428 428 {{/code}}