TimeEntries update service
Before using this service
This service is aimed at updating a given user TimeEntries easily, as it automatically detects and applies changes needed to transform whatever TimeEntries might currently exist to what you send it. It create, edit, or delete TimeEntries. An algorithm tries to match and update any existing TimeEntries, but it might wipe clean TimeEntries before adding new ones.
There are different ways to update TimeEntries. Please see this guide for a guide on how to update TimeEntries the right way depending on your use case.
How to use
It will create, edit, or delete existing TimeEntries for a given period and owner to match the TimeEntries of the request body.
The request body is an array of 'simplified' TimeEntries, please see the API reference for a TimeEntry model for additional information and main validation rules.
Here the TimeEntry id field is optional as the matching algorithm does not take it into account.
Query parameters
First day (included) of the period you want to update with provided TimeEntries.
Last day (included) of the period you want to update with provided TimeEntries.
Unique identifier of the TimeEntries owner.
Request body
Example request
[
{
"owner": {
"id": 123
},
"startsAt": "2023-10-12T12:00:00",
"duration": {
"iso": "PT15M"
},
"axisSections": [
{
"id": 123
}
]
}
]Response
OK