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

Context Node (POST, PATCH)

コンテキストノードを作成および更新します。
リソース
1/connect/context-definitions/${contextDefinitionId}/context-nodes
POST の例
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-definitions/${contextDefinitionId}/context-nodes
PATCH の例
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-definitions/${contextDefinitionId}/context-nodes
使用可能なバージョン
59.0
Chatter が必要かどうか
いいえ
HTTP のメソッド
POST、PATCH
POST のリクエストボディ
JSON の例
1{
2    "contextNodes": [
3        {
4            "name": "Node_0",
5            "attributes": {
6                "contextAttributes": [
7                    {
8                        "dataType": "STRING",
9                        "fieldType": "INPUT",
10                        "name": "Attribute_1"
11                    }
12                ]
13            },
14            "childNodes": {
15                "contextNodes": [
16                    {
17                        "name": "Node_1",
18                        "attributes": {
19                            "contextAttributes": [
20                                {
21                                    "dataType": "NUMBER",
22                                    "fieldType": "INPUT",
23                                    "name": "Attribute_2"
24                                }
25                            ]
26                        }
27                    }
28                ]
29            }
30        }
31    ]
32}
プロパティ
名前 説明 必須か省略可能 使用可能なバージョン
attributes Context Attributes Input [] コンテキスト属性のリスト。 省略可能 59.0
childNodes Context Nodes Input [] 子のコンテキストノードのリスト。 省略可能 59.0
contextNodeId String コンテキストノードの ID。 必須 59.0
isTransposable Boolean 置換可能機能にコンテキストノードを使用するか (true)、否か (false) を示します。 省略可能 59.0
name String コンテキストノードの対応付けの名前。 必須 59.0
parentNodeId String (親) のコンテキストノードの ID。 省略可能 59.0
tags Context Tag Input[] コンテキストタグのリスト。 省略可能 59.0
POST のレスポンスボディ
Context Node List Output
PATCH のリクエストボディ
JSON の例
1{
2    "contextNodes": [
3        {
4            "name": "Node_0_patch",
5            "contextNodeId": "11oxx000001G9D2AAK"
6        }
7    ]
8}
PATCH のレスポンスボディ
Context Node List Output