Skip to main content
Skip table of contents

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)

JAVA
// 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);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.