Update many tasks
POST {{baseUrl}}/api/v1/tasks/updateMany
This API updates multiple tasks at once.
OAuth Scope
Desk.activities.UPDATE
Desk.activities.tasks.UPDATE
Desk.tasks.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
ids (required) | <list> | Array containing the IDs of the entities to update. The maximum number of IDs allowed is 50. |
fieldName (required) | <string> max chars : 320 | Name of the fieldĀ to update |
fieldValue | <string> max chars : 320 | Value in the field |
isCustomField | <boolean> | Key that denotes if the field is a user-defined field or not |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"results":[{"success":true,"id":"1892000000093303","errors":null},{"success":true,"id":"1892000000085009","errors":null},{"success":false,"id":"1892000000050003","errors":{"errorMessage":"Either the field is invalid or the field may be restricted to update","errorCode":"UNPROCESSABLE_ENTITY","httpCode":"422"}}]}