Use this API to modify the content and custom attributes of a completed activity. Only one activity can be modified at a time.
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.
Name | Description |
---|---|
id | ID of the activity. |
lastModified | Value of last modified date of the activity . |
payload.chat.transcript.content or payload.email.content or customAttributes |
|
No Content
Bad Request
Unauthorized
Forbidden
Not Acceptable
Conflict
Internal server error
{- "activity": [
- {
- "id": "1001",
- "lastModified": "2017-11-26T11:37:50.790Z",
- "payload": {
- "chat": {
- "transcript": {
- "html": "Contents are removed."
}
}
}
}
]
}
{- "code": "400-101",
- "developerMessage": "Unsupported query parameter(s) supplied: '<query_parameter>'."
}