# Time Entries

Group: PSA

[Open in the interactive reference](https://docs.api.lensing.ai/lensing/v1/groups/psa-time-entries)

A time entry is the hours a team member records for an activity on one date.

Each request changes only the time entries you name. There is no endpoint that saves a whole timesheet week. To save an edited week, create the new time entries, update the changed ones, and delete the removed ones.

A time entry's submissionStatus starts at 'draft' and moves to 'pending' when you submit it, then to 'approved' or 'rejected'. An approved time entry becomes 'submittedForInvoicing' and then 'invoiced' as it is billed. No endpoint sets submissionStatus directly.

## Endpoints

- [List time entries](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/timeEntries.html): `GET /psa/time-entries`
- [Create time entries](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/createTimeEntries.html): `POST /psa/time-entries`
- [Update time entries](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/updateTimeEntries.html): `PATCH /psa/time-entries`
- [Approve time entries](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/approveTimeEntries.html): `POST /psa/time-entries/approve`
- [Delete time entries](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/deleteTimeEntries.html): `POST /psa/time-entries/delete`
- [Reject time entries](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/rejectTimeEntries.html): `POST /psa/time-entries/reject`
- [Submit time entries](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/submitTimeEntries.html): `POST /psa/time-entries/submit`
- [Retrieve a time entry](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/getTimeEntry.html): `GET /psa/time-entries/{id}`
