Mail Merge
Generate documents from templates and submissions
Send the access token as Authorization: Bearer <token>.
Send the access token as Authorization: Bearer <token>.
Short name of the workspace, as found in the URL of the back-office.
[0-9]+API version to apply. Defaults to v1.0 when omitted; an unknown value falls back to the latest version.
v1.3Possible values: Document object
Generated mail merge
Error message, if any
Mail merge identifier
Mail merge status (e.g. finished, error)
Missing or invalid access token.
No document with this identifier in the workspace.
GET /{app_short}/reports/{report_id} HTTP/1.1
Host: api.daxium-air.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorMessage": "text",
"id": 1,
"original_document": {
"file_name": "text",
"file_uuid": "text"
},
"pdf_document": {
"file_name": "text",
"file_uuid": "text"
},
"status": "text"
}Templates can be filtered by form or by submission.
Send the access token as Authorization: Bearer <token>.
Send the access token as Authorization: Bearer <token>.
Short name of the workspace, as found in the URL of the back-office.
Page number
0Pattern: \d+Number of result by page (Max 1000)
10Pattern: -?\d+Get only templates updated from this date
""Pattern: \d+Structure id
""Pattern: [0-9]+Submission id
""Pattern: [0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}API version to apply. Defaults to v1.0 when omitted; an unknown value falls back to the latest version.
v1.3Possible values: Paginated list of templates
Missing or invalid access token.
GET /{app_short}/report_templates HTTP/1.1
Host: api.daxium-air.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"server_time": 1,
"templates": [
{
"id": 1,
"listingMode": true,
"mailBody": "text",
"mailSubject": "text",
"name": "text",
"reportName": "text",
"sendAsHtml": true,
"templateEngine": "text"
}
],
"total_count": 1,
"total_pages": 1
}Returns the documents generated for the given submission.
Send the access token as Authorization: Bearer <token>.
Send the access token as Authorization: Bearer <token>.
Short name of the workspace, as found in the URL of the back-office.
Page number
0Pattern: \d+Number of result by page (Max 1000)
10Pattern: -?\d+Get only pp updated from this date
""Pattern: \d+Submission id
""Pattern: [0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}API version to apply. Defaults to v1.0 when omitted; an unknown value falls back to the latest version.
v1.3Possible values: Paginated list of documents
submission is missing or is not a valid UUID.
Missing or invalid access token.
GET /{app_short}/reports?submission= HTTP/1.1
Host: api.daxium-air.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"next_page": 1,
"reports": [
{
"errorMessage": "text",
"id": 1,
"original_document": {
"file_name": "text",
"file_uuid": "text"
},
"pdf_document": {
"file_name": "text",
"file_uuid": "text"
},
"status": "text"
}
],
"server_time": 1,
"total_count": 1
}Generates a document from a template and a submission.
Send the access token as Authorization: Bearer <token>.
Send the access token as Authorization: Bearer <token>.
Short name of the workspace, as found in the URL of the back-office.
API version to apply. Defaults to v1.0 when omitted; an unknown value falls back to the latest version.
v1.3Possible values: Body for starting a mail merge
URL called (PUT) when generation completes; {publipostage_id} is substituted (mandatory)
HTTP header name to send during the callback (optional)
HTTP header value to send during the callback (optional)
Output format: original, pdf, or original,pdf (two reports generated)
Submission identifier (mandatory)
Template identifier (mandatory)
Document generation started
Generated mail merge
Error message, if any
Mail merge identifier
Mail merge status (e.g. finished, error)
The payload is invalid.
Missing or invalid access token.
POST /{app_short}/reports HTTP/1.1
Host: api.daxium-air.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"api_callback": "text",
"header_name": "text",
"header_value": "text",
"join_format": "original",
"submission_id": "123e4567-e89b-12d3-a456-426614174000",
"template_id": 1
}{
"errorMessage": "text",
"id": 1,
"original_document": {
"file_name": "text",
"file_uuid": "text"
},
"pdf_document": {
"file_name": "text",
"file_uuid": "text"
},
"status": "text"
}Send the access token as Authorization: Bearer <token>.
Send the access token as Authorization: Bearer <token>.
Short name of the workspace, as found in the URL of the back-office.
[0-9]+[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}API version to apply. Defaults to v1.0 when omitted; an unknown value falls back to the latest version.
v1.3Possible values: Binary content of the produced document
Missing or invalid access token.
No document with this identifier in the workspace.
GET /{app_short}/reports/{report_id}/results/{file_uuid} HTTP/1.1
Host: api.daxium-air.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
binaryLast updated
Was this helpful?

