getAccounts
This method returns the list of accounts valid for the period
defined by the input date from and the date through.
Input Parameters
Name | Description |
---|---|
dateFrom | Valid account start date |
dateThru | Valid account end date |
Input Sample
{
"class": "NewPromotionWizardCallable",
"method": "getAccounts",
"cache": true,
"params": {
"dateFrom": "{! promoDateFrom }",
"dateThru": "{! promoDateThru }"
}
}
Response Sample
[
{
"Name": "*Kroger Atlanta",
"Id": "0012X000023GAClQAO"
},
{
"Name": "*Kroger Store #201",
"Id": "0012X000023GACxQAO"
},
{
"Name": "*Safeway South-East",
"Id": "0012X000023GAC5QAO"
},
{
"Name": "+Kroger Detroit",
"Id": "0012X000023GACWQA4"
}
]
Response Properties
This method returns a list of items with the following properties:
Name | Description |
---|---|
Id | Account SFDC ID |
Name | Account Name. |