Newer Version Available

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

Attachment Input: Existing Content

This request body isn’t available in version 32.0 and later. In version 32.0 and later, use Content Capability Input.

Important

XML
In XML request bodies, attachmentType is an attribute of the <attachment> element.
1<attachment attachmentType="ExistingContent">
2   <contentDocumentId>069...</contentDocumentId>
3</attachment>
JSON
1{ "attachment": 
2   {
3      "attachmentType":"ExistingContent",
4      "contentDocumentId": "069D00000001FHF"
5   }
6}
Properties
Name Type Description Available Version
attachmentType String The attachment type. Must contain the value ExistingContent. 27.0–31.0
contentDocumentId String ID of the existing content 23.0–31.0