Changes for page 1. SearchTourPackages

Last modified by Giorgi Mdivnishvili on 2025/02/12 15:25

From version 16.1
edited by Giorgi Mdivnishvili
on 2023/12/26 15:05
Change comment: There is no comment for this version
To version 14.1
edited by Giorgi Mdivnishvili
on 2023/12/26 14:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -755,92 +755,3 @@
755 755  }
756 756  {{/success}}
757 757  
758 -
759 -== Definitions ==
760 -
761 -
762 -=== Paging and Caching ===
763 -
764 -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
765 -
766 -
767 -==== first request ====
768 -
769 -{{code language="Json"}}
770 - {
771 - "pagingId": "",
772 - "pageNumber": 1,
773 - "pageRowCount":10
774 - }
775 -{{/code}}
776 -
777 -
778 -==== Request with caching ====
779 -
780 -{{code language="Json"}}
781 - {
782 - "pagingId": "80",
783 - "pageNumber": 1,
784 - "pageRowCount":10
785 - }
786 -{{/code}}
787 -
788 -
789 -=== search parameter options ===
790 -
791 -in the request body it's available to filter search results with parameters. parameter examples:
792 -
793 -{{code language="Json"}}
794 - { "totalPriceFrom": 500,
795 - "totalPriceTo": 10000,
796 - "hotelTypes": [
797 - "CityHotel",
798 - "BeachHotel",
799 - "SecondLineBeach"
800 - ],
801 - "hotelClasses": [
802 - "1",
803 - "2",
804 - "3",
805 - "4",
806 - "5",
807 - "6"
808 - ],
809 - "hotelServices": [
810 - "HasAlcohol",
811 - "HasFreeWifi",
812 - "HasMetro",
813 - "HasPool",
814 - "HasMall"
815 - ],
816 - "mealPlans": [
817 - "RO",
818 - "BB",
819 - "HB",
820 - "FB",
821 - "AL"
822 - ]
823 -}
824 -{{/code}}
825 -
826 -
827 -
828 - == Important ==
829 -
830 -{{error}}
831 -It's Important to in every other request header, put Auth token
832 -
833 -**Key **- Authorization
834 -
835 -**Value **- Bearer Token what is given in this response.
836 -
837 -
838 -**also note in headers that:**
839 -
840 -Content-Type - application/json
841 -
842 -**Key - **X-nugios-timezone
843 -
844 -**Value **- 240
845 -{{/error}}
846 -