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   "attachment": {
3      "attachmentType":"ExistingContent",
4      "contentDocumentId":"069D00000001FHF"
5   },
6   "body" : {
7      "messageSegments" : [
8        {
9           "text" : "FY14 Sales Projections",
10           "type" : "Text"
11        }
12      ]
13   }
14}
Properties
Name Type Description Available Version
attachment Depends on type. Optional. Values are: 24.0
body Message Body Input Description of message body 23.0