Jump to: navigation, search

AddComment

This operation is part of the Email API section of the Web Services API.

Overview

Adds a comment to the specified email.

Request URL /api/v2/me/emails/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName AddComment
comment A string value to be used for the email comment.

Sample

Request

POST api/v2/me/emails/0000Na9B26EF003M 
 
{
 "operationName": "AddComment", 
 "comment": "I am crazy about my test"
}

Response

{
  "statusCode": 0
}

Notification

{
   "referenceId": 6,
   "notificationType": "StatusChange",
   "messageType": "EmailStateChangeMessage",
   "email": {
       "comment": "I am crazy about my test",
       "userData": {
           "ContactId": "0000Wa9CAM6W018X"
       },
       "from": "htcc@gplus-w2k3-gf80",
       "contactId": "0000Wa9CAM6W018X",
       "capabilities": [
           
       ],
       "uri": "http: //localhost: 8080/api/v2/email/01QG9WAK37H3802F",
       "to": [
           "qwerty@hpe-voicevm-34-23.genesyslab.com"
       ],
       "state": "Canceled",
       "parentId": "00012a9HEEG0335Q",
       "id": "01QG9WAK37H3802F",
       "subject": "RE: Test_V2"
   }
}
This page was last edited on January 22, 2016, at 19:56.
Comments or questions about this documentation? Contact us for support!