Cancellation Response
| Attributes | Type | Description |
|---|---|---|
| iternary_id | String | Iternary ID GRN-IT-201911-000086 |
| bookings | Array | List of booking and respective status |
| 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
{
"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"
}
]
}