deleteRequestItems
This method is used to delete multiple Items from a DocuFetch Request
Returns: Confirmation message. Success if it succeeds, otherwise returns error message.
String deleteRequestItems (List<Id> requestItemIds)
// Delete Batch Request Items
Id sampleRequestItemId = 'a1bXXXXXXXXXXXXXXX'; // e.g. DocuFetch request item ID
List<Id> deleteItemIds = new List<Id>();
deleteItemIds.add(sampleRequestItemId);
String resultBatch = cg.DocuFetchTools.deleteRequestItems(deleteItemIds);
System.debug('Batch Delete result is: ' + resultBatch);