# Time Entries

Manage time entries - create, read, update, and delete time records

## Get Time Entries

 - [GET /time-entries](https://api-docs.webwork-tracker.com/api/time-entries/gettimeentries.md): Retrieve time entries for a workspace. Returns a paginated list of time entries with filters for specific date, user, project, and task. Requires workspace owner or executive manager permissions.

## Create Time Entry

 - [POST /time-entries](https://api-docs.webwork-tracker.com/api/time-entries/createtimeentry.md): Create a new time entry manually. This is useful for adding historical time entries or entries that weren't tracked in real-time. Requires workspace owner or executive manager permissions.

Important Notes:
- Time entries are validated against member and contract limits
- Overlapping time entries may result in partial time being saved
- The response will indicate if only partial time was added due to limits or overlaps

## Update Time Entry

 - [PUT /time-entries/{time_entry_id}](https://api-docs.webwork-tracker.com/api/time-entries/updatetimeentry.md): Update an existing time entry. You can update the activity description, notes, task, project assignment, date, or time range. Requires workspace owner or executive manager permissions.

Important Notes:
- All fields except workspace_id are optional
- If you update only start_time or end_time, the other will be preserved from the existing entry
- Times are validated to ensure end_time is after start_time

## Delete Time Entry

 - [DELETE /time-entries/{time_entry_id}](https://api-docs.webwork-tracker.com/api/time-entries/deletetimeentry.md): Delete a time entry. This permanently removes the time entry from the system. Requires workspace owner or executive manager permissions.

Important Notes:
- The workspace_id must be provided in the request body
- The time entry identifier in the path must be a valid encrypted UUID
- Only time entries within the authenticated user's workspace can be deleted

