Use this API to modify the dueDate, priority, language and the custom attributes of an activity. User can modify only one activity at a time. This API is applicable for all activity types.
For this API to execute successfully:
Actor | Permission |
---|---|
User | All of the following are required:
|
Client Application | No additional permission required. |
Actor | License |
---|---|
User | The logged in user must have the following licenses:
|
Client Application | No additional licenses required. |
The request body is mandatory. Request body can be in either XML or JSON format.
Name | Description |
---|---|
id | ID of the activity. |
lastModified | Value of last modified date of the activity . |
Name | Description |
---|---|
dueDate | Due date for the activity. If provided, must be a future date. |
priority | Activity priority. |
language.value | Language of the activity. This must be one of the supported languages for the activity resource. |
customAttributes | Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values. |
No Content
Bad Request
Unauthorized
Forbidden
Not Acceptable
Conflict
Internal server error
{- "activity": [
- {
- "id": "1000",
- "lastModified": "2015-12-28T13:38:50.000Z",
- "dueDate": "2020-11-30T18:30:00.000Z",
- "priority": "5",
- "language": {
- "value": "en"
}, - "customAttributes": {
- "customAttribute": [
- {
- "attribName": "customer_rating",
- "attribValues": {
- "attribValue": [
- {
- "value": "5"
}
]
}
}
]
}
}
]
}
{- "code": "400-101",
- "developerMessage": "Unsupported query parameter(s) supplied: '<query_parameter>'."
}