RetrievalSummaryDataRefresh Class

Use the callable RetrievalSummaryDataRefresh wrapper class to refresh retrieval summary definition associated rollups.

Namespace

fschousehold

Example

Refresh rollups that're associated with a retrieval summary definition.

  • Invoke sync.
    1Map<String, Object> args = new Map<String, Object>();
    2Map<String, String> input = new Map<String, String>();
    3Map<String, Object> output = new Map<String, Object>();
    4input.put('AccountId', '001SG00000iDsGQYA0');
    5input.put('RetrievalSummaryDefinitionDeveloperName', 'HouseholdAPIForWealthManagement');
    6args.put('input', input);
    7args.put('output', output);
    8fschousehold.RetrievalSummaryDataRefresh dataRefreshWrapper = new fschousehold.RetrievalSummaryDataRefresh();
    9dataRefreshWrapper.call('refreshRetrievalSummaryData', args);
    10System.debug(output);
  • Get the last refresh details of the record rollups.
    1Map<String, Object> args = new Map<String, Object>();
    2Map<String, String> input = new Map<String, String>();
    3Map<String, Object> output = new Map<String, Object>();
    4input.put('AccountId', '001SG00000iDsGQYA0');
    5input.put('RetrievalSummaryDefinitionDeveloperName', 'HouseholdAPIForWealthManagement');
    6args.put('input', input);
    7args.put('output', output);
    8fschousehold.RetrievalSummaryDataRefresh dataRefreshWrapper = new fschousehold.RetrievalSummaryDataRefresh();
    9dataRefreshWrapper.call(‘fetchLastRefreshDetails’, args);
    10System.debug(output);