Todo Timesheets
PATCH timesheet
Update a timesheet for a Todo.
patch/v3/administrations/{administration_id}/todos/{todo_id}/timesheets/{id}
Request
- Base URLhttps://api.bookingexperts.com
- Auth
- API key in header X-API-KEY
- or OAuth 2Authorization code/oauth/authorizeToken URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
todo_idstring required
Todo ID
administration_idstring required
Administration ID
idstring required
Resource ID
Query parameters
fields[timesheet]string
Fieldset. Specify a comma separated list of attributes to return
includestring
Includes list. Specify a comma separated list of resources to include.
Headers
Accept-Languagestring
Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.
Request body
Example request
{
"data": {
"id": "1",
"type": "timesheet"
}
}Response
TimesheetResponse
Example response
{
"data": {
"id": "1",
"type": "timesheet",
"relationships": {
"todo": {
"data": {
"type": "todo"
}
}
}
},
"included": [
{
"id": "1",
"type": "todo",
"relationships": {
"executor": {
"data": {
"type": "executor"
}
},
"facility": {
"data": {
"type": "facility"
}
},
"rentable_identity": {
"data": {
"type": "rentable_identity"
}
},
"inventory_object": {
"data": {
"type": "inventory_object"
}
},
"todo_list": {
"data": {
"type": "todo_list"
}
},
"reservation": {
"data": {
"type": "reservation"
}
},
"administration": {
"data": {
"type": "administration"
}
},
"creator": {
"data": {
"type": "user"
}
},
"invoice": {
"data": {
"type": "invoice"
}
}
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.