This API is not for public consumption.
Get Booking
POST/pegasus/v1/booking
Required attributes
- Name
application_key
- Type
- string
- Description
- Name
api_key
- Type
- string
- Description
- Name
airline_id
- Type
- string
- Description
Invalid Application key
{
"status": 401,
"message": "INVALID_APPLICATION"
}
Invalid User API Token
{
"status": 401,
"message": "INVALID_TOKEN"
}
Invalid Airline ID
{
"status": 400,
"message": "INVALID_AIRLINE_ID"
}
User is Banned
{
"status": 401,
"message": "NO_ACCOUNTS"
}
Success Response
{
"status": 200,
"message": "OK",
}