Batch Generation using REST Requests

You can invoke the Batch API through REST requests. You can expose REST endpoints for other applications to invoke the API to generate documents.
The sample assets provided exposes REST endpoint for generating Interactive Communication documents. The servlet accepts the following parameters:

  • fileName - Location of the data file on the file system.
  • templatePath - IC template path
  • saveLocation - Location to save the generated documents on the file system
  • channelType - Print,Web or both
  • recordId - JSON path to element to set name of an interactive communication

The following screenshot shows the parameters and its values
sample request

Deploy sample assets on your server

recommendation-more-help