Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Serializer for creating/submitting an answer to a RequestToClient.
The required fields depend on the RequestToClient's allowed_answer_types:
- yes-no: text must be "yes" or "no"
- yes-no-dontknow: text must be "yes", "no", or "dontknow"
- fileupload: files are required, text is optional comment
- yes-no-freetext-on-no: text must be "yes" or "no", additional_comment required if "no"
- yes-with-date-no-freetext-on-no: text must be date (if yes) or "no", additional_comment if "no"
- freetext: text is required
The answer text. Required for most answer types. For yes-no types, use "yes", "no", or "dontknow".
5000Additional comment. Required for "no" answers in yes-no-freetext-on-no type.
5000Response
Main serializer for RequestToClient in the Public API. Provides full detail view for GET requests.
Minimal mandate info for RequestToClient responses.
None- ---------yes-no- Ja/Neinyes-no-dontknow- Ja/Nein/Weiß nichtfileupload- Freitext + Dateiuploadyes-no-freetext-on-no- Ja/Nein + Freitext bei Neinyes-with-date-no-freetext-on-no- Ja + Datum / Nein + Freitextdynamic-form- Dynamisches Formular
yes-no, yes-no-dontknow, fileupload, yes-no-freetext-on-no, yes-with-date-no-freetext-on-no, dynamic-form Read-only serializer for displaying answers. Shows text, additional comment, and uploaded files.
