This example demonstrates the following:
Request
| Method | URL | 
|---|---|
| POST | /ws/v12/interaction/case/1001/note  | 
Request headers
| Name | Value | 
|---|---|
| X-egain-session | Valid session ID | 
| Accept | application/xml | 
| Content-Type | application/xml | 
| Accept-Language | en-US | 
 Request body  
<note
    xmlns="http://bindings.egain.com/ws/model/v12/gen/interaction/notes">
    <content>Case reopened as customer has experienced same issue again while doing transaction.</content>
</note> Response 
 HTTP/1.1 201 Created
Response headers
| Name | Value | 
|---|---|
| X-egain-session | current session ID | 
| Content-Type | application/xml | 
| Location | /ws/v12/interaction/case/1001/note/1524 | 
Request
| Method | URL | 
|---|---|
| POST | /ws/v12/interaction/case/1001/note  | 
Request headers
| Name | Value | 
|---|---|
| X-egain-session | Valid session ID | 
| Accept | application/json | 
| Content-Type | application/json | 
| Accept-Language | en-US | 
 Request body  
 
{
 "content": "Case reopened as customer has experienced same issue again while doing transaction."
} Response 
 HTTP/1.1 201 Created
Response headers
| Name | Value | 
|---|---|
| X-egain-session | current session ID | 
| Content-Type | application/json | 
| Location | /ws/v12/interaction/case/1001/note/1524 |