Cancel Booking

       

DESCRIPTION

This API is useful to Cancel Booking 


HEADERS TO USE FOR REQUEST

Parameter

Value

Description

Content-Type

application/json


APIKEY

as given you


AFFILIATECODE  

as given you

For Affiliate only. Not required for Tenant

TENANTCODE

as given you

For Tenants only. Not required for affiliate

BODY PARAMETERS


Name

Type

Description

Example

TenantCode

String

Provide Tenant code

Code Provided Separately

ReferenceNo

string

Booking Reference Number

 CODE178294378

CancelationPrice

decimal

Booking Cancellation Price got by API - Get Booking Cancellation Charge 

1335.79


UAT URL:   https://uat.breakaway.ie/api/PackageBooking/ProcessBookingCancellation


RESPONSE PARAMETERS


Name

Type

Description

Example

Result

boolean


true/false

Message

String



Object

Array of Objects

List of available Hotels.


IsTimeout

boolean



ErrorCode




ERROR CODES


HTTP Status

Type

500

INTERNAL_SERVER_ERROR

SAMPLE REQUEST


{
       "TenantCode": "CODE",

   "ReferenceNo": "CODE234567890",

   "CancelationPrice":1335.79        
}


SAMPLE RESPONSE


{

    "Result": true,

    "ResultMessage": "Booking Canceled Successfully.",

    "Object": null,

    "ExtraObject": null,

    "IsTimeout": false,

    "HttpResponseCode": 200,

    "ErrorCode": null

}



Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source