Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Content Document Response

Output representation of the individual content documents.
JSON Sample
1{
2  "contractId": "contractId_value",
3  "contractDocumentVersionId": "contractDocumentVersionId_value",
4  "status": "",
5  "contractDocuments": [
6    {
7      "contentDocumentId": "contentDocumentId_value1",
8      "contractDocumentVersionId": "contractDocumentVersionId_value1",
9      "createdDate": "createdDate_value1",
10      "fileExtension": "fileExtension_value1",
11      "lastModifiedDate": "lastModifiedDate_value1",
12      "title": "title_value1",
13      "isSharedExternally": true
14    }
15  ],
16  "attachments": [
17    {
18      "contentDocumentId": "contentDocumentId_value2",
19      "contractDocumentVersionId": "contractDocumentVersionId_value2",
20      "createdDate": "createdDate_value2",
21      "fileExtension": "fileExtension_value2",
22      "lastModifiedDate": "lastModifiedDate_value2",
23      "title": "title_value2",
24      "isSharedExternally": true
25    }
26  ]
27}
Property Name Type Description Filter Group and Version Available Version
content​DocumentId String Record ID of the content document. Small, 60.0 60.0
contentDocument​LinkId String Record ID of the content document link. Small, 60.0 60.0
contractDocument​VersionId String Record ID of the linked ContractDocumentVersion object. Small, 60.0 60.0
created​Date String Creation date of the content document. Small, 60.0 60.0
file​Extension String File extension of the content document. Small, 60.0 60.0
isShared​Externally Boolean Indicates if the file can be viewed by all users (true) or not (false). The default value is true. Small, 60.0 60.0
lastModified​Date String Last modification date of the content document. Small, 60.0 60.0
title String Title of the content document. Small, 60.0 60.0