Newer Version Available

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

Content Document Details (GET, DELETE, PATCH)

Get content document details associated with a contract document version. Delete content document details associated with a contract document version. Update the content document details associated with a contract document version.
Resource
1/connect/clm/contract-document-version/${contractDocumentVersionId}/content-documents
Available version
56.0
HTTP methods
GET, DELETE, PATCH
Example for GET
1https://yourInstance.salesforce.com/services/data/v56.0/connect/clm/contract-document-version/$0qtXXXXXXX/content-documents
Example for DELETE
1https://yourInstance.salesforce.com/services/data/v56.0/connect/clm/contract-document-version/$0qtXXXXXXX}/content-documents?contentDocumentId=$069XXXXXXX
Example for PATCH
1https://yourInstance.salesforce.com/services/data/v60.0/connect/clm/contract-document-version/$0qtXXXXXXX/content-document?contentDocumentId=
2069XXXXXXX&share=true
Request parameters for DELETE
Parameter Name Type Description Required or Optional Available Version
contentDocumentId String ID of the content document object created for an attachment. Required 56.0
JSON example for DELETE
1{
2    "contractDocumentVersionId": "0qtXXXXXXX" // The contractDocumentVersionId for which the attachment is to be Deleted.
3    "contentDocumentId" : "069XXXXXXX" // The ContentDocumentId is ID of ContentDocument created for attachment
4}
Response body for GET
Content Document List
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
contentDocumentId String ID of the content document whose sharing status is being updated. Required 60.0
share Boolean Indicates whether sharing is enabled (true) or disabled (false) for the content document. Required 60.0
Response body for PATCH
Generic Output[]