Skip to main content
Skip table of contents

getAllRequestItemTemplatesByRequestId

Gets item templates related to a specific request template.

Returns: List of cg.DocuFetchRequestItemInfo.

List<cg.DocuFetchRequestItemInfo> getAllRequestItemTemplatesByRequestId()

JAVA
// Get All Request Item Templates By Request Id
Id requestTemplateId = 'a1bXXXXXXXXXXXXXXX'; // e.g. DocuFetch request template ID
List<cg.DocuFetchRequestItemInfo> items = cg.DocuFetchTools.getAllRequestItemTemplatesByRequestId(requestTemplateId);
for(cg.DocuFetchRequestItemInfo item: items){
  system.debug(item);
}
JavaScript errors detected

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

If this problem persists, please contact our support.