home api list

Hexostore API Documentation

surveyanswer

/api/surveyanswer/

List methods: post, get

Detail methods: options, post, get

Allow to get or post an answer to a specific question in a survey.
Ideally the answers are submitted in a single batch using the api surveyanswers or csvsurveyanswers instead of this one.
For more information on what is a survey, check the study section here

Fields

id: IntegerField

This field is readonly.

question_url: RelatedUrlField

A reference to the resource. Maybe specified by URI or ID

This field is readonly.

value: JSONField

Actual answer value.

This field will default to: '' (empty string)

type: ChoiceField

group | display | boolean | decimal | integer | date | dateTime +

This field may be blank

Choices : [(0, 'boolean'), (1, 'decimal'), (2, 'integer'), (3, 'date'), (4, 'dateTime'), (5, 'string'), (6, 'choice'), (7, 'time'), (8, 'group')]

This field will default to: '' (empty string)

question: PrimaryKeyRelatedField

This field will default to: '' (empty string)

Filtering Options

No filtering supported

Sorting Options

No sorting supported

© 2024 by CarrĂ© Technologies Inc.