Populate HTML Template with Data
Introduction
This article explains how to populate HTML template with JSON and XML data source. Please go through the Template Merge article, which provides an example-based description of template markup elements, and rules of source data to template mapping. You can use of the following two REST APIs for template merge:
API Information
API | Type | Description | Swagger Link |
---|---|---|---|
/html/{templateName}/merge | GET | Populate HTML document template with data located as a file in the storage | GetMergeHtmlTemplate |
/html/{templateName}/merge | POST | Populate HTML document template with data from the request body. Result document will be saved to storage | PostMergeHtmlTemplate |