Changes for page SearchTourPackages - Basic Version
Last modified by Giorgi Mdivnishvili on 2024/07/11 12:45
From 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
To version 5.1
edited by Giorgi Mdivnishvili
on 2024/04/11 09:45
on 2024/04/11 09:45
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -25,123 +25,24 @@ 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 - 90 90 == Request example == 91 91 92 92 {{code language="Json"}} 93 93 { 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 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" 145 145 } 146 146 {{/code}} 147 147 ... ... @@ -331,129 +331,173 @@ 331 331 { 332 332 "packages": [ 333 333 { 334 - "cacheKey": "c705ab31e00e4f9a81c2fd46b2cdbb47f6fd9a6e16984236beb979b31aefafa4:{79}:i:10", 335 - "id": "tour:b01c168e-2ea7-4ea6-b6e0-55abb8cab0a0:da894a1e-88c0-4877-b216-0eeeabe186f3:4298d06f-4344-4a39-ad98-071b7760cf30", 235 + "id": "tour:556ce3c2-4062-4181-9970-f41e1aeb3b8b:ce81c22f-7d91-4237-9a2a-43c4c4bcb62f:1d8793e6-346e-4b5c-933f-3d8637684d7e", 336 336 "priceCurrency": "USD", 337 - "totalPrice": 1033.53,237 + "totalPrice": 909.78, 338 338 "agentCommissionPercent": 0.0, 339 339 "agentCommissionAmount": 0.0, 340 340 "includedExtrasAmount": 0, 341 341 "priceDifference": 0, 342 342 "hotel": { 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, 243 + "hotelPriceId": "ce81c22f-7d91-4237-9a2a-43c4c4bcb62f", 244 + "hotelName": "CityMax Sharjah", 245 + "hotelCode": "CMAXBSHJNUG", 246 + "nigths": 7, 348 348 "mealPlan": "BB", 349 - "hotelClass": "4", 248 + "hotelClass": "3", 249 + "hotelColor": "#228B22", 350 350 "availabilityType": "FreeSale", 351 351 "availableRoomsCount": 0, 352 352 "fewRooms": true, 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", 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", 364 364 "countryCode": "AE", 365 365 "countryName": "United Arab Emirates", 366 366 "hasAlcohol": false, 367 367 "hasFreeWifi": true, 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 %", 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", 372 372 "cancellationPolicy": { 373 - "noShowChargeValue": 1 00.0,374 - "noShowChargeValueType": " %",375 - "earlyDepartureChargeValue": 1 00.0,376 - "earlyDepartureChargeValueType": " %",280 + "noShowChargeValue": 1.0, 281 + "noShowChargeValueType": "Night", 282 + "earlyDepartureChargeValue": 1.0, 283 + "earlyDepartureChargeValueType": "Night", 377 377 "conditions": [ 378 378 { 379 - "timeunits": 5,286 + "timeunits": 2, 380 380 "timeunitType": "Day", 381 381 "timeOffsetTypeName": "Before Arrival", 382 - "chargeValue": 1 00.0,383 - "chargeValueType": " %"289 + "chargeValue": 1.0, 290 + "chargeValueType": "Night" 384 384 } 385 385 ] 386 386 } 387 387 }, 388 388 "flight": { 389 - "id": " 4298d06f-4344-4a39-ad98-071b7760cf30",390 - "departureDate": "2024-0 2-09T20:00:00.000Z",391 - "returnDate": "2024-0 2-12T20:00:00.000Z",392 - "departureTicketsLeft": 7,393 - "returnTicketsLeft": 7,394 - "departureAvailabilityType": "Fe wPlaces",395 - "returnAvailabilityType": "Fe wPlaces",296 + "id": "1d8793e6-346e-4b5c-933f-3d8637684d7e", 297 + "departureDate": "2024-05-25T00:00:00.000", 298 + "returnDate": "2024-06-01T00:00:00.000", 299 + "departureTicketsLeft": 48, 300 + "returnTicketsLeft": 33, 301 + "departureAvailabilityType": "FreeSale", 302 + "returnAvailabilityType": "FreeSale", 396 396 "isTwoWay": true, 397 397 "sameBaggageForAll": false, 398 398 "totalBaggage": false, 306 + "isBlock": true, 307 + "class": "Economy", 399 399 "departureSegments": [ 400 400 { 401 - "airlineCode": " KC",402 - "airlineName": " AirAstana-",403 - "flightCode": " KC897",404 - "class": " econom",310 + "airlineCode": "FZ", 311 + "airlineName": "Fly Dubai", 312 + "flightCode": "FZ1722", 313 + "class": "Economy", 405 405 "lugageWeight": 20, 406 406 "handLugageWeight": 6, 407 - "departureFlightDate": "2024-0 2-09T20:00:00.000Z",316 + "departureFlightDate": "2024-05-25T03:35:00.000", 408 408 "departureCountryName": "Kazakhstan", 409 409 "departureCityName": "Almaty", 410 410 "departureAirportCode": "ALA", 411 411 "departureAirportName": "Almaty Intl Airport", 412 412 "departureTerminalCode": "ALA", 413 - "arrivalFlightDate": "2024-0 2-09T20:00:00.000Z",322 + "arrivalFlightDate": "2024-05-25T07:10:00.000", 414 414 "arrivalCountryName": "United Arab Emirates", 415 415 "arrivalCityName": "Dubai", 416 416 "arrivalAirportCode": "DXB", 417 417 "arrivalAirportName": "Dubai Intl Airport", 418 - "arrivalTerminalCode": "DXB 1",419 - "flightDuration": " 0h 50m"327 + "arrivalTerminalCode": "DXB3", 328 + "flightDuration": "5h 35m" 420 420 } 421 421 ], 422 422 "returnSegments": [ 423 423 { 424 - "airlineCode": " KC",425 - "airlineName": " AirAstana-",426 - "flightCode": " KC900",427 - "class": " econom",333 + "airlineCode": "FZ", 334 + "airlineName": "Fly Dubai", 335 + "flightCode": "FZ1721", 336 + "class": "Economy", 428 428 "lugageWeight": 20, 429 429 "handLugageWeight": 6, 430 - "departureFlightDate": "2024-0 2-12T20:00:00.000Z",339 + "departureFlightDate": "2024-06-01T21:25:00.000", 431 431 "departureCountryName": "United Arab Emirates", 432 432 "departureCityName": "Dubai", 433 433 "departureAirportCode": "DXB", 434 434 "departureAirportName": "Dubai Intl Airport", 435 - "departureTerminalCode": "DXB 1",436 - "arrivalFlightDate": "2024-0 2-12T20:00:00.000Z",344 + "departureTerminalCode": "DXB3", 345 + "arrivalFlightDate": "2024-06-02T02:35:00.000", 437 437 "arrivalCountryName": "Kazakhstan", 438 438 "arrivalCityName": "Almaty", 439 439 "arrivalAirportCode": "ALA", 440 440 "arrivalAirportName": "Almaty Intl Airport", 441 441 "arrivalTerminalCode": "ALA", 442 - "flightDuration": " 8h 15m"351 + "flightDuration": "3h 10m" 443 443 } 444 444 ], 445 445 "passengers": [ 446 446 { 447 - "id": " 42768722011000004-A1",356 + "id": "1d8793e6-346e-4b5c-933f-3d8637684d7e-A1", 448 448 "isAdult": true, 449 - "forwardBaggages": [], 450 - "backwardBaggages": [] 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 + ] 451 451 }, 452 452 { 453 - "id": "42768722011000004-C1", 454 - "isAdult": false, 455 - "forwardBaggages": [], 456 - "backwardBaggages": [] 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 + ] 457 457 } 458 458 ] 459 459 }, ... ... @@ -460,19 +460,24 @@ 460 460 "extraServices": [], 461 461 "insurancePrice": { 462 462 "name": "Medical INS (N10000)", 463 - "price": 17.92, 464 - "priceSurcarge": 0.0, 465 - "actualStartDate": "2024-02-09T20:00:00.000Z", 466 - "actualEndDate": "2024-02-12T20:00:00.000Z", 408 + "price": 35.84, 409 + "actualStartDate": "2024-05-25T00:00:00.000", 410 + "actualEndDate": "2024-06-01T00:00:00.000", 467 467 "optional": false, 468 468 "includedInPackagePrice": true 469 - } 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" 470 470 } 471 471 ], 472 - "pagingId": " 79",473 - "pageNumber": 1 0,474 - "pageCount": 2452,475 - "totalCount": 2452,422 + "pagingId": "9", 423 + "pageNumber": 1, 424 + "pageCount": 883, 425 + "totalCount": 883, 476 476 "error": false 477 477 } 478 478 {{/code}} ... ... @@ -761,108 +761,127 @@ 761 761 == Definitions == 762 762 763 763 764 -**Request Parameters ** 714 +=== **Request Parameters ** === 765 765 766 -(% class="table-bordered" %) 716 +|=Key|=Type|=Nullable|=Description 717 +|departureCountryCode|String|No|The ISO 3166-1 alpha-2 code of the departure country. For example, "KZ" for Kazakhstan. 718 +|departureCityUID|String (UUID)|No|The unique identifier of the departure city. This is a UUID, such as "f0ba6324-f337-405c-8cc7-23d62cf664e8". 719 +|arrivalCountryCode|String|No|The ISO 3166-1 alpha-2 code of the arrival country. For example, "AE" for United Arab Emirates. 720 +|adults|Integer|No|The number of adults for the trip. For example, 2 for two adults. 721 +|children|Integer|No|The number of children for the trip. For example, 0 for no children. 722 +|departureDate|String (date-time)|No|The departure date in ISO 8601 format. For example, "2024-05-25T00:00:00" for May 25, 2024. 723 +|returnDate|String (date-time)|No|The return date in ISO 8601 format. For example, "2024-06-01T00:00:00" for June 1, 2024. 724 +|departureAndReturnDaysCount|Integer|No|The total number of days for the departure and return trip. For example, 7 for a week-long trip. 725 +|checkInDate|String (date-time)|No|The check-in date at the hotel in ISO 8601 format. For example, "2024-05-25T00:00:00" for May 25, 2024. 726 +|checkOutDate|String (date-time)|No|The check-out date from the hotel in ISO 8601 format. For example, "2024-06-01T00:00:00" for June 1, 2024. 727 +|checkInAndCheckOutDaysCount|Integer|No|The total number of days for the hotel stay. For example, 7 for a week-long stay. 728 +|directFlightsOnly|Boolean|No|Whether to search for direct flights only. For example, true to only search for direct flights. 729 +|pageRowCount|Integer|No|The number of results to return per page. For example, 1 to return 1 result per page. 730 +|searchCurrency|String|No|The currency in which the search results should be displayed. For example, "USD" for United States Dollar. 731 + 732 + 733 +=== **Response Parameters** === 734 + 735 +=== Packages === 736 + 767 767 |=Field|=Type|=Description 768 -|departureCountryCode|string|The ISO 3166-1 alpha-2 country code for the departure country. For example, "KZ" for Kazakhstan. 769 -|departureCityUID|string|The unique identifier for the departure city. 770 -|arrivalCountryCode|string|The ISO 3166-1 alpha-2 country code for the arrival country. For example, "AE" for United Arab Emirates. 771 -|arrivalLocations|array|An array of objects, each representing an arrival location. Each object contains: type (string) - The type of the location. This can be "city". label (string) - The name of the location. value (string) - The unique identifier for the location. tag (string) - A tag for the location. 772 -|checkInDate|string|The check-in date in ISO 8601 format. 773 -|checkInDateTo|string|The latest possible check-in date in ISO 8601 format. 774 -|stayDays|integer|The minimum number of days to stay. 775 -|stayDaysTo|integer|The maximum number of days to stay. 776 -|airlineCode|string|The code of the airline. This field can be empty. 777 -|ticketType|string|The type of the ticket. This field can be empty. 778 -|directFlightsOnly|boolean|Indicates whether to search for direct flights only. 779 -|longConnectTime|boolean|Indicates whether to include flights with long connection times. 780 -|adults|integer|The number of adults. 781 -|children|integer|The number of children. 782 -|childrenAges|array|An array of integers, each representing the age of a child. 783 -|extendedSearch|boolean|Indicates whether to perform an extended search. 784 -|totalPriceFrom|float|The minimum total price. 785 -|totalPriceTo|float|The maximum total price. 786 -|recommended|boolean|Indicates whether to include recommended packages. 787 -|popular|boolean|Indicates whether to include popular packages. 788 -|freeSale|boolean|Indicates whether to include free sale packages. 789 -|groupByHotel|boolean|Indicates whether to group the results by hotel. 790 -|hotelCodes|array|An array of strings, each representing a hotel code. This field can be empty. 791 -|mealPlans|array|An array of meal plans. This field can be empty. 792 -|hotelClasses|array|An array of hotel classes. This field can be empty. 793 -|hotelTypes|array|An array of hotel types. This field can be empty. 794 -|hotelServices|array|An array of hotel services. This field can be empty. 795 -|pagingId|string|The paging ID for paginated results. This field can be empty. 796 -|pageNumber|integer|The page number for paginated results. 797 -|pageRowCount|integer|The number of rows per page for paginated results. 738 +|id|string|Unique identifier for the package 739 +|priceCurrency|string|Currency for the price 740 +|totalPrice|number|Total price of the package 741 +|agentCommissionPercent|number|Commission percentage for the agent 742 +|agentCommissionAmount|number|Commission amount for the agent 743 +|includedExtrasAmount|integer|Amount of included extras 744 +|priceDifference|integer|Price difference 745 +|hotel|object|Details about the hotel 746 +|flight|object|Details about the flight 747 +|extraServices|array|Extra services included in the package 748 +|insurancePrice|object|Details about the insurance price 749 +|cacheKey|string|Cache key 750 +|sortCheckInOut|string|Sorting parameter based on check-in and check-out dates 751 +|sortAirline|string|Sorting parameter based on airline 752 +|sortHotelName|string|Sorting parameter based on hotel name 753 +|sortDetails|string|Sorting parameter based on details 754 +|sortPlacement|string|Sorting parameter based on placement 798 798 799 -(% class="wikigeneratedid" %) 800 -**Response Parameters** 756 +=== Hotel === 801 801 802 -(% class="table-bordered" %) 803 803 |=Field|=Type|=Description 804 -|packages|array|An array of packages available. Each package contains: 805 -|cacheKey|string|A unique identifier for the cache. 806 -|id|string|A unique identifier for the package. 807 -|priceCurrency|string|The currency in which the price is displayed. 808 -|totalPrice|float|The total price of the package. 809 -|agentCommissionPercent|float|The commission percentage for the agent. 810 -|agentCommissionAmount|float|The commission amount for the agent. 811 -|includedExtrasAmount|integer|The amount of extras included in the package. 812 -|priceDifference|integer|The difference in price from the original price. 813 -|hotel|object|An object containing details about the hotel. 814 -|hotelPriceId|string|A unique identifier for the hotel price. 815 -|providerId|integer|A unique identifier for the provider. 816 -|hotelName|string|The name of the hotel. 817 -|hotelCode|string|A unique code for the hotel. 818 -|nigths|integer|The number of nights for the stay. 819 -|mealPlan|string|The meal plan for the stay. 820 -|hotelClass|string|The class or rating of the hotel. 821 -|availabilityType|string|The availability type of the hotel. 822 -|availableRoomsCount|integer|The number of available rooms in the hotel. 823 -|fewRooms|boolean|Indicates whether there are few rooms left. 824 -|roomCategoryCode|string|A unique code for the room category. 825 -|roomCategoryName|string|The name of the room category. 826 -|placementTypeName|string|The name of the placement type. 827 -|checkInDate|string|The check-in date in ISO 8601 format. 828 -|checkOutDate|string|The check-out date in ISO 8601 format. 829 -|adults|integer|The number of adults for the stay. 830 -|children|integer|The number of children for the stay. 831 -|districtUID|string|A unique identifier for the district. 832 -|districtName|string|The name of the district. 833 -|cityUID|string|A unique identifier for the city. 834 -|cityName|string|The name of the city. 835 -|countryCode|string|The ISO 3166-1 alpha-2 country code. 836 -|countryName|string|The name of the country. 837 -|hasAlcohol|boolean|Indicates whether the hotel serves alcohol. 838 -|hasFreeWifi|boolean|Indicates whether the hotel offers free Wi-Fi. 839 -|hasMetro|boolean|Indicates whether the hotel is near a metro station. 840 -|hasPool|boolean|Indicates whether the hotel has a pool. 841 -|hasMall|boolean|Indicates whether the hotel is near a shopping mall. 842 -|cancellationPolicyDescription|string|The description of the cancellation policy. 843 -|cancellationPolicy|object|An object containing details about the cancellation policy. 844 -|flight|object|An object containing details about the flight. 845 -|id|string|A unique identifier for the flight. 846 -|departureDate|string|The departure date in ISO 8601 format. 847 -|returnDate|string|The return date in ISO 8601 format. 848 -|departureTicketsLeft|integer|The number of departure tickets left. 849 -|returnTicketsLeft|integer|The number of return tickets left. 850 -|departureAvailabilityType|string|The availability type of the departure flight. 851 -|returnAvailabilityType|string|The availability type of the return flight. 852 -|isTwoWay|boolean|Indicates whether the flight is two-way. 853 -|sameBaggageForAll|boolean|Indicates whether the same baggage is applicable for all passengers. 854 -|totalBaggage|boolean|Indicates whether total baggage is included. 855 -|departureSegments|array|An array of objects, each representing a departure segment. 856 -|returnSegments|array|An array of objects, each representing a return segment. 857 -|passengers|array|An array of objects, each representing a passenger. 858 -|extraServices|array|An array of extra services included in the package. 859 -|insurancePrice|object|An object containing details about the insurance price. 860 -|pagingId|string|The paging ID for paginated results. 861 -|pageNumber|integer|The page number for paginated results. 862 -|pageCount|integer|The total number of pages. 863 -|totalCount|integer|The total count of packages. 864 -|error|boolean|Indicates whether there was an error. 759 +|hotelPriceId|string|Unique identifier for the hotel price 760 +|hotelName|string|Name of the hotel 761 +|hotelCode|string|Code of the hotel 762 +|nights|integer|Number of nights 763 +|mealPlan|string|Meal plan 764 +|hotelClass|string|Class of the hotel 765 +|hotelColor|string|Color associated with the hotel 766 +|availabilityType|string|Availability type of the hotel 767 +|availableRoomsCount|integer|Number of available rooms 768 +|fewRooms|boolean|Whether there are few rooms left 769 +|roomCategoryCode|string|Code of the room category 770 +|roomCategoryName|string|Name of the room category 771 +|placementTypeName|string|Name of the placement type 772 +|placementDescription|string|Description of the placement 773 +|checkInDate|string|Check-in date 774 +|checkOutDate|string|Check-out date 775 +|adults|integer|Number of adults 776 +|children|integer|Number of children 777 +|districtUID|string|Unique identifier for the district 778 +|districtName|string|Name of the district 779 +|cityUID|string|Unique identifier for the city 780 +|cityName|string|Name of the city 781 +|countryCode|string|Country code 782 +|countryName|string|Name of the country 783 +|hasAlcohol|boolean|Whether the hotel has alcohol 784 +|hasFreeWifi|boolean|Whether the hotel has free Wi-Fi 785 +|hasMetro|boolean|Whether the hotel is near a metro 786 +|hasPool|boolean|Whether the hotel has a pool 787 +|hasMall|boolean|Whether the hotel is near a mall 788 +|infantMaxAge|number|Maximum age for an infant 789 +|childMinAge|number|Minimum age for a child 790 +|childMaxAge|number|Maximum age for a child 791 +|teenMinAge|number|Minimum age for a teen 792 +|teenMaxAge|number|Maximum age for a teen 793 +|adultMinAge|number|Minimum age for an adult 794 +|cancellationPolicyDescription|string|Description of the cancellation policy 795 +|cancellationPolicy|object|Details about the cancellation policy 865 865 797 +=== Flight === 798 + 799 +|=Field|=Type|=Description 800 +|id|string|Unique identifier for the flight 801 +|departureDate|string|Departure date 802 +|returnDate|string|Return date 803 +|departureTicketsLeft|integer|Number of departure tickets left 804 +|returnTicketsLeft|integer|Number of return tickets left 805 +|departureAvailabilityType|string|Availability type for the departure 806 +|returnAvailabilityType|string|Availability type for the return 807 +|isTwoWay|boolean|Whether the flight is two-way 808 +|sameBaggageForAll|boolean|Whether the same baggage is for all 809 +|totalBaggage|boolean|Whether the total baggage is included 810 +|isBlock|boolean|Whether the flight is blocked 811 +|class|string|Class of the flight 812 +|departureSegments|array|Details about the departure segments 813 +|returnSegments|array|Details about the return segments 814 +|passengers|array|Details about the passengers 815 + 816 +=== InsurancePrice === 817 + 818 +|=Field|=Type|=Description 819 +|name|string|Name of the insurance 820 +|price|number|Price of the insurance 821 +|actualStartDate|string|Start date of the insurance 822 +|actualEndDate|string|End date of the insurance 823 +|optional|boolean|Whether the insurance is optional 824 +|includedInPackagePrice|boolean|Whether the insurance is included in the package price 825 + 826 +=== Paging === 827 + 828 +|=Field|=Type|=Description 829 +|pagingId|string|Unique identifier for the paging 830 +|pageNumber|integer|Current page number 831 +|pageCount|integer|Total number of pages 832 +|totalCount|integer|Total count of items 833 +|error|boolean|Whether there is an error 834 + 866 866 === Paging and Caching === 867 867 868 868 During the first request, Paging id must be empty like this ( "pagingId": "",) pagenumber is the number of the page, pagerowcount means number of the given result in one page. So in the first request we can search like this: