Apex
...
Types
Input & Output Types

Types.DocGenRequestInput

Represents input for Generate Document (Sync) method.

Parameters

  1. String templateId
  2. Map<String,String> variables
  3. Resource destination
  4. DocGen Params params
  5. String documentType

Constructor definition

This custom type has a constructor that takes in the parameters, in the same order as above. Definition is as follows -

Apex


For a more detailed example, view the example section in the Generate Document (Sync) article.