getPromotionKPIs

This method returns the list of editable and editable calculated KPIs on promotion level for the input promotion template

Input Parameters 

NameDescription
promoTemplateSFDC ID of the promotion template.

Input Sample 

1{
2    "class": "NewPromotionWizardCallable",
3    "method": "getPromotionKPIs",
4    "params": {
5        "promoTemplate": "{! promoTemplate.Id }"
6    },
7    "cache": true
8}

Response Sample 

1[
2    {
3        "ValueDecimalPlaces": 0,
4        "Name": "Promotion Volume",
5        "Id": "PromoPlanSellOutVol"
6    },
7    {
8        "ValueDecimalPlaces": 2,
9        "Name": "Promoted Price",
10        "Id": "PromoPlanPromotedPrice"
11    }
12]

Response Properties 

This method returns a list of items with the following properties:

NameDescription
IdKPI name
NameKPI description label.
ValueDedimalPlacesMaximum number 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