Updates multiple time entries using the operation. Each requested change is reported separately.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
operationstringRequiredThe batch operation type.
Request body Required
The time entry batch operation data.
application/json
timeEntryIdsarray of stringRequired1000 Time entry IDs to change, with at most 1000 entries per request.
newTypeOfWorkIdstring or nullOptionalThe id of the new type of work. Required for operation 'setTypeOfWork'.
isBillableboolean or nullOptionalSet the billable flag for time entries. Required for operation 'setIsBillable'.
isBilledboolean or nullOptionalSet the billed flag for time entries. Required for operation 'setIsBilled'.
requireAllTimeEntriesbooleanOptionalWhether the operation must leave every requested time entry unchanged when any entry cannot be updated.
newUserIdstring or nullOptionalThe id of the new user to assign the time entries to. Required for operation 'setUser'.
newProjectIdstring or nullOptionalThe id of the new project to assign the time entries to. Required for operation 'setProject'.
newTaskIdstring or nullOptionalThe id of the new task to assign the time entries to. Required for operation 'setTask'.
Responses
207 Multi-Status
application/json
okobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
notFoundobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
unauthorizedobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
badRequestobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
400 Bad Request
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.
404 Not Found
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.