Export Bookings
You can export booking data based on specific filters such as date range, search terms, and booking types. This allows you to generate reports or analyze booking trends.
Export Bookings to CSV
Export filtered booking data to CSV format.
Endpoint: POST /api/v1/bookings/extractCSV
Request Body:
json
{
"rangeDates": {
"from": "2024-06-01",
"to": "2024-06-30"
},
"search": "",
"rangeDatesTravelPeriod": {
"from": "2024-06-01",
"to": "2024-08-31"
},
"isHotel": true,
"isTo": false,
"startAt": "2024-06-01",
"endAt": "2024-06-30"
}Response: The endpoint returns a CSV file download with booking data matching the specified filters.