Get questions
- Command:
application_get_q
Get score/results of an assessment.
Request body parameters
- command
stringrequiredSet to "application_get_q".
- language_id
string3-character language code. Consult SMG rep for available languages for particular assessment type. If omitted, questions are returned in the language that was assigned when application was created.
- app_link
stringrequiredValue of the "app_link" query parameter. It can be extracted from the "app_link_full" field returned as part of the response to a Create application or Assessment status request
- ignore_submitted_over
booleanSet to true to suppress a "Questionnaire already complete" error and return questions even if questionnaire is complete
Response body JSON
- error_code
integerint64Error code
- error_text
stringError text
- command_from
stringThe command used to generate this response ("application_get_q")
- already_submitted
booleanTrue if assessment is already completed; when true, the remaining fields below aren't included in response
- report_name_has
booleanWhether a name is available for this assessment type
- report_name
stringName of assessment type
- language_id
string3-letter code of language in which questionnaire is being presented
- submit_link
stringURL target for submitting answers for this questionnaire
- fields
stringBar-separated field string; Preset custom fields for assessment, such as candidate's name and email
- custom_fld_list
Array of objectList of custom fields that must be submitted along with this questionnaire
Child attributes
- aname
stringName of the custom field
- caption_tr
stringTitle of the custom field, translated into the requested language
- mandatory
booleanWhether a value for this field must be submitted for this assessment; not submitting a value will generate a 1716 error
- partner
booleanWhether the field must be filled in by partner when issuing the invitation with a Create application request
- applicant
integerIf "1", the field must be submitted along with the candidate's answers in a Submit answers request
- hidden
booleanFor "applicant" fields: whether the field is typically hidden from candidates when they complete the questionnaire; i.e. it should be pre-filled by the system presenting the questionnaire instead of presented to candidate to fill in themselves
- value
stringAny existing value assigned to the field when questionnaire was created
- qgroup_list
Array of objectArray of groups of questions in the questionnaire
Child attributes
- qgroup_id
stringID of the question group/p>
- aname
stringInternal name of question group
- caption_tr
booleanTitle and instructions, translated into specified language
- group_item_list
Array of objectList of common multiple-choice answers for questions in group
Child attributes
- item_no
integerint64Choice number
- avalue
integerint64Score for choice
- caption_tr
stringLabel for choice, translated into requested language
- question_list
Array of objectQuestions in section
Child attributes
- question_id
stringID of question
- question_type_id
stringValue representing the type of question (i.e. multiple-choice, text, etc.)
- caption_tr
stringQuestion text, translated into requested language
- question_item_list
stringArray of objectAnswer choices specific to this question, if not using group items
Child attributes
- item_no
integerint64Choice number
- avalue
integerint64Score for choice
- caption_tr
stringLabel for choice, translated into requested language
- translations
Array of objectUtility text for questionnaire
Child attributes
- a
stringName of text item
- v
stringInternal ID of text item
- t
stringText item, translated into requested language
- rep_config
stringBar-separated field string; Custom presentation information for client, such as a custom logo