Wiki source code of Introduction
Version 2.1 by Giorgi Mdivnishvili on 2023/12/01 11:57
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | After successful integration using test parameters you will be provided with the real credentials. | ||
13 | |||
14 | * Hotel Search endpoint [POST] - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/Search>>url:https://testapi.rustaronline.com/api/Hotels/Search]] | ||
15 | * GetPriceDetails endpoint [POST] - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetPriceDetails>>url:https://testapi.rustaronline.com/api/Hotels/GetPriceDetails]] | ||
16 | * 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 | ||
17 | * GetHotels – [GET] [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetHotels>>url:https://testapi.rustaronline.com/api/Hotels/GetHotels]] For getting hotels list and parameters | ||
18 | * GetCities – [GET] [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetCities>>https://testapi.rustaronline.com/api/Hotels/GetCities]] For getting Cities list and parameters | ||
19 | |||
20 | **You will be provided postman file, which you can import and make test request.** |