Skip to content

Overview

The Marhaba Service is a comprehensive platform offering an exceptional airport experience with a focus on meet and greet services and exclusive lounge access. This service offers various endpoints to search, select auxiliaries, prebook , book, and manage cancellations and cancellation policies for these experiences.

API service to be exposed

API Call API end point(POST) Request message Response message
Log-In /api/v1/auth/login loginRequest loginResponse
Marhaba Search /api/v1/marhaba/search marhabaSearchRequest MarhabaSearchResponse
Marhaba Auxiliaries /api/v1/marhaba/auxiliaries marhabaAuxiliariesRequest marhabaAuxiliariesResponse
Marhaba Prebook /api/v1/marhaba/marhaba-prebook marhabaPrebookRequest marhabaPrebookResponse
Marhaba Cancellation policies /api/v1/marhaba/cancellation-policy marhabaCancellationPolicyRequest marhabaCancellationPolicyResponse
Marhaba Book /api/v1/reservation/marhaba-book marhabaBookRequest marhabaBookResponse
Marhaba Cancellation api/v1/reservation/marhaba-cancel marhabaCancellationRequest marhabaCancellationResponse
Marhaba Book Retrieve api/v1/reservation/marhaba-book-retrieve marhabaBookRetrieveRequest marhabaBookRetrieveResponse
Log-Out /api/v1/auth/logout logoutRequest logoutResponse

Marhaba Work Flow

graph TD Start((Start)) --> Login[Login] Login --> MarhabaSearch[Marhaba Search
api/v1/auth/login] MarhabaSearch --> MarhabaAuxiliaries[Marhaba Auxiliaries
/api/v1/marhaba/auxiliaries] MarhabaAuxiliaries --> MarhabaPreBook[Marhaba Prebook
/api/v1/marhaba/marhaba-prebook] MarhabaSearch --> MarhabaPreBook[Marhaba Prebook
/api/v1/marhaba/marhaba-prebook] MarhabaPreBook --> MarhabaBook[Marhaba Book
/api/v1/reservation/marhaba-book] MarhabaBook -->Logout[Logout
api/v1/auth/logout] MarhabaBook --> Cancel[Marhaba Cancel
/api/v1/reservation/cancel] Cancel --> Logout Logout --> Stop((Stop))


Response Meta Data

Each response has metadata section, and it will describe overall status of each response. The Metadata parameters are given below.

Tags Attribute Description
meta meta
(Object)
Meta data Tag
success
(String)
Response status will be return.
Ex: "true" OR "false"
statusCode
(String)
Response statusCode will be return.
Ex: -3, -2, -1, 0, 1, 2, 3
statusMessage
(String)
Response statusMessage will be return.
Ex:
NOT FOUND
UNAUTHORIZED
ERROR
WARNING
SUCCESS
FETCH LATER
NOT YET AVAILABLE