Data Sync (POST)

Synchronize and save the updated values for a specified reference ID and a set of content link IDs.

Resource 

1/connect/content-link/data-sync

Resource Example 

1https://yourInstance.salesforce.com/services/data/v68.0/connect/content-link/data-sync

Available Version 

65.0

HTTP Methods 

POST

Request Body for POST 

JSON Example

1{
2  "referenceObjectId": "069xx0000004CsCAAU",
3  "partialCommit": "false",
4  "isBulkRequest": "false",
5  "contentLinkDetailsList": [
6    {
7      "contentLinkId": "6UPVW00000003CQ4AY",
8      "contentValue": "Contract Description for JSON"
9    },
10    {
11      "contentLinkId": "6UPxx0000004CCGGA2",
12      "contentValue": "3"
13    }
14  ]
15}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
contentLink​DetailsListContent Link Details Input[]List of content link records with their IDs and updated values. Each object includes a contentLinkId and a contentValue property value.Required65.0
isBulk​RequestBooleanIndicates whether fields associated with the same object ID are grouped and fetched together in a single bulk request (true) or not (false).Optional66.0
partialCommitBooleanIndicates whether successful records should be committed in case of partial errors (true) or not (false). The default value is false.Optional65.0
reference​ObjectIdStringID of the target Salesforce object that must be updated, such as a Contract record.Optional65.0

Response Body for POST 

Content Link Data Sync