getTacticCompensationModels

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 

NameDescription
tacticTemplateSFDC ID of the tactic template.

Input Sample 

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

Response Sample 

1[
2    {
3        "Name": "Per Case",
4        "Id": "PerCase"
5    },
6    {
7        "Name": "Percentage",
8        "Id": "Percentage"
9    }
10]

Response Properties 

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

NameDescription
IdValue for the compensation model
NameLabel for the compensation model