Actions37
- Attendance Actions
- Case Actions
- Form Actions
- Leave Actions
- Timer Actions
- Timesheet Actions
- View Actions
Timesheet → Create Timesheet
AI-generatedSummary
Create a new timesheet for a specified user with defined date range and optional details in Zoho People.
Inputs
- User (required) — User Email ID, Employee ID (e.g., XYZ000), or Erec No (e.g., 000000) to identify the user for whom the timesheet is created.
- Timesheet Name (required) — The name to assign to the new timesheet.
- From Date (required) — Start date of the timesheet period, formatted according to the chosen dateFormat.
- To Date (required) — End date of the timesheet period, formatted according to the chosen dateFormat.
- Billable Status — Filter timelogs by billable status: All, Billable, or Non-Billable.
- Client ID — Client ID to associate with the timesheet; defaults to all clients.
- Date Format — Format to use for input dates; defaults to 'yyyy-MM-dd'.
- Description — Optional description for the timesheet.
- Job ID — Job ID to associate with the timesheet; defaults to all jobs.
- Project ID — Project ID to associate with the timesheet; defaults to all projects.
- Send for Approval — Boolean flag to indicate if the timesheet should be submitted for approval upon creation.
Output shape
a single JSON object representing the created timesheet or an error object if creation fails.
The output includes details of the created timesheet. If multiple input items are processed, outputs are returned as an array of such objects. Errors can be included per item if 'Continue On Fail' is enabled.
Examples
Example 1: Create a timesheet for user 'XYZ000' named 'January Timesheet' from '2024-01-01' to '2024-01-31', filtering only billable timelogs and sending the timesheet for approval.
Set User='XYZ000', Timesheet Name='January Timesheet', From Date='2024-01-01', To Date='2024-01-31', Billable Status='Billable', Send for Approval=true.