Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
getTacticKPIs
This method returns the list of editable and editable calculated
KPI's on tactic level for the input ppromotion template and tactic template. It returns all
the possible KPI's that are part of the tactic template defined KPI subset in the order
defined by the sort field.
Input Parameters
| Name | Description |
|---|---|
| promoTemplate | SFDC ID of the promotion template. |
| tacticTemplate | SFDC ID of the tactic template. |
Input Sample
1{
2 "class": "NewPromotionWizardCallable",
3 "method": "getTacticKPIs",
4 "params": {
5 "promoTemplate": "{! promoTemplate.Id }",
6 "tacticTemplate": "{! tacticTemplate.Id }"
7 },
8 "cache": true
9}Response Sample
1[
2 {
3 "ValueDecimalPlaces": 10,
4 "Name": "Variable Amount",
5 "Id": "ProVarAmountPriceCut"
6 },
7 {
8 "ValueDecimalPlaces": 2,
9 "Name": "Fixed Amount",
10 "Id": "ProFixedAmountLumpSum"
11 }
12]Response Properties
This method returns a list of items with the following properties:
| Name | Description |
|---|---|
| Id | KPI name |
| Name | KPI description label. |
| ValueDedimalPlaces |
Maximum amount of decimal places expected for a value of the KPI based on the KPI type: Possible Values:
|