Changes for page 4. Hotel Search
Last modified by Giorgi Mdivnishvili on 2024/09/04 09:58
From version 1.1
edited by Giorgi Mdivnishvili
on 2023/11/28 17:31
on 2023/11/28 17:31
Change comment:
There is no comment for this version
To version 4.1
edited by Giorgi Mdivnishvili
on 2023/11/28 17:36
on 2023/11/28 17:36
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,23 +3,33 @@ 3 3 With the parameters provided in GetHotels and GetCities reponse, it’s avaible to search hotels with the desired parameters in Hotels Search. 4 4 5 5 6 +endpoint : [[https:~~/~~/testapi.rustaronline.com/api/Hotels/Search>>url:https://testapi.rustaronline.com/api/Hotels/Search]] 6 6 7 - Requestexample:8 +Method POST 8 8 9 ->{ "MaxResultCount":50, <<< max result count in response "MaxHotelCount":10, <<< max hotel count with the cheapest to expensive "ProviderIds":[5], <<< Dynamic channel, which cheeks prices during search, if you change it to 13 request will be immediate, but prices wont be the latest and cheapest. "ContragentContactUID":"55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e", "CheckInDate":"2023-12-25T00:00:00", "CheckOutDate":"2024-01-02T00:00:00", "Adults":1, "Children":0, "ChildrenAges":"", in case of several children, "5,10" numbers must be separated by comma "CountryMask":"AE", << country code 10 -((( 10 +**Request example:** 11 11 12 - "arrivalCities": [ 13 - 12 +{{code language="Json"}} 13 +{ 14 + "MaxResultCount":50, 15 + "MaxHotelCount":10, 16 + "ContragentContactUID":"55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e", 17 + "CheckInDate":"2023-12-25T00:00:00", 18 + "CheckOutDate":"2024-01-02T00:00:00", 19 + "Adults":1, 20 + "Children":2, 21 + "ChildrenAges":"5,10", 22 + "CountryMask":"AE", 23 + 24 + "arrivalCities": [ 14 14 { 15 - 16 - "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2" << city UID where we are searching hotels 17 - 18 - 26 + "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2" 27 + 19 19 } 20 - 21 21 ] 22 22 23 - 24 24 } 25 -))) 32 +{{/code}} 33 + 34 + 35 +