All Classes Pages
DeletecustomerNoteExamples Class Reference

More...

Detailed Description

Examples for Delete customer notes

Example 1 - Delete a single customer note

This example demonstrates the following:

  • Delete a single note of a customer.

XML

Request

Method URL
DELETE /ws/v12/interaction/customer/1001/note/1028

Request headers

Name Value
X-egain-session Valid session ID
Accept application/xml
Content-Type application/xml
Accept-Language en-US

Response
HTTP/1.1 204 No Content

Response headers

Name Value
X-egain-session current session ID
Content-Type application/xml

     


JSON

Request

Method URL
DELETE /ws/v12/interaction/customer/1001/note/1028

Request headers

Name Value
X-egain-session Valid session ID
Accept application/json
Content-Type application/json
Accept-Language en-US

Response
HTTP/1.1 204 No Content

Response headers

Name Value
X-egain-session current session ID
Content-Type application/json

     

Example 2 - Delete multiple notes of a customer

This example demonstrates the following:

  • Delete multiple notes of a given customer.

XML

Request

Method URL
DELETE /ws/v12/interaction/customer/1006/note/1025,1029,1037

Request headers

Name Value
X-egain-session Valid session ID
Accept application/xml
Content-Type application/xml
Accept-Language en-US

Response
HTTP/1.1 204 No Content

Response headers

Name Value
X-egain-session current session ID
Content-Type application/xml

     


JSON

Request

Method URL
DELETE /ws/v12/interaction/customer/1006/note/1025,1029,1037

Request headers

Name Value
X-egain-session Valid session ID
Accept application/json
Content-Type application/json
Accept-Language en-US

Response
HTTP/1.1 204 No Content

Response headers

Name Value
X-egain-session current session ID
Content-Type application/json