この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

Context Mapping (POST、PATCH)

コンテキストの対応付けを作成および更新します。
リソース
1/connect/context-definitions/${contextDefinitionId}/context-mappings
POST の例
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-definitions/${contextDefinitionId}/context-mappings
PATCH の例
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-definitions/${contextDefinitionId}/context-mappings
使用可能なバージョン
59.0
Chatter が必要かどうか
いいえ
HTTP のメソッド
POST、PATCH
POST のリクエストボディ
JSON の例
1{
2    "contextMappings": [
3        {
4            "name":"ExampleMapping",
5            "description":"Example Mapping Description",
6            "isDefault":true
7        }
8    ],
9    "generateInputMappings":false,
10    "generateSObjectMappings":false
11}
プロパティ
名前 説明 必須か省略可能 使用可能なバージョン
contextMappingId String このコンテキスト対応付の ID。更新の場合必須。 必須 59.0
contextNodeMappings Context Node Mappings Input[] コンテキストノードの対応付けのリスト。 省略可能 59.0
description String コンテキストの対応付けの説明。 省略可能 59.0
isDefault Boolean コンテキスト定義にデフォルトの対応付けを行うか (true)、否か (false) を示します。 省略可能 59.0
name String このコンテキストの対応付けの名前。 必須 59.0
POST のレスポンスボディ
Context Mapping List Output
PATCH のリクエストボディ
JSON の例
1{
2    "contextMappings": [
3      {
4        "contextMappingId": "11jxx0000005UXnAAM",
5        "contextNodeMappings": {
6          "contextNodeMappings": [
7            {
8              "attributeMappings": {
9                "contextAttributeMappings": [
10                  {
11                    "hydrationDetails": {
12                      "contextAttrHydrationDetails": []
13                    },
14                    "contextAttributeId": "11nxx000001ihzFAAQ",
15                    "contextInputAttributeName": "Node1A1"
16                  }
17                ]
18              },
19              "contextNodeId": "11oxx000001HS0iAAG",
20              "sObjectName": "Node1"
21            }
22          ]
23        }
24      }
25    ]
26  }
PATCH のレスポンスボディ
Context Mapping List Output