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/$CONTRACT_DOCUMENT_VERSION_ID/content-documents

Available Version 

56.0

HTTP Methods 

GET, DELETE, PATCH

Example for GET 

1https://YOUR_INSTANCE.salesforce.com/services/data/v56.0/connect/clm/contract-document-version/$0qtXXXXXXX/content-documents

Example for DELETE 

1https://YOUR_INSTANCE.salesforce.com/services/data/v56.0/connect/clm/contract-document-version/$0qtXXXXXXX}/content-documents?contentDocumentId=$069XXXXXXX

Example for PATCH 

1https://YOUR_INSTANCE.salesforce.com/services/data/v60.0/connect/clm/contract-document-version/$0qtXXXXXXX/content-document?contentDocumentId=
2069XXXXXXX&share=true

Request Parameters for DELETE 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
contentDocumentIdStringID of the content document object created for an attachment.Required56.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 NameTypeDescriptionRequired or OptionalAvailable Version
contentDocumentIdStringID of the content document whose sharing status is being updated.Required60.0
shareBooleanIndicates whether sharing is enabled (true) or disabled (false) for the content document.Required60.0

Response Body for PATCH 

Generic Output[]