# Create dwell time report Create a report of dwell time for a given time range and given organisation Endpoint: POST /dwell-time-reports Version: 0.0.1 Security: o_auth ## Request fields (application/json): - `endDate` (string, required) It is the upper bound of the date range for which to return data. The endDate is non-inclusive; i.e, the returned data will be for dates from startDate to endDate-1 - `occupancyMonitorIds` (array) List of occupancy monitor ids in the report. - `organisationId` (string, required) - `peopleCountMonitorIds` (array) List of people count monitor ids in the report. - `startDate` (string, required) It is the lower bound of the date range for which to return data. The startDate is inclusive; i.e, the returned data will be for dates from startDate to endDate-1 ## Response 200 fields (application/json): - `createdAt` (string) - `dwellTimeReportId` (string) - `endDate` (string) It is the upper bound of the date range for which to return data. The endDate is non-inclusive; i.e, the returned data will be for dates from startDate to endDate-1 - `errorMessage` (string) error in dwell time report. - `occupancyMonitorIds` (array) List of occupancy monitor ids in the report. - `organisationId` (string) - `peopleCountMonitorIds` (array) List of people count monitor ids in the report. - `reportData` (array) - `reportData.day` (string) - `reportData.description` (string) - `reportData.dwellTime` (string) - `reportData.monitorType` (string) - `startDate` (string) It is the lower bound of the date range for which to return data. The startDate is inclusive; i.e, the returned data will be for dates from startDate to endDate-1 - `status` (string) Enum: "completed", "completed_with_errors", "pending" ## Response 400 fields (application/json): - `code` (integer) - `message` (string) ## Response 401 fields (application/json): - `code` (integer) - `message` (string) ## Response 403 fields (application/json): - `code` (integer) - `message` (string) ## Response 413 fields (application/json): - `code` (integer) - `message` (string) ## Response 422 fields (application/json): - `code` (integer) - `message` (string) ## Response 500 fields (application/json): - `code` (integer) - `message` (string) ## Response 501 fields