Context Attribute Mapping (POST、PATCH)
コンテキスト属性の対応付けを作成します。コンテキスト属性の対応付けを更新します。
- リソース
-
1/connect/context-node-mappings/${contextNodeMappingId}/context-attribute-mappings - POST の例
-
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-node-mappings/${contextNodeMappingId}/context-attribute-mappings - PATCH の例
-
1https://yourInstance.salesforce.com/services/data/v59.0/connect/context-node-mappings/${contextNodeMappingId}/context-attribute-mappings - 使用可能なバージョン
- 59.0
- Chatter が必要かどうか
- いいえ
- HTTP のメソッド
- POST、PATCH
- POST のリクエストボディ
-
- JSON の例
-
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} - プロパティ
-
名前 型 説明 必須か省略可能 使用可能なバージョン contextAttributeId String コンテキスト属性レコードの ID。 必須 59.0 contextAttributeMappingId String コンテキスト属性の対応付けレコードの ID。 必須 59.0 contextInputAttributeName String コンテキスト入力属性名。 省略可能 59.0 hydrationDetails Context Attribute Hydration Details Input[] コンテキスト属性ハイドレーション詳細のリスト。 省略可能 59.0
- POST のレスポンスボディ
- Context Attribute Mapping List Output
- PATCH のリクエストボディ
-
- JSON の例
-
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} - プロパティ
-
名前 型 説明 必須か省略可能 使用可能なバージョン contextAttributeId String コンテキスト属性レコードの ID。 必須 59.0 contextAttributeMappingId String コンテキスト属性の対応付けレコードの ID。 必須 59.0 contextInputAttributeName String コンテキスト入力属性名。 省略可能 59.0 hydrationDetails Context Attribute Hydration Details Input[] コンテキスト属性ハイドレーション詳細のリスト。 省略可能 59.0
- PATCH のレスポンスボディ
- Context Attribute Mapping List