Starts report creation
Starts a report creation.
The request body contains a rule ID, and the report start and end time. The report will be created based on the event data generated by the rule and devices associated to it.
The supported rule types are:
- dwelling
- detention
- utilization
Note that both the report start and end timestamps must be earlier than the current time, and no newly ingested data will be automatically added to the report after its creation.
The created report ID will be provided in the response.
The generated report is available for one week, after which it will expire and will need to be recreated. If there is an already existing report matching the request parameters, its reportId will be returned in the response and no new report will be generated.
Request body
Response
OK
The report already exists or a new report creation has been started successfully. Use the Gets reports endpoint to check the report creation status and to query for actual reports.