Newer Version Available
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
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:
| 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:
|