Add Scheduled Report
Schedules a report to be emailed every day, as in the app. Shared rules: see Writing data.
- Needs the Attendance Reports plan feature: otherwise
403with the upgrade message. - An Admin can schedule any report. A Custom role needs the attendance report edit permission and can only choose branches and departments they manage. The body is closed: an unknown field is refused with
400. Counts toward your write budget. reportisDaily Attendance ReportorShift Wise Daily Attendance Report.time_slotis12 PM IST,4 PM IST,8 PM ISTor12 AM IST.file_typeisPDF(default) orXLSX; the Shift Wise report is PDF only.recipient_emailshas at max 5 addresses. They are saved trimmed and in lower case, without duplicates.branch_namesanddepartment_namesare exact names. Left out or empty, the report covers the branches and departments of the person who set it up, worked out each time it is sent.- A scheduled report is named by its report and time slot, so the same report can’t be scheduled twice at the same time:
400ontime_slot. Change that one with Update Scheduled Report instead. - Each person can set up at most 5 scheduled reports:
400onreport.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
report
Allowed values:
time_slot
Allowed values:
recipient_emails
file_type
Default PDF. The Shift Wise report is PDF only.
Allowed values:
branch_names
Exact branch names. Left out or empty means the branches of the person who set it up.
department_names
Exact department names. Left out or empty means the departments of the person who set it up.
Response
The report was scheduled. data is the scheduled report, as List Scheduled Reports shows it.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
