PublicQuestionnaires

Submit topic survey answers as a guest

Changed on

One-shot submission — all answers at once. The optional Guest-Session-Id header and package_id / package_code only drive attribution; a missing or malformed value is ignored. An identical submission repeated by the same guest session within 60 seconds returns the existing result instead of creating a new one.

post/v3/public/questionnaires/surveys/{uuid}/submit

Request

  • Base URL
    https://api.healthnation.co/api
  • Auth
    none declared

Path parameters

uuidstring required

Survey UUID

Request body

definition_versioninteger required

Version of the answered definition

package_idinteger

Package resolved from the web domain (attribution only)

package_codestring

Package code from the ?package= link (attribution only)

Response

Submit topic survey answers as a guest

modelstring required

Entity model name

completed_atstring date-time required

Completion time of the submission

percentagenumber float required

Average of the category percentages of the submission (0-100)

results_descriptionstring required

Survey result description for the achieved percentage, HTML from the editor (translated, empty when no threshold matches)

uuidstring required

Submission UUID (bearer link to the result)

claimedboolean required

Whether the submission belongs to an account

Changes