Changes for page 3. Get Cities
Last modified by Giorgi Mdivnishvili on 2024/02/29 09:44
From version 8.1
edited by Giorgi Mdivnishvili
on 2024/02/29 09:44
on 2024/02/29 09:44
Change comment:
There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2023/12/04 12:21
on 2023/12/04 12:21
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - 3.Get Cities1 +Get Cities - Content
-
... ... @@ -2,13 +2,14 @@ 2 2 {{toc/}} 3 3 {{/box}} 4 4 5 -= Method 5 += Method- Get Cities = 6 6 7 7 endpoint - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetCities>>https://testapi.rustaronline.com/api/Hotels/GetCities]] 8 8 9 9 10 -Th emethodreturns the list ofavailable cities.10 +This method is used to get list of cities & countries. 11 11 12 + 12 12 {{code language="Json"}} 13 13 { 14 14 "Code": "00", ... ... @@ -29,11 +29,8 @@ 29 29 30 30 == Description of Response parameters == 31 31 33 +* **cityid**: GUID of the City where the hotel is located. 34 +* **cityname**: string. Name of the city 35 +* **countrycode**: string. ISO2 Country code 32 32 33 -(% class="table-bordered" %) 34 -(% class="info" %)|**Value**|**Description** 35 -|**cityid**| GUID of the City where the hotel is located. 36 -|**cityname**| string. Name of the city 37 -|**countrycode**| string. ISO2 Country code 38 - 39 39