This method returns the list of account sets valid for the period
defined by the input date from and date through.
Input Parameters
| Name | Description |
|---|---|
| dateFrom | Valid Account start date |
| dateThru | Valid Account end date |
Input Sample
{
"class": "NewPromotionWizardCallable",
"method": "getAccountSets",
"cache": true,
"params": {
"dateFrom": "{! promoDateFrom }",
"dateThru": "{! promoDateThru }"
}
}
Response Sample
[
{
"Name": "Prio A customers in Area 47*",
"Id": "a0G2X00002jffpwUAA"
},
{
"Name": "seg15feb2021",
"Id": "a0G7R00002n1zzoUAA"
},
{
"Name": "South",
"Id": "a0G2X00002jffpzUAA"
}
]
Response Properties
This method returns a list of items with the following properties:
| Name | Description |
|---|---|
| Id | Account Set SFDC Id |
| Name | Account Set Name. |