Skip to content

Marhaba Cancellation
Run in Postman

/api/v1/reservation/marhaba-cancel   
This service is used to perform cancellation for the marhaba booking.

Marhaba Cancellation Request

Marhaba cancellation-policy mainly consists with command and bookingReferenceId or productId .

Tags Attribute Description
meta meta
(Object)
marhabaCancellationCriteria (JsonObject)
command*
(String)
This attribute directs specific actions, providing instructions to the system for tasks like booking or canceling services.
bookingReferenceId*
(String)
This unique identifier helps track and manage bookings across API calls, ensuring accurate processing.
productId
(String)
Used to distinguish products within a booking, ensuring the right product is targeted for actions like cancellation.



Marhaba Cancel Request
1
2
3
4
5
{
    "command": "cancel",
    "bookingReferenceId": "BKR-2023-005545",
    "productId": ""
}


Marhaba Cancel Response

After sending the marhaba cancel request Travlinq will cancel the selected marhaba .

Tags Attribute Description
meta meta
(Object)
success
(String)
Response status will be return Ex: "true"
statusCode
(Boolean)
Response statusCode will be return Ex: "1"
statusMessage
(String)
Response statusMessage will be return Ex: "SUCCESS"
actionType
(String)
Describes the type of action related to the response, in this case, "Marhaba cancellation policy."
conversationId
(String)
Unique ID associated with the conversation or request, "fe22cb8d-67e9-4c29-92af-e44dxxxcb9a9" in this example.
commonData commonData
(Object)
This tag has the common Data in the response.
searchKey
(String)
A unique search ID, will be returned in the search response.
data data
(Object)
bookingStatus
(String)
The status of the booking, e.g., "canceled."
Marhaba Cancel Response
{
    "meta": {
        "success": true,
        "statusCode": 1,
        "statusMessage": "SUCCESS",
        "actionType": "MARHABA_CANCEL",
        "conversationId": "b4e30446-86db-43d3-b4c6-a2f0e471a00a"
    },
    "data": [
        {
            "bookingStatus": "Cancelled"
        }
    ],
    "version": "1.0.0"
}