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 

NameDescription
promoTemplateSFDC ID of the promotion template.
tacticTemplateSFDC 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:

NameDescription
IdKPI name
NameKPI description label.
ValueDedimalPlacesMaximum amount of decimal places expected for a value of the KPI based on the KPI type:
Possible Values:
  • Money: 2
  • Percentage: 2,
  • Price: 2
  • Volume: 0
  • None: 10