Cancellation Response

Attributes Type Description
iternary_id String Iternary ID
GRN-IT-201911-000086
bookings Array List of booking and respective status
type String While you are booking the transfers there are following types are given below:
"type": "return",
"type": "onwards",
status String It show the Booking Status
There are following Types of Booking Status are given below:
1.confirmed
2.failed
3.rejected
4.pending
cancellation_comments String Cancellation Comments its given by the User when they are cancell the booking
cancellation_charges Object When available, cancellation charges are returned as shown below:
{
“amount”: 0 ,
“currency”: “INR”
}
currency String Three-letter ISO currency code. e.g USD, EUR, INR, CHF.
amount float flat_fee
booking_reference String Booking Reference will be required at the time of Cacellation
onward
return
booking_price Arrary Booking Price detail are given below:
"booking_price": {
"currency": "INR",
"amount": 1483.0
}
booking_id String Booking ID
GRN-T-201912-002507

Sample Resposne (Return)

{
    "iternary_id": "GRN-IT-201912-001062",
    "bookings": [
        {
            "type": "return",
            "status": "cancelled",
            "cancellation_comments": This is for testing Purpose,
            "cancellation_charges": {
                "currency": "INR",
                "amount": 0.0
            },
            "booking_reference": "i4tprhczjmws5lribimvqxsham",
            "booking_price": {
                "currency": "INR",
                "amount": 1483.0
            },
            "booking_id": "GRN-T-201912-002507"
        }
    ]
}

Sample Resposne (Onwards)

{
    "iternary_id": "GRN-IT-201912-001062",
    "bookings": [
        {
            "type": "onwards",
            "status": "cancelled",
            "cancellation_comments": This is for testing Purpose,
            "cancellation_charges": {
                "currency": "INR",
                "amount": 0.0
            },
            "booking_reference": "dxilovt2bnikpvgrruf6zetwmq",
            "booking_price": {
                "currency": "INR",
                "amount": 1483.0
            },
            "booking_id": "GRN-T-201912-002506"
        }
    ]
}

Sample Resposne Round Trip

{
    "iternary_id": "GRN-IT-201912-001062",
    "bookings": [
        {
            "type": "onwards",
            "status": "cancelled",
            "cancellation_comments": This is for testing Purpose,
            "cancellation_charges": {
                "currency": "INR",
                "amount": 0.0
            },
            "booking_reference": "dxilovt2bnikpvgrruf6zetwmq",
            "booking_price": {
                "currency": "INR",
                "amount": 1483.0
            },
            "booking_id": "GRN-T-201912-002506"
        },
        {
            "type": "return",
            "status": "cancelled",
            "cancellation_comments": This is for testing Purpose,
            "cancellation_charges": {
                "currency": "INR",
                "amount": 0.0
            },
            "booking_reference": "i4tprhczjmws5lribimvqxsham",
            "booking_price": {
                "currency": "INR",
                "amount": 1483.0
            },
            "booking_id": "GRN-T-201912-002507"
        }
    ]
}