Use this API to complete multiple activities assigned to the logged in user. These activities may or may not have a case and the activities may belong to different cases. This API cannot be used to complete draft replies created for email and social activities.
For this API to execute successfully:
As part of completing this API request:
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.
"activities" element must be present in the request body. At least one "activity" element must be present in the "activities" element. Each "activity" element must contain the following elements:
Name | Description |
---|---|
id | ID of the activity. |
lastModified | Value of last modified date of the activity. |
None
Array of objects (Activity) |
OK
Bad Request message
Unauthorized
Forbidden
Not Acceptable
Internal server error
{- "activity": [
- {
- "id": "1025",
- "lastModified": "2015-07-14T23:51:58.000Z"
}, - {
- "id": "1039",
- "lastModified": "2015-07-14T23:51:58.000Z"
}
]
}
{- "activity": [
- {
- "id": 1025,
- "link": [
- {
- "rel": "self",
- "href": "/core/casemgr/v3/activity/1025"
}
], - "case": {
- "id": 1023,
- "link": [
- {
- "rel": "case",
- "href": "/core/casemgr/v3/case/1023"
}
], - "status": {
- "value": "closed",
- "displayValue": "Closed"
}
}
}, - {
- "id": 1039,
- "link": [
- {
- "rel": "self",
- "href": "/core/casemgr/v3/activity/1039"
}
], - "case": {
- "id": 1032,
- "link": [
- {
- "rel": "case",
- "href": "/core/casemgr/v3/case/1032"
}
], - "status": {
- "value": "open",
- "displayValue": "Open"
}
}
}
]
}