Update Context Attributes Action

Update the attributes in the context instance using tags.

This action is available in API version 63.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/vXX.X/actions/standard/updateContextAttributes

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

Inputs 

InputTypeDescription
contextIdstringRequired. ID of the context instance.
nodePathAndUpdatedValuesstringOptional. The JSON containing the node path and its updated values.

Outputs 

None.

Example 

POST

This sample request is for the Update Context Attributes action.

1{
2  "inputs": [
3    {
4      "contextId": "0000000a07da09100251752497651022c35b6150a4d04cd6a84bf1a0439cc609",
5      "NodePathAndUpdatedValues": [
6        {
7          "nodePath": {
8            "dataPath": [
9              "account1",
10              "contact1"
11            ]
12          },
13          "tagValues": [
14            {
15              "tagName": "Contact_LastName",
16              "tagValue": "UPDATED_MILLER"
17            }
18          ]
19        }
20      ]
21    }
22  ]
23}