List timesheet areas
GET/api/timesheet-areas
Required permissions:
- timetracking.view: allows view of resources owned by the user.
- timetracking.view_other: allows view of resources not owned by the user.
Here the dedicated support page.
Request
Query Parameters
- On a date
- Greater than
- Lower than
Possible values: <= 100
Default value: 100
The number of items to include in the response.
Default value: 0
The offset of the first returned item.
Filter items by the updated_at field. This is in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Filter items updated on a date.
Example: 2024-01-01T20:00:00%2B02:00
Filter items updated after a date.
Example: gt:2024-01-01T20:00:00%2B02:00
Filter items updated before a date.
Example: lt:2024-01-01T20:00:00%2B02:00
The id of the timesheet related to the area.
Header Parameters
The company you want to interact with
The API version you want to use
Responses
- 200
- 400
Returns the list of timesheet areas.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: >= 1
Possible values: >= 1
ID of the timesheet associated with this area
Possible values: >= 1
Id of the budget area related to this timesheet area
Notes of the timesheet area
The ordinary hours of the timesheet area
The remote hours of the timesheet area
The travel hours of the timesheet area
The overtime hours of the timesheet area
The night shift hours of the timesheet area
[
{
"id": 1,
"created_at": "2024-12-20T14:44:08.379Z",
"updated_at": "2024-12-20T14:44:08.379Z",
"timesheet_id": 1,
"date": "2024-12-20",
"budget_area_id": 1,
"notes": "This is a note",
"ordinary_hours": 8,
"remote_hours": 8,
"travel_hours": 8,
"overtime_hours": 8,
"night_shift_hours": 8
}
]
Bad request