Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Persist Context Data Action
This action is available in API version 59.0 and later.
Special Access Rules
Available in Developer, Enterprise, Professional, and Unlimited editions for Industries clouds where Context Service is enabled.
Supported REST HTTP Methods
- URI
- /services/data/v59.0/actions/standard/persistContextData
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
| Input | Details |
|---|---|
| contextId |
|
| contextMappingId |
|
| trackingId |
|
Outputs
| Output | Details |
|---|---|
| referenceId |
|
Usage
Example
- POST
-
This sample request is for the Persist Context Data action.
1{ 2 "inputs": [ 3 { 4 "contextId": "0000000a07da09100251752497651022c35b6150a4d04cd6a84bf1a0439cc609", 5 "contextMappingId": "16Pxx0000004CCGEA2", 6 "trackingId": "16Pxx0000004CCGEA2" 7 } 8 ] 9} -
This sample response is for the Persist Context Data action.
1{ 2 "actionName": "persistContextData", 3 "errors": null, 4 "invocationId": null, 5 "isSuccess": true, 6 "outputValues": { 7 "referenceId": "16Pxx0000004CAeEAM" 8 }, 9 "sortOrder": -1, 10 "version": 1 11}