Newer Version Available

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

Persist Context (POST)

Persist a context by passing the context ID.
Resource
1/connect/contexts/persist-records
Example for POST
1https://yourInstance.salesforce.com/services/data/v59.0/connect/contexts/persist-records
Available version
59.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
JSON example
1{
2  "contextPersistInput": {
3    "contextId": "384fdcef-36e2-4bbb-82ed-2e7bc4e670c7",
4    "targetMappingId": "11jxx0000004Q83AAE"
5  }
6}
Properties
Name Type Description Required or Optional Available Version
contextPersistInput Object Contains contextId and targetMappingId for persisting context. Required 59.0
JSON example
1{
2  "contextId": "384fdcef-36e2-4bbb-82ed-2e7bc4e670c7",
3  "targetMappingId": "11jxx0000004Q83AAE"
4}
Response body for POST
Persist Context Output