Wiki source code of Introduction

Version 1.1 by Giorgi Mdivnishvili on 2023/11/28 17:29

Hide last authors
Giorgi Mdivnishvili 1.1 1
2
3 In order to start integration process, first step is to whitelist IP-s to open Documentation URL-s and make test requests.
4
5
6 **Test user parameters:**
7
8 * agentid=test.test
9 * agentpassword=TestP@ssw0rd
10 * UID=55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e
11
12
13 After successful integration using test parameters you will be provided with the real credentials.
14
15 * Hotel Search endpoint  [POST]    - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/Search>>url:https://testapi.rustaronline.com/api/Hotels/Search]]
16 * GetPriceDetails endpoint [POST] - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetPriceDetails>>url:https://testapi.rustaronline.com/api/Hotels/GetPriceDetails]]
17 * Reservation endpoint -  [POST] [[https:~~/~~/testapi.rustaronline.com/api/Reservations/RegisterReservation?agentid=test.test&agentpassword=TestP@ssw0rd>>url:https://testapi.rustaronline.com/api/Reservations/RegisterReservation?agentid=test.test&agentpassword=TestP@ssw0rd]]  agentid and password should be sent through URL
18 * GetHotels – [GET] [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetHotels>>url:https://testapi.rustaronline.com/api/Hotels/GetHotels]] For getting hotels list and parameters
19 * GetCities – [GET] https:~/~/testapi.rustaronline.com/api/Hotels/GetCities For getting Cities list and parameters
20
21
22 **You will be provided postman file, which you can import and make test request.**