Log time
timelog_log_timeLog a time entry for the signed-in user, or for another employee via employee_id (requires time approval rights). For project time, first use timelog_get_loggable_projects and only pass a project_id returned there. Use activity_type_id/activity_type_name for non-billable time without a project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ISO date YYYY-MM-DD | |
| note | No | ||
| hours | Yes | ||
| status | No | DRAFT | SUBMITTED | APPROVED | REJECTED (case-insensitive). Defaults to DRAFT. | |
| task_id | No | Reserved for future per-task time tracking. It is stored, but Matrix reports time per project only - passing it has no effect on any figure today. | |
| project_id | No | ||
| employee_id | No | Register the time on another employee. Defaults to the signed-in user. Requires 'time.approve' or full Time Tracking data scope. | |
| is_billable | No | ||
| activity_type_id | No | ||
| activity_type_name | No | Exact activity type name to use when activity_type_id is not known. |