Use this API to search for cases based on various criteria. If no cases match the search criteria, the server responds with 204 success code and an empty body.
This API only supports exact match searches; partial matches are not supported. For example, if a client searches for cases associated with email address paul@example.com, only those cases where customer's contact point value is paul@example.com is returned. The case with customer's contact point value of dean.paul@example.com is not returned.
Note:
Actor | Permission |
---|---|
User | All of the following are required:
|
Client Application | No additional permission required. |
Customer | If the query parameter customer={id} is provided, the logged in customer must be authorized to perform this action on behalf of the customer specified through the "customer" query parameter. Otherwise, the application returns a 400 (bad request) response code. |
One or more query parameters listed below can be supplied per API call:
Actor | Available values |
---|---|
User | status, customer, email, phone, custom.<name>, owner |
Client Application | department, status, customer, email, phone, custom.<name>, owner |
Customer | status, customer, activityMode |
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 message
Unauthorized
Forbidden
Not Acceptable
Internal server error
{- "case": [
- {
- "link": [
- {
- "rel": "self",
- "href": "/core/casemgr/v3/case/1024"
}
], - "activities": {
- "link": [
- {
- "rel": "activity",
- "href": "/core/casemgr/v3/activity?case=1024"
}
]
}, - "department": {
- "name": "Service",
- "id": "999"
}, - "status": {
- "value": "open",
- "displayValue": "Open"
}, - "lastModified": "2016-04-01T02:06:42.000Z",
- "lastModifiedBy": {
- "user": {
- "firstName": "Frank",
- "lastName": "Robert",
- "id": "1002"
}
}, - "dueDate": "2016-04-05T07:00:00.000Z",
- "owner": {
- "user": {
- "firstName": "Frank",
- "lastName": "Robert",
- "id": "1002"
}, - "folder": {
- "name": {
- "value": "cases_open",
- "displayValue": "Open"
}, - "id": "13"
}
}, - "customer": {
- "link": [
- {
- "rel": "customer",
- "href": "/core/customermgr/v3/customer/1014"
}
], - "customerName": "Steve Tytler",
- "id": "1014"
}, - "severity": {
- "value": "urgent",
- "displayValue": "Urgent"
}, - "subject": "Sound is not clear [#1024]",
- "id": "1024"
}
], - "paginationInfo": {
- "count": 1,
- "pagenum": 1,
- "pagesize": 25
}
}