Newer Version Available

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

Context Attribute (PATCH)

Update attributes of a context record.
Resource
1/connect/contexts/attributes
Example for PATCH
1https://yourInstance.salesforce.com/services/data/v64.0/connect/contexts/attributes
Available version
59.0
Requires Chatter
No
HTTP methods
PATCH
Request body for PATCH
JSON example
1{
2  "updateContextAttributesInput": {
3    "contextId": "3729ed60-d16d-41b8-8951-9ad4f6407ad2",
4    "nodePathAndAttributes": [
5      {
6        "nodePath": {
7          "dataPath": [
8            "UpdatedTestOrder789"
9          ]
10        },
11        "attributes": [
12          {
13            "attributeName": "Status",
14            "attributeValue": "IN TRANSIT"
15          }
16        ]
17      }
18    ]
19  }
20}
Properties
Name Type Description Required or Optional Available Version
updateContextAttributesInput Object Input object for updating context attributes. Required 59.0

When a context definition is mapped to Account and a field is mapped to Account.RecordType.Name, updating the RecordType's ID does not update the mapped field. This is because updating the RecordType ID does not cause updates to other fields of the RecordType record.

Note

Response body for PATCH
Context Output