Context Node Mapping (POST, PATCH)

Create and update context node mappings.

Resource 

1/connect/context-mappings/{contextMappingId}/context-node-mappings

The {contextMappingId} parameter is the ID of the context mapping.

Example for POST 

1https://{yourInstance}.salesforce.com/services/data/v59.0/connect/context-mappings/{contextMappingId}/context-node-mappings

{yourInstance} is the domain name of your Salesforce instance.

Example for PATCH 

1https://{yourInstance}.salesforce.com/services/data/v59.0/connect/context-mappings/{contextMappingId}/context-node-mappings

Available Version 

59.0

Requires Chatter 

No

HTTP Methods 

POST, PATCH

Request Body for POST 

JSON Example 

1{
2    "contextNodeMappings": [
3        {
4            "contextNodeId": "11oxx000001G31BAAS",
5            "sObjectName": "Order"
6        },
7        {
8            "contextNodeId": "11oxx000001G31CAAS",
9            "sObjectName": "OrderItem"
10        }
11    ]
12}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
attributeMappingsContext Attribute Mappings Input[]List of context attribute mappings.Required59.0
contextNodeIdStringReference to context node.Optional59.0
contextNodeMappingIdStringID of this context node mapping. Required for update.Required59.0
sObjectNameStringSObject name.Optional59.0

Response Body for POST 

Context Node Mapping List Output

Request Body for PATCH 

JSON Example 

1{
2    "contextNodeMappings": [
3        {
4            "contextNodeMappingId": "11bxx000000YZipAAG",
5            "sObjectName": "Quote"
6        },
7        {
8            "contextNodeMappingId": "11bxx000000YZiqAAG",
9            "sObjectName": "QuoteItem"
10        }
11    ]
12}

Response Body for PATCH 

Context Node Mapping List Output