Docomotion Connect requires an external data source, an API endpoint, that can provide the runtime data to populate the document template.
- This API endpoint should provide data in XML format.
- Method: GET or POST
- Example URL: https://your-domain.com/api/data/1
- URL Example: http://{yourdomain}/api/data/1
- Response Structure (XML):
The data source API can use either the GET or POST HTTP method.
An example URL for such an API might be https://your-domain.com/api/data/1.
The required Response Structure from your data source API must be in XML.
For Single Generation, the expected XML structure would typically wrap the main object’s data within root tags, like this:
711 account
0015J00000IS6UiQAL
For Mass Generation, the XML would contain multiple instances of the main object data within the root tags:
Account 1
0015J00000IS6UiQAL
Account 2
0015J00000IS6UiQAL
...