getRequestItem
This method retrieves the Request Item for a given item id.
Returns: A DocuFetchRequestItemInfo
object.
cg.DocuFetchRequestItemInfo getRequestItem (Id requestItemId)
// Get Request Item by Id
Id sampleRequestItemId = 'a1bXXXXXXXXXXXXXXX'; // e.g. DocuFetch request item ID
cg.DocuFetchRequestItemInfo itemById = cg.DocuFetchTools.getRequestItem(sampleRequestItemId);
System.debug('Request Item by id: ' + itemById);