All Classes Pages
CreateCaseNoteExamples Class Reference

More...

Detailed Description

Examples for Create case Note

Example 1 - Create a case note

This example demonstrates the following:

  • Creating of a note for a case.

XML

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

     


JSON

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