PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Timesheet → Create

AI-generated

Summary

Create a new timesheet entry in PerfexCRM associated with a specific task and staff member, including start time and optional end time, hourly rate, and note.

Inputs

  • Task ID (required) — The ID of the task this timesheet entry is for.
  • Staff ID (required) — The ID of the staff member responsible for the timesheet entry.
  • Start Time (required) — The start time of the timesheet entry.
  • End Time — The end time of the timesheet entry.
  • Hourly Rate — The hourly rate to be applied for this timesheet entry; must be zero or positive if set.
  • Note — Additional note or description for the timesheet entry.

Output shape

a single JSON object representing the created timesheet entry as returned by the PerfexCRM API

Returns the newly created timesheet entry data in the output. Validation is performed on numeric IDs and the hourly rate must be non-negative. If the API call fails, an error is thrown or returned based on node settings.

Examples

Example 1: Create a timesheet for task 123 by staff 456 starting at a specified time with an hourly rate and note

Task ID set to 123, Staff ID set to 456, Start Time set to a date-time value, Hourly Rate set to 50, Note provided with details.

Discussion