Entity overview
Work time
Use WorkTime entries to drive utilization, payroll, and invoicing dashboards without forcing teams to re-enter hours.
Endpoints
/api/employee_working_hours
List work logs
Read employee_working_hours collections filtered by employee, project, or time range.
/api/employee_working_hours
Create work log
Push a new work-time entry with seconds, description, and references to employees/projects.
/api/employee_working_hours/{id}
Get work log by ID
Inspect a single recorded work-time entry.
/api/employee_working_hours/{id}
Update work log
Patch logged seconds, project, or notes when corrections are needed.
/api/employee-working-hours
List employee-working-hours
Retrieve employee-working-hours with pagination and filters.
/api/employee-working-hours
Create employee-working-hour
Create a new employee-working-hour entry.
/api/employee-working-hours/{id}
Get employee-working-hour
Fetch a single employee-working-hour by ID.
/api/employee-working-hours/{id}
Update employee-working-hour
Patch fields of an employee-working-hour entry.
/api/employee-working-hours/{id}
Delete employee-working-hour
Remove an employee-working-hour entry.
/api/work-times
List work-times
Retrieve work-time entries.
/api/work-times
Create work-time
Create a work-time record.
/api/work-times/{id}
Get work-time
Fetch a single work-time by ID.
/api/work-times/{id}
Update work-time
Patch a work-time record.
/api/work-times/{id}
Delete work-time
Delete a work-time record.
/api/employees/{id}/working-hours-stats/{date}
Get working-hours stats
Retrieve aggregated working-hours stats for an employee at a date.
Use cases
Schema fields
WorkTime| Field | Type | Description |
|---|---|---|
id |
integer | Internal identifier of the work log. |
employee |
string | Employee IRI that submitted the time. |
project |
string | Project IRI receiving the work. |
date |
string | Timestamp indicating when the work occurred. |
seconds |
integer | Duration recorded in seconds. |
description |
string | null | Optional note describing the activity. |
createdAt |
string | When the entry was created in Flowtly. |
updatedAt |
string | When the entry was last modified. |
deletedAt |
string | null | Timestamp of soft deletion, if any. |
deleted |
boolean | Check if the entity has been soft deleted. |
Examples
/api/employee_working_hours
Push a billable work log from Asana
Pushes a 7.5-hour (27,000-second) log from your PM tool so Flowtly can update utilization and invoicing metrics.
{
"employee": "/api/employees/emp_102",
"project": "/api/projects/aurora",
"date": "2024-07-04T00:00:00+00:00",
"seconds": 27000,
"description": "Budget review for Aurora project"
}
{
"@id": "/api/employee_working_hours/wkt_9001",
"@type": "WorkTime",
"id": 9001,
"employee": "/api/employees/emp_102",
"project": "/api/projects/aurora",
"date": "2024-07-04T00:00:00+00:00",
"seconds": 27000,
"description": "Budget review for Aurora project",
"createdAt": "2024-07-04T18:05:00+00:00",
"updatedAt": "2024-07-04T18:05:00+00:00",
"deleted": false
}