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.
    Map<String, Object> args = new Map<String, Object>();
    Map<String, String> input = new Map<String, String>();
    Map<String, Object> output = new Map<String, Object>();
    input.put('AccountId', '001SG00000iDsGQYA0');
    input.put('RetrievalSummaryDefinitionDeveloperName', 'HouseholdAPIForWealthManagement');
    args.put('input', input);
    args.put('output', output);
    fschousehold.RetrievalSummaryDataRefresh dataRefreshWrapper = new fschousehold.RetrievalSummaryDataRefresh();
    dataRefreshWrapper.call('refreshRetrievalSummaryData', args);
    System.debug(output);
  • Get the last refresh details of the record rollups.
    Map<String, Object> args = new Map<String, Object>();
    Map<String, String> input = new Map<String, String>();
    Map<String, Object> output = new Map<String, Object>();
    input.put('AccountId', '001SG00000iDsGQYA0');
    input.put('RetrievalSummaryDefinitionDeveloperName', 'HouseholdAPIForWealthManagement');
    args.put('input', input);
    args.put('output', output);
    fschousehold.RetrievalSummaryDataRefresh dataRefreshWrapper = new fschousehold.RetrievalSummaryDataRefresh();
    dataRefreshWrapper.call(‘fetchLastRefreshDetails’, args);
    System.debug(output);