Newer Version Available

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

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/v66.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
Name Type Description Required or Optional Available Version
contentLink​DetailsList Content Link Details Input[] List of content link records with their IDs and updated values. Each object includes a contentLinkId and a contentValue property value. Required 65.0
isBulk​Request Boolean Indicates whether fields associated with the same object ID are grouped and fetched together in a single bulk request (true) or not (false). Optional 66.0
partialCommit Boolean Indicates whether successful records should be committed in case of partial errors (true) or not (false). The default value is false. Optional 65.0
reference​ObjectId String ID of the target Salesforce object that must be updated, such as a Contract record. Optional 65.0
Response body for POST
Content Link Data Sync