This method returns the list of valid compensation model values for
a tactic template based on the tactic template defined tactic record type.
Input Parameters
| Name | Description |
|---|---|
| tacticTemplate | SFDC ID of the tactic template. |
Input Sample
{
"class": "NewPromotionWizardCallable",
"method": "getTacticCompensationModels",
"params": {
"tacticTemplate": "{! tacticTemplate.Id }"
},
"cache": true
}
Response Sample
[
{
"Name": "Per Case",
"Id": "PerCase"
},
{
"Name": "Percentage",
"Id": "Percentage"
}
]
Response Properties
This method returns the list of items with the following properties:
| Name | Description |
|---|---|
| Id | Value for the compensation model |
| Name | Label for the compensation model |