Skip to main content

V1AssessmentQuestionAnswer

question object

Question information

idstring

Question ID

Example: 74fad70b-679a-46cc-9e98-ec8aca9b44f8
contentstring

Question content/text

Example: Q2.2.1
indexinteger

Answer index

Example: 1
textstringnullable

Text answer

Example: Some answer text
numbernumbernullable

Numeric answer

Example: 42
value object

Value answer (we plan to migrate to this field in future). Currently only some question types using it.

oneOf
string
tableValuesobject[]

Table answer values for questions with table response type

choices object[]

Selected choice(s)

  • Array [
  • idstring

    Choice ID

    Example: 67e04318-e69c-4224-84f3-aff1d4089b80
    contentstring

    Choice content

    Example: 3
    textstringnullable

    Sub answer "paragraph" for the choice (if applicable)

    Example: test
    files object[]

    Sub answer "files" for the choice (if applicable)

  • Array [
  • signedUrlstring

    Signed URL to upload the file content

  • ]
  • ]
  • filesobject[]

    Uploaded files

    V1AssessmentQuestionAnswer
    {
    "question": {
    "id": "74fad70b-679a-46cc-9e98-ec8aca9b44f8",
    "content": "Q2.2.1"
    },
    "index": 1,
    "text": "Some answer text",
    "number": 42,
    "value": "string",
    "tableValues": [
    {}
    ],
    "choices": [
    {
    "id": "67e04318-e69c-4224-84f3-aff1d4089b80",
    "content": "3",
    "text": "test",
    "files": [
    {
    "signedUrl": "string"
    }
    ]
    }
    ],
    "files": [
    {}
    ]
    }