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

Recommendation

Einstein Next Best Action を使用したおすすめ要求の出力表現。
JSON の例
1{
2  "recommendationRecordIds" : [ "0prRM00000001abYAA" ],
3  "recommendationStrategyResult" : [ {
4    "errors" : [ ],
5    "isSuccess" : true,
6    "onBehalfOfId" : "a02xx000001nd0RAAQ",
7    "recommendations" : [ {
8      "acceptanceLabel" : "yes",
9      "actionReferenceId" : "301RM0000004tIcYAI",
10      "actionReferenceLabel" : "sendingEmailFlow",
11      "actionReferenceName" : "sendingEmailFlow",
12      "actionStrategyParameters" : [ {
13        "name" : "inputRecommendation",
14        "type" : "SObject",
15        "value" : {
16          "attributes" : {
17            "type" : "Recommendation",
18            "url" : "/services/data/v56.0/sobjects/Recommendation/0prRM00000001abYAA"
19          },
20          "AcceptanceLabel" : "yes",
21          "ActionReference" : "sendingEmailFlow",
22          "CreatedById" : "005RM000002WUlIYAW",
23          "CreatedDate" : "2022-07-14T20:06:32.000Z",
24          "Description" : "Recommendation description",
25          "ExternalId" : null,
26          "Id" : "0prRM00000001abYAA",
27          "ImageId" : null,
28          "IsActionActive" : true,
29          "IsDeleted" : false,
30          "LastModifiedById" : "005RM000002WUlIYAW",
31          "LastModifiedDate" : "2022-07-14T20:06:32.000Z",
32          "LastReferencedDate" : "2022-07-14T20:06:32.000Z",
33          "LastViewedDate" : "2022-07-14T20:06:32.000Z",
34          "Name" : "Rcmd2",
35          "RecommendationKey" : null,
36          "RejectionLabel" : "no",
37          "SystemModstamp" : "2022-07-14T20:06:32.000Z"
38        }
39      }, {
40        "name" : "recordId",
41        "type" : "String",
42        "value" : "a02xx000001nd0RAAQ"
43      }, {
44        "name" : "contextRecordId",
45        "type" : "String",
46        "value" : "a02xx000001nd0RAAQ"
47      } ],
48      "description" : "Recommendation description",
49      "id" : "0prRM00000001abYAA",
50      "name" : "Recommendation",
51      "rejectionLabel" : "no"
52    } ],
53    "recordId" : "a02xx000001nd0RAAQ"
54  } ],
55  "status" : {
56    "code" : 200,
57    "message" : "The request to get recommendations was submitted."
58  },
59  "strategyName" : "flow_sample",
60  "usecaseName" : "ChurnPredictionRealTime"
61}
プロパティ
プロパティ名 説明 検索条件グループとバージョン 使用可能なバージョン
executionMode​Warning String 実行モードが適切でない場合の警告。 Small、56.0 56.0
recommendation​Persistence​ErrorMessage String おすすめの保持が失敗した場合のエラーメッセージ。 Small、56.0 56.0
recommendation​RecordIds String[] おすすめ結果に含まれるおすすめレコードの ID のリスト。 Small、56.0 56.0
recommendation​StrategyResult Recommendation Strategy Result 要求の各レコードに対するおすすめのリスト。要求の maxRecommendations​Count での指定に応じて最大 4 つのおすすめが表示されます。 Small、56.0 56.0
requestId String 実行の非同期モードでプラットフォームイベントのリスンに使用されるおすすめ要求の ID。 Small、56.0 56.0
status String おすすめ要求の状況。 Small、56.0 56.0
strategyName String 戦略の名前。 Small、56.0 56.0
usecaseName String AIUsecaseDefinition オブジェクトの usecaseName プロパティの値。 Small、56.0 56.0