Context Attribute Mappings Input

Input representation of context attribute mapping.

JSON Example 

1{
2    "contextAttributeMappings": [
3        {
4            "contextAttributeId": "11nxx000001hIgLAAU",
5            "hydrationDetails": {
6                "contextAttrHydrationDetails": [
7                    {
8                        "sObjectDomain": "Order",
9                        "queryAttribute": "Status"
10                    }
11                ]
12            }
13        },
14        {
15            "contextAttributeId": "11nxx000001hKiFAAU",
16            "hydrationDetails": {
17                "contextAttrHydrationDetails": [
18                    {
19                        "sObjectDomain": "Order",
20                        "queryAttribute": "Name"
21                    }
22                ]
23            }
24        }
25    ]
26}

This example shows a JSON sample when context-to-context mappings exist.

1{
2  "contextMappings": [
3    {
4      "contextMappingId": "11jxx0000005UXnAAM",
5      "contextNodeMappings": {
6        "contextNodeMappings": [
7          {
8            "attributeMappings": {
9              "contextAttributeMappings": [
10                {
11                  "hydrationDetails": {
12                    "contextAttrContextHydrationDetails": [
13                      {
14                        "queryAttribute": "11nxx000001hGTFAA2",
15                        "parentAttributeMappingId": "11Rxx00000058LcEAI"
16                      }
17                    ]
18                  },
19                  "contextAttributeId": "11nxx000001ihzFAAQ",
20                  "contextInputAttributeName": "Node1A1"
21                }
22              ]
23            },
24            "contextNodeId": "11oxx000001HS0iAAG",
25            "mappedContextNodeId": "11oxx000001G0mSAAS",
26            "sObjectName": "Node1"
27          }
28        ]
29      },
30      "intents": [
31        "ASSOCIATION",
32        "HYDRATION",
33        "PERSISTENCE",
34        "TRANSLATION"
35      ],
36      "mappedContextDefinitionName": "11Oxx0000006PZ8EAM",
37      "isDefault": false
38    }
39  ]
40}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
contextAttributeIdStringID of the context attribute record.Required59.0
contextAttributeMappingIdStringID of the context attribute mapping record.Required59.0
contextInputAttributeNameStringContext input attribute name.Optional59.0
hydrationDetailsContext Attribute Hydration Details Input[]List of context attribute hydration detail.Optional59.0