RESTful REST API
HTTP RPC Agent API
At this point, the document template record has been created, but there is no content for the document template. We need to upload some document content to the new record: We could call SaveDocumentTemplateEntity and SaveDocumentTemplateStream separately as the REST API does, or we can use the agent call that does both in a single call:At this point, the document template record has been created, and the content
has been written to the archive.
The examples are given in JavaScripty pseudocode.