Newer Version Available

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

Context Node Mapping (POST, PATCH)

Create and update context node mappings.
Resource
1/connect/context-mappings/${contextMappingId}/context-node-mappings
Example for POST
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-mappings/${contextMappingId}/context-node-mappings
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
Name Type Description Required or Optional Available Version
attributeMappings Context Attribute Mappings Input[] List of context attribute mappings. Required 59.0
contextNodeId String Reference to context node. Optional 59.0
contextNodeMappingId String ID of this context node mapping. Required for update. Required 59.0
sObjectName String SObject name. Optional 59.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