createDocFromTemplate
Criar documento via Modelo
Overview
Parameters:
Return:
DocResponse - success
Exception - failure
To create this document we need:
set your api token.
set your variables.
set your doc.
call the method.
Usage:
Import the relevant components:
import body.doc.DeParaTemplate;
import body.doc.DocFromTemplate;
import docs.DocRequests;
import response.DocResponse;
import services.JsonConverter;
import java.util.ArrayList;Set your Api Token:
add your variables in a DeParaTemplate class list:
Set your doc with class with the class DocFromTemplate:
Call the method createDocFromTemplate and receive the DocResponse class or an error message as a response:
Example:
Last updated
Was this helpful?