getAllRequestItemsByRequestId
Gets all items associated with a specific request.
Returns: List of DocuFetchRequestItemInfo
.
// Get All Request Items of a Request
Id sampleRequestId = 'a1bXXXXXXXXXXXXXXX'; // e.g. DocuFetch request ID
List<cg.DocuFetchRequestItemInfo> itemListOfRequest = cg.DocuFetchTools.getAllRequestItemsByRequestId(sampleRequestId);
System.debug('All request items of the request ' + sampleRequestId + ' : ' + itemListOfRequest);