Use this API to search for activities based on various criteria. This API only supports exact match searches; partial matches are not supported. For example, if a client searches for activities where customer ID is 1080, then only activities with customer ID 1080 is returned. Activities associated with customer ID 10801 is not returned.
Note:
Actor | Permission |
---|---|
User | All of the following are required:
|
Client Application | No additional permission required. |
Customer |
One or more query parameters listed below can be supplied per API call:
Actor | Available values |
---|---|
User | caseID, status, type, createdDate, lastModifiedDate, custom, customerID, mode, assignedTo, queueID, assignedUserName |
Client Application | caseID, status, type, createdDate, lastModifiedDate, custom, department, mode |
Customer | caseID, status, type, customerID, mode, secure, read, count |
Note:
Accept required | string Default: application/json Content type accepted by client. |
Accept-Language required | string Default: en-US Language locale accepted by client (used for locale specific fields in resource representation and in error responses). |
OK
No Content
Bad Request
Unauthorized
Forbidden
Not Acceptable
Internal server error
{- "activity": [
- {
- "link": [
- {
- "rel": "self",
- "href": "/core/casemgr/v3/activity/1000"
}
], - "case": {
- "link": [
- {
- "rel": "case",
- "href": "/core/casemgr/v3/case/1000"
}
], - "id": "1000"
}, - "department": {
- "name": "Service",
- "id": "999"
}, - "mode": {
- "value": "inbound",
- "displayValue": "Inbound"
}, - "type": {
- "value": "email",
- "displayValue": "Email",
- "subtype": {
- "value": "general",
- "displayValue": "General"
}
}, - "secure": false,
- "sentOnBehalf": false,
- "status": {
- "value": "completed",
- "displayValue": "Completed",
- "substatus": {
- "value": "done",
- "displayValue": "Done"
}, - "assigned": {
- "user": {
- "firstName": "Jenny",
- "lastName": "Anthony",
- "id": "1005"
}, - "activityFolder": {
- "name": {
- "value": "activities_completed",
- "displayValue": "Completed"
}, - "id": 7
}, - "pinned": false,
- "locked": false
}
}, - "created": "2021-10-06T13:59:48.000Z",
- "createdBy": {
- "user": {
- "id": "12"
}
}, - "lastModified": "2021-10-08T17:09:46.000Z",
- "subject": "Issue with laptop configuration",
- "language": {
- "value": "en",
- "displayValue": "English"
}, - "userLastWorked": {
- "firstName": "Jenny",
- "lastName": "Anthony",
- "id": "1002"
}, - "customer": {
- "link": [
- {
- "rel": "customer",
- "href": "/core/customermgr/v3/customer/1000"
}
], - "customerName": "John Davis",
- "contacts": {
- "contact": [
- {
- "systemCreated": false,
- "email": [
- {
- "emailAddress": "johndavis@example.com",
- "id": "1000"
}
], - "id": 1000
}
]
}, - "id": "1000"
}, - "classifications": {
- "category": [
- {
- "name": "Laptop Configuration",
- "isComplaint": false,
- "id": "456700000001000"
}
], - "resolutionCode": [
- {
- "name": "Share Documentation",
- "id": "456700000001001"
}
]
}, - "queue": {
- "name": "Email queue",
- "id": "1001"
}, - "attachments": {
- "count": 0,
- "purgedCount": 0,
- "link": {
- "rel": "attachment",
- "href": "/core/casemgr/v3/activity/1000/attachment"
}
}, - "notes": {
- "count": 0,
- "link": [
- {
- "rel": "note",
- "href": "/core/casemgr/v3/activity/1000/notes"
}
]
}, - "contactPointData": "johndavis@example.com",
- "contentPurged": false,
- "payload": {
- "email": {
- "hasDraft": false,
- "leaveOpen": false,
- "escalated": false,
- "outboundFailed": false,
- "alias": {
- "name": "alias",
- "value": "support@business.com",
- "id": "1000"
}, - "date": {
- "date": "2021-09-13T05:05:51.000Z"
}, - "emailAddresses": {
- "from": "johndavis@example.com",
- "to": {
- "address": [
- "johndavis@example.com"
]
}, - "replyTo": {
- "address": [
- "support@business.com"
]
}, - "receiver": "support@business.com"
}
}
}, - "customAttributes": {
- "customAttribute": [
- {
- "attribName": "complainttype",
- "attribValues": {
- "attribValue": [
- {
- "value": "incorrect_order",
- "displayValue": "Incorrect Order"
}
]
}
}
]
}, - "id": "1000"
}, - {
- "link": [
- {
- "rel": "self",
- "href": "/core/casemgr/v3/activity/1001"
}
], - "case": {
- "link": [
- {
- "rel": "case",
- "href": "/core/casemgr/v3/case/1001"
}
], - "id": "1001"
}, - "department": {
- "name": "Service",
- "id": "999"
}, - "mode": {
- "value": "inbound",
- "displayValue": "Inbound"
}, - "type": {
- "value": "email",
- "displayValue": "Email",
- "subtype": {
- "value": "general",
- "displayValue": "General"
}
}, - "secure": false,
- "sentOnBehalf": false,
- "status": {
- "value": "awaiting_assignment",
- "displayValue": "Awaiting Assignment",
- "substatus": {
- "value": "ready_for_assignment",
- "displayValue": "Ready for assignment"
}, - "assigned": {
- "pinned": false,
- "locked": false
}
}, - "created": "2021-10-06T13:59:49.000Z",
- "createdBy": {
- "user": {
- "id": "12"
}
}, - "lastModified": "2021-10-06T14:04:23.000Z",
- "subject": "Issue with mobile configuration",
- "language": {
- "value": "et",
- "displayValue": "Estonian"
}, - "userLastWorked": {
- "firstName": "Jenny",
- "lastName": "Anthony",
- "id": "1002"
}, - "customer": {
- "link": [
- {
- "rel": "customer",
- "href": "/core/customermgr/v3/customer/1000"
}
], - "customerName": "John Davis",
- "contacts": {
- "contact": [
- {
- "systemCreated": false,
- "email": [
- {
- "emailAddress": "johndavis@example.com",
- "id": "1000"
}
], - "id": 1000
}
]
}, - "id": "1000"
}, - "classifications": {
- "category": [
- {
- "name": "Mobile Configuration",
- "isComplaint": false,
- "id": "456700000001002"
}
], - "resolutionCode": [
- {
- "name": "Share Documentation",
- "id": "456700000001003"
}
]
}, - "queue": {
- "name": "Email queue",
- "id": "1001"
}, - "attachments": {
- "count": 0,
- "purgedCount": 0,
- "link": {
- "rel": "attachment",
- "href": "/core/casemgr/v3/activity/1001/attachment"
}
}, - "notes": {
- "count": 0,
- "link": [
- {
- "rel": "note",
- "href": "/core/casemgr/v3/activity/1001/notes"
}
]
}, - "contactPointData": "johndavis@example.com",
- "contentPurged": false,
- "payload": {
- "email": {
- "hasDraft": false,
- "leaveOpen": false,
- "escalated": false,
- "outboundFailed": false,
- "alias": {
- "name": "alias",
- "value": "support@business.com",
- "id": "1000"
}, - "date": {
- "date": "2021-09-13T05:05:51.000Z"
}, - "emailAddresses": {
- "from": "johndavis@example.com",
- "to": {
- "address": [
- "johndavis@example.com"
]
}, - "replyTo": {
- "address": [
- "support@business.com"
]
}, - "receiver": "support@business.com"
}
}
}, - "customAttributes": {
- "customAttribute": [
- {
- "attribName": "complainttype",
- "attribValues": {
- "attribValue": [
- {
- "value": "incorrect_order",
- "displayValue": "Incorrect Order"
}
]
}
}
]
}, - "id": "1001"
}
], - "paginationInfo": {
- "count": 2,
- "pagenum": 1,
- "pagesize": 2
}
}