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

Context Attribute (POST、PATCH)

コンテキスト属性のリストを作成します。
リソース
1/connect/context-nodes/${contextNodeId}/context-attributes
POST の例
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-nodes/${contextNodeId}/context-attributes
PATCH の例
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-nodes/${contextNodeId}/context-attributes
使用可能なバージョン
59.0
Chatter が必要かどうか
いいえ
HTTP のメソッド
POST、PATCH
POST のリクエストボディ
JSON の例
1{
2    "contextAttributes": [
3        {
4            "dataType": "STRING",
5            "fieldType": "INPUT",
6            "name": "Attribute_5",
7            "tags": {
8                "contextTags": [
9                    {
10                        "name": "Attribute_5_Tag"
11                    }
12                ]
13            }
14        },
15        {
16            "dataType": "NUMBER",
17            "fieldType": "OUTPUT",
18            "name": "Attribute_6"
19        }
20    ]
21}
プロパティ
名前 説明 必須か省略可能 使用可能なバージョン
contextAttributeId String 属性の ID。 必須 59.0
dataType String 属性のデータ型。 必須 59.0
domainSet String この属性によって参照されるカンマ区切りのノード名。 省略可能 59.0
fieldType String 属性の項目の型。 必須 59.0
isKey Boolean 置換可能機能に使用するか (true)、否か (false) を示します。 省略可能 59.0
isValue Boolean 置換可能機能に使用するか (true)、否か (false) を示します。 省略可能 59.0
name String 属性の名前。 必須 59.0
tags Context Tag Input[] 属性のタグのリスト。 省略可能 59.0
POST のレスポンスボディ
Context Attribute List
PATCH のリクエストボディ
JSON の例
1{
2    "contextAttributes": [
3        {
4            "name": "Attribute_5_Updated",
5            "contextAttributeId": "11nxx000001hOvRAAU"
6        },
7        {
8            "name": "Attribute_6_Updated",
9            "contextAttributeId": "11nxx000001hOvSAAU"
10        }
11    ]
12}
PATCH のレスポンスボディ
Context Attribute List