RESTful REST API
HTTP RPC Agent API
At this point, the document record has been created, but the content is not generated yet. We can either upload some content directly:Or we can use the document template to generate a fresh document for us: At this point, the document record has been created, but the content is not generated yet. We can either upload some content directly:Or we can use the document template to generate a fresh document for us:
This will generate a new document based on the template and return the updated document object to us.
The examples are given in JavaScripty pseudocode.