Last modified by Giorgi Mdivnishvili on 2025/10/22 13:39

From version 10.1
edited by Giorgi Mdivnishvili
on 2024/04/11 11:32
Change comment: There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2024/04/11 10:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -46,35 +46,7 @@
46 46  }
47 47  {{/code}}
48 48  
49 -== Request example for 2Adults 2Child ==
50 50  
51 -{{code language="Json"}}
52 -{
53 - "departureCountryCode": "KZ",
54 - "departureCityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8",
55 - "arrivalCountryCode": "AE",
56 - "adults": 2,
57 - "children": 2,
58 - "childrenAges": [
59 - 4,
60 - 8
61 - ],
62 - "departureDate": "2024-05-26T00:00:00",
63 - "returnDate": "2024-06-02T00:00:00",
64 - "departureAndReturnDaysCount": 7,
65 - "checkInDate": "2024-05-26T00:00:00",
66 - "checkOutDate": "2024-06-02T00:00:00",
67 - "checkInAndCheckOutDaysCount": 7,
68 - "directFlightsOnly": true,
69 - "searchCurrency": "USD",
70 -
71 - "pagingId": "",
72 - "pageNumber": 1,
73 - "pageRowCount":5
74 -}
75 -{{/code}}
76 -
77 -
78 78  == Response Body ==
79 79  
80 80  {{code language="json"}}
... ... @@ -741,7 +741,6 @@
741 741  
742 742  === **Request Parameters ** ===
743 743  
744 -(% class="table-bordered" %)
745 745  |=Key|=Type|=Nullable|=Description
746 746  |departureCountryCode|String|No|The ISO 3166-1 alpha-2 code of the departure country. For example, "KZ" for Kazakhstan.
747 747  |departureCityUID|String (UUID)|No|The unique identifier of the departure city. This is a UUID, such as "f0ba6324-f337-405c-8cc7-23d62cf664e8".
... ... @@ -762,7 +762,6 @@
762 762  
763 763  === **Response Parameters** ===
764 764  
765 -(% class="table-bordered" %)
766 766  |=Key|=Type|=Description
767 767  |packages|Array|An array of travel packages. Each package includes various details about the package.
768 768  |packages[].id|String|A unique identifier for the package. This is used to uniquely identify each package.
... ... @@ -840,7 +840,6 @@
840 840  |totalCount|Number|The total count of packages. This is the total number of packages in all pages of results.
841 841  |error|Boolean|A boolean indicating whether there was an error. If true, it means that there was an error in retrieving the packages.
842 842  
843 -==== ====
844 844  
845 845  ==== first request ====
846 846  
... ... @@ -852,12 +852,10 @@
852 852   }
853 853  {{/code}}
854 854  
855 -While making first search request, paging id should be empty,  "pageNumber":  and  "pageRowCount":10 means that, in response there will be returned maximum 10 packages per page.
856 856  
857 -
858 858  ==== Request with caching ====
859 859  
860 -after receiving response from first search request, in the end we can see pagingId- number, wchich we can use for caching, and (pageinatoin) for switch pagenumbers, and displaying results as we whant. For cleaning cache, it's important to make new request without cllear pagingID, like this  "pagingId": "",
827 +as we receive response, in the end we can see pagingId- number, chich we can use for caching, and then just switch pagenumbers. for cleaning cache, it's important to make new request without pagingID
861 861  
862 862  {{code language="Json"}}
863 863   {