Use this API to retrieve a list of reservations, modifications and cancellations for hotels since the last request was sent to CultSwitch. The CultConnect API will return a JSON response containing the list of reservations, modifications and cancellations.
{
"success": true,
"reservations": [
{
"booking_id": 0,
"hotel_code": 0,
"status": "string",
"booking_date": "2024-08-20 00:50:00",
"modification_date": "2024-08-20 12:55:50",
"currency": "string",
"total_price": "string",
"travel_period": {
"arrival": "2024-08-20",
"departure": "2024-08-20"
},
"guest_count": {
"adults": 0,
"children": [
{
"count": 0,
"age": 0
}
]
},
"cancellation_details": {
"cancellation_date": "2024-08-20 19:50:50",
"cancellation_reason": "string",
"cancelled_by": "string"
},
"ota_details": {
"booking_id": "string",
"id": 0,
"source_of_booking": "string",
"booking_date_time": "2024-08-20",
"transaction_number": "string"
},
"booked_rooms": [
{
"room_id": 0,
"room_name": "string",
"product_id": 0,
"product_name": "string",
"units": 0,
"services": {
"name": "string",
"type": "string",
"price_mode": "string",
"units": 0,
"price_per_unit": "string",
"total_price": "string",
"persons": 0
},
"days": [
{
"day": "2024-08-20",
"price": "string",
"addons": {
"addons": [
{
"persons": 0,
"price_per_unit": "string",
"type": "string"
}
]
}
}
],
"guest_references": [
{
"id": 0
}
]
}
],
"services": [
{
"name": "string",
"type": "string",
"price_mode": "string",
"units": 0,
"price_per_unit": "string",
"total_price": "string",
"persons": 0
}
],
"room_level_addons": [
{
"room_id": 0,
"addons": {
"addons": [
{
"persons": 0,
"price_per_unit": "string",
"type": "string"
}
]
}
}
],
"stay_level_addon": {
"addons": [
{
"persons": 0,
"price_per_unit": "string",
"type": "string"
}
]
},
"booker": {
"id": 0,
"name": "string",
"surname": "string",
"phone": "string",
"mail": "string",
"address": {
"address_line": [
"string"
],
"street_number": "string",
"country": "string",
"country_code": "string",
"postal_code": "string",
"state_prov": "string",
"city": "string",
"company_name": "string",
"street": "string",
"title": "string"
},
"billing_address": {
"address_line": [
"string"
],
"street_number": "string",
"country": "string",
"country_code": "string",
"postal_code": "string",
"state_prov": "string",
"city": "string",
"company_name": "string",
"street": "string",
"title": "string"
}
},
"guest_details": [
{
"id": 0,
"guest_count": {
"adults": 0,
"children": [
{
"count": 0,
"age": 0
}
]
},
"guests": [
{
"name": "string",
"surname": "string",
"phone": "string",
"mail": "string",
"address": {
"address_line": [
"string"
],
"street_number": "string",
"country": "string",
"country_code": "string",
"postal_code": "string",
"state_prov": "string",
"city": "string",
"company_name": "string",
"street": "string",
"title": "string"
}
}
]
}
],
"reservation_extra_info": {
"booker": {
"affiliations": [
{
"name": "string",
"number": "string",
"numbertype": "string",
"type": "string"
}
]
},
"flags": [
{
"name": "string"
}
],
"payer": {
"payments": [
{
"amount": "string",
"currency": "string",
"payment_type": "string",
"payout_type": "string"
}
]
},
"guests": [
{
"services": [
{
"name": "string",
"text": "string"
}
]
}
]
},
"remarks": {
"channel": [
"string"
],
"guest": [
"string"
],
"room": [
"string"
]
},
"cc_data": {
"card_number": "string",
"card_type": "string",
"cardholder_name": "string",
"expiration_date": "string",
"cvv": "string",
"is_cc_valid": true,
"sent_time": "2024-08-20",
"sent_to_channel": true
}
}
],
"error": {
"code": 828,
"message": "Invalid Object ID"
},
"processing_times": {
"start_time": "2024-08-20",
"end_time": "2024-08-20",
"csuuid": "string"
}
}