Reports
Create Report
Create a new Report record.
POST
Create Report
A Report defines a configured report that can be generated on demand or scheduled. Reports cover various data categories including check-ins, invoices, bookings, members, revenue, and occupancy metrics.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the Report-Create role.Enums
eReportType — ReportType values
eReportType — ReportType values
| Value | Name |
|---|---|
| 1 | Checkins |
| 2 | ExtraServices |
| 3 | TimePasses |
| 4 | Members |
| 5 | AllMembers |
| 6 | Invoices |
| 7 | Bookings |
| 8 | TodayBookings |
| 9 | PaidInvoices |
| 10 | Upgrades |
| 11 | Tariffs |
| 12 | Accruals |
| 13 | Transactions |
| 14 | AccrualsLiable |
| 15 | AccrualsDelivered |
| 16 | IncomePaid |
| 17 | AccountsReceivable |
| 18 | TariffHistory |
| 19 | RecurrentCharges |
| 20 | Events |
| 21 | BookingCredit |
| 22 | AccrualsByDelivery |
| 23 | Tasks |
| 24 | AllTasks |
| 25 | Visitors |
| 26 | CrmLeadTimes |
| 27 | Desks |
| 28 | UpgradesTransactions |
| 29 | DesksOccupancy |
| 30 | PricePlanOccupancy |
| 31 | UnPaidInvoices |
| 32 | ResourceOccupancy |
| 33 | Crm |
| 34 | SimpleBookings |
| 35 | Surveys |
| 36 | AccrualsBySaleDate |
| 37 | InvoiceHeaders |
| 38 | InvoicesBySaleDate |
| 39 | DeferredRevenueByMonth |
| 40 | Discounts |
| 41 | CustomerCountChurnByMonth |
| 42 | CustomerDetailsChurnByMonth |
| 43 | CustomerCountChurnByMonthPayingMembers |
| 44 | CustomerDetailsChurnByMonthPayingMembers |
| 45 | FormPages |
| 46 | GetCustomerDetailsRevenueChurnByMonth |
| 47 | CancelledBookings |
| 998 | CustomUrl |
| 999 | CustomProcedure |
Request Body
Required Fields
ID of the business linked to this record.
The name value for this report.
The folder value for this report.
The report type value for this report.
Optional Fields
The report xml value for this report.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the report was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create Report