This API can be used to change the customer of a single case.
For this API to execute successfully:
Method | URL | Description |
---|---|---|
PUT | /ws/v12/interaction/case/{ID}/changecustomer | Change customer of a case with specified {ID} to the target customer specified in the request body. |
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.
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 |
Content-Type | Media type sent by the 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 |
The request body is mandatory and can be in either XML or JSON format.
Name | Description |
---|---|
case.customer.id | ID of the target customer |
None
None
None
Name | Description | Possible values |
---|---|---|
X-egain-session | ID of the current user session | N/A |
Content-Type | Media type of response body | application/xml or application/json |
The response body will be sent only in case of error. It can be in either XML or JSON format.
204 - No Content
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
406 - Not Acceptable
500 - Internal server error
Example 1 - Change customer of a case