Questionnaires

Confirm an upload: checks it is a real PDF within the size cap, extracts its text, and stores it as the handout's next version ("Replace PDF" is the same call again).

Changed on
post/Questionnaires/{id}/handout/versions

Request

Path parameters

idstring required

Request body

uploadIdstring required
fileNamestring required
notesstring nullable

Response

Created

contentModeinteger

Where a handout's content comes from (ITE-1473). Stored as text in questionnaires.handout_content_mode; null on every non-handout questionnaire.

fileNamestring nullable
contentTypestring nullable
sha256string nullable
hasExtractedTextboolean

False for an image-only (scanned) PDF that yielded no text: search, the Knowledge Base and "Convert to editable" will have nothing to work with. Always false for an authored version.

notesstring nullable
createdBystring nullable
createdByNamestring nullable
createdAtstring date-time
isCurrentboolean

Changes