This API allows users to retrieve one or more cases identified by case IDs. To provide multiple IDs, a comma separated string must be used in request URI. A maximum of 75 IDs is allowed per request. Neither pagination nor range query parameters are supported by this API.
Method | URL | Description |
---|---|---|
GET | /ws/v12/interaction/case/{IDs} | Retrieve cases by their IDs. {IDs}: a comma separated string of case IDs. |
Authentication is required. The client must be logged in to call this API. Each API request must contain X-egain-session request header returned by Login API.
All of the following are required:
The logged in user must have the following licenses:
Name | Description | Allowed values | Default value |
---|---|---|---|
X-egain-session | Session ID obtained from Login API response header | N/A | N/A |
Accept | Content type accepted by client | application/xml or application/json | N/A |
Accept-Language | Language locale accepted by client (used for locale specific fields in resource representation and in error responses) | Supported 'Accept-Language' header codes | default system language |
None
Refer to Supported Common Query Parameters in ECE REST API page for detailed description of each common parameter listed below.
Name | Description | Possible values |
---|---|---|
X-egain-session | Session ID of the current user session | N/A |
Content-Type | Media type of response body | application/xml or application/json |
Summary attributes of Case Resource
Server can be prompted to return additional attributes of resource representation using $attribute
common query parameter.
See Values of $attribute common parameter supported by Case Resource for the list of allowed attribute names.
200 - OK
400 - Bad Request
$order
, unsupported $attribute
value etc.) $order
provided without $sort
401 - Unauthorized
403 - Forbidden
404 - Not Found
406 - Not Acceptable
500 - Internal server error
Example 1 - Get summary attributes for a single case
Example 2 - Get all attributes for a single case
Example 3 - Get summary attributes and additional attributes for multiple cases
Example 4 - Get multiple cases sorted on department
Example 5 - Get multiple cases sorted on customer name