Wiki source code of Introduction
Version 3.5 by Maguli Gogoladze on 2023/12/12 17:23
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 | |||
| 15 | General endpoints: | ||
| 16 | |||
| 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 | * Hotel Search endpoint [POST] - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/Search>>url:https://testapi.rustaronline.com/api/Hotels/Search]] | ||
| 20 | * GetPriceDetails endpoint [POST] - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetPriceDetails>>url:https://testapi.rustaronline.com/api/Hotels/GetPriceDetails]] | ||
| 21 | * 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 | ||
| 22 | |||
| 23 | **You will be provided postman file, which you can import and make test request.** |