Questionnaires from VisitReport can be exported as PDF.
You can generate PDFs for a given questionnaire by sending a GET
request to /visitreport/v1/convertToPDF/{QUESTIONNAIRE_ID}/{PARTICIPANT_ID}?lang={LANGUAGE}&fileName={FILENAME}&name={NAME}
.
Name | Description | Required |
---|---|---|
QUESTIONNAIRE_ID |
The id of the questionnaire you want to export as PDF. | Yes |
PARTICIPANT_ID |
The id of participant whose questionnaire you want to export. | Yes |
LANGUAGE |
Language code the report should be exported in, ie. de , en . |
Optional |
FILENAME |
Name of the file to be exported. | Optional |
NAME |
Name of the creator of the report. (Filled out with correct value by default, this parameter is for overwriting it) | Optional |
PDF signature field can also be exported separately as PDF.
This can be done by sending a GET
request to /visitreport/v1/convertToPDFSignature/{QUESTIONNAIRE_ID}/{PARTICIPANT_ID}/{QUESTION_ID}?lang={LANGUAGE}&fileName={FILENAME}&name={NAME}
.
Name | Description | Required |
---|---|---|
QUESTIONNAIRE_ID |
The id of the questionnaire you want to export as PDF. | Yes |
PARTICIPANT_ID |
The id of participant whose signature you want to export. | Yes |
QUESTION_ID |
The id of question that holds the signature you want to export. | Yes |
LANGUAGE |
Language code the report should be exported in, ie. de , en . |
Optional |
FILENAME |
Name of the file to be exported. | Optional |
NAME |
Name of the creator of the report. (Filled out with correct value by default, this parameter is for overwriting it) | Optional |