Newer Version Available

This content describes an older version of this product. View Latest

Comment Input

Root XML tag
<comment>
JSON
The following example attaches an existing file to a comment:
1{ 
2   "body" : {
3      "messageSegments" : [
4        {
5           "text" : "FY14 Sales Projections",
6           "type" : "Text"
7        }
8      ]
9   },
10   "capabilities": {
11      "contentDocumentId":"069D00000001FHF"
12   }
13}
Properties
Name Type Description Available Version
attachment Depends on type. Optional. Values are:

As of version 32.0, use the capabilities property.

Important

24.0-31.0
body Message Body Input Description of message body 23.0
capabilities Comment Capabilities Input Capabilities of the comment, such as a file attachment 32.0