Merge document template with XML data
Submit an asynchronous task to merge a document template with XML data. User must provide either XML data, an attribute document or a content document. If no destination folder is specified, an HREF to download the document will be provided.
Developing with the CLM API is only available for CLM customers with a production account. To purchase a plan to gain access to the CLM API, contact Docusign Sales.
Authentication
AuthorizationBearer
Docusign OAuth 2.0 access token, sent as Authorization: Bearer <token>.
Path parameters
accountId
The ID of the Docusign account.
Request
DocumentXmlMergeTask object containing the template document and XML data or an XML data document.
DataXml
XML data used to populate the template document
Message
Additional explanation of the status (if any)
DownloadUrl
The URI where the document can be downloaded, if no destination folder is provided
DestinationDocumentName
If the result of the asynchronous task is to be saved in a SpringCM permanent storage, this is the name of the new document
Status
Current status of the asynchronous task
Href
Uri where the object can be retrieved.
TemplateDocument
Document that serves as a template to be populated with data
AttributeDocument
Document in the account that contains the data used to populate the template document in its attributes
ContentDocument
Document in the account that contains the XML used to populate the template document in its content
ResultDocument
The document that is created as a result of this task
DestinationFolder
If the result of the asynchronous task is to be saved in a SpringCM permanent storage, this is the folder where the new document should be placed
Response
OK
DataXml
XML data used to populate the template document
Message
Additional explanation of the status (if any)
DownloadUrl
The URI where the document can be downloaded, if no destination folder is provided
DestinationDocumentName
If the result of the asynchronous task is to be saved in a SpringCM permanent storage, this is the name of the new document
Status
Current status of the asynchronous task
Href
Uri where the object can be retrieved.
TemplateDocument
Document that serves as a template to be populated with data
AttributeDocument
Document in the account that contains the data used to populate the template document in its attributes
ContentDocument
Document in the account that contains the XML used to populate the template document in its content
ResultDocument
The document that is created as a result of this task
DestinationFolder
If the result of the asynchronous task is to be saved in a SpringCM permanent storage, this is the folder where the new document should be placed