@nycu-sdc/core-system-sdk
    Preparing search index...

    Interface ResponsesAnswerJSON

    Request model for submitting an individual answer

    interface ResponsesAnswerJSON {
        questionId: string;
        questionType:
            | "SHORT_TEXT"
            | "LONG_TEXT"
            | "SINGLE_CHOICE"
            | "MULTIPLE_CHOICE"
            | "DROPDOWN"
            | "DETAILED_MULTIPLE_CHOICE"
            | "DATE"
            | "RANKING"
            | "HYPERLINK";
        value: string[];
    }
    Index

    Properties

    questionId: string

    The question being answered.

    questionType:
        | "SHORT_TEXT"
        | "LONG_TEXT"
        | "SINGLE_CHOICE"
        | "MULTIPLE_CHOICE"
        | "DROPDOWN"
        | "DETAILED_MULTIPLE_CHOICE"
        | "DATE"
        | "RANKING"
        | "HYPERLINK"

    The type of the question being answered.

    value: string[]

    The answer value (format depends on questionType from questionId).