getPromotionKPIs

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

Input Parameters

Name Description
promoTemplate SFDC ID of the promotion template.

Input Sample

{
    "class": "NewPromotionWizardCallable",
    "method": "getPromotionKPIs",
    "params": {
        "promoTemplate": "{! promoTemplate.Id }"
    },
    "cache": true
}

Response Sample

[
    {
        "ValueDecimalPlaces": 0,
        "Name": "Promotion Volume",
        "Id": "PromoPlanSellOutVol"
    },
    {
        "ValueDecimalPlaces": 2,
        "Name": "Promoted Price",
        "Id": "PromoPlanPromotedPrice"
    }
]

Response Properties

This method returns a list of items with the following properties:
Name Description
Id KPI name
Name KPI description label.
ValueDedimalPlaces

Maximum 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