手動入力
このセクションでは、手動入力について説明します。
handleManualInputs2
- 説明: 指定された手動入力のリストを処理します。
- クラス名: Promotion2BoApiCoreWorkflowSteps
- メソッド: handleManualInputs
| プロパティ | 説明 | 必須か省略可能 |
|---|---|---|
| .KPI | 80 文字の文字列。設定する KPI 名を指定します。 | 必須 |
| .Value | 数値。KPI に設定する値です。 | 必須 |
| .Product | KPI 値を設定する商品 ID。設定しない場合、KPI 値は、プロモーションまたは戦略の合計として設定されます。商品 ID は、SFDC ID または外部 ID として指定できます。 | 必須 |
商品、戦略、およびプロモーションのレベルで手動入力を設定するワークフロー。
要求サンプル
1{
2 // Promotion information
3 Id: "Promo1ExternalId",
4 // .. rest of Promotion input attributes
5 ManualInputs: [
6 {
7 KPI: "ProPlanSpend", // Name of the KPI
8 Product: "HiChoc", // Product to apply the KPI, external id of the product level
9 Value: 1234 // Value of the KPI
10 }
11 ],
12 Tactics: [
13 {
14 // Tactic Information
15 Id: "Tactic1ExternalId",
16 // .. rest of Tactic input attributes
17 ManualInputs: [
18 {
19 KPI: "ProPlanSpend",
20 Product: "HiChoc",
21 Value: 1234
22 }
23 ]
24 }
25 ]
26}