Does anyone know the full parameters and format for using Callable API to run specific customizable rollups? I want to run just the recurring donation rollups.
I have this code but it throws "Error parsing List<CRLP_Rollup> JSON parameter: RollupDefinitions" when executing anonymous. I see that CRLP_Rollup is a wrapper class -- what do I need to populate in the wrapper records? #Nonprofit Salesforce Developer
Callable npspApi = (System.Callable)Type.forName('npsp', 'Callable_API').newInstance();
Map<String, Object> h00 = new Map<String, Object>{
'parentId' => '',
'rollupType' => 'RecurringDonations',
'rollupDefs' => '',
'rollupData' => '',
'rollupCommitToDb' => 'true'
};
Id jobId = (Id)npspApi.call('crlp.executerollups', h00);
I have already scoured the classes and there is no good explanation on the parameters format.