This example demonstrates the following:
Request
Method | URL |
---|---|
PUT | ws/v12/interaction/case/1001/changecustomer |
Request headers
Name | Value |
---|---|
X-egain-session | Valid session ID |
Accept | application/xml |
Content-Type | application/xml |
Accept-Language | en-US |
Request body
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <case xmlns="http://bindings.egain.com/ws/model/v12/gen/interaction/case"> <customer id="1003"/> </case>
Response
HTTP/1.1 204 No Content
Response headers
Name | Value |
---|---|
X-egain-session | current session ID |
Content-Type | application/xml |
Request
Method | URL |
---|---|
PUT | ws/v12/interaction/case/1001/changecustomer |
Request headers
Name | Value |
---|---|
X-egain-session | Valid session ID |
Accept | application/json |
Content-Type | application/json |
Accept-Language | en-US |
Request body
{ "customer": { "id": 1003 } }
Response
HTTP/1.1 204 No Content
Response headers
Name | Value |
---|---|
X-egain-session | current session ID |
Content-Type | application/json |