Wiki source code of Get Cities
Version 1.1 by Giorgi Mdivnishvili on 2023/12/04 12:16
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} |
| 2 | {{toc/}} | ||
| 3 | {{/box}} | ||
| 4 | |||
| 5 | = Method- Get Cities = | ||
| 6 | |||
| 7 | endpoint - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetCities>>https://testapi.rustaronline.com/api/Hotels/GetCities]] | ||
| 8 | |||
| 9 | |||
| 10 | |||
| 11 | {{code language="Json"}} | ||
| 12 | { | ||
| 13 | "Code": "00", | ||
| 14 | "Message": "", | ||
| 15 | "Timestamp": "2023-12-04T12:00:28.9683447+04:00", | ||
| 16 | "Version": "r1", | ||
| 17 | "ResponseID": "ac10ee8b-f73b-4179-afa2-2e585ba4881d", | ||
| 18 | "Data": [ | ||
| 19 | { | ||
| 20 | "cityid": "f5185fa3-3f56-44ed-bf6b-80386a33caa2", | ||
| 21 | "cityname": "Dubai", | ||
| 22 | "countrycode": "AE" | ||
| 23 | }, | ||
| 24 | ... | ||
| 25 | ] | ||
| 26 | } | ||
| 27 | {{/code}} |