Get questions
- Command:
application_get_q
Get score/results of an assessment.
Request body parameters
- command
string
required
Set to "application_get_q".
- language_id
string
3-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
string
required
Value 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
boolean
Set to true to suppress a "Questionnaire already complete" error and return questions even if questionnaire is complete
Response body JSON
- error_code
integer
int64
Error code
- error_text
string
Error text
- command_from
string
The command used to generate this response ("application_get_q")
- already_submitted
boolean
True if assessment is already completed; when true, the remaining fields below aren't included in response
- report_name_has
boolean
Whether a name is available for this assessment type
- report_name
string
Name of assessment type
- language_id
string
3-letter code of language in which questionnaire is being presented
- submit_link
string
URL target for submitting answers for this questionnaire
- fields
string
Bar-separated field string; Preset custom fields for assessment, such as candidate's name and email
- custom_fld_list
Array of object
List of custom fields that must be submitted along with this questionnaire
Child attributes
- aname
string
Name of the custom field
- caption_tr
string
Title of the custom field, translated into the requested language
- mandatory
boolean
Whether a value for this field must be submitted for this assessment; not submitting a value will generate a 1716 error
- partner
boolean
Whether the field must be filled in by partner when issuing the invitation with a Create application request
- applicant
integer
If "1", the field must be submitted along with the candidate's answers in a Submit answers request
- hidden
boolean
For "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
string
Any existing value assigned to the field when questionnaire was created
- qgroup_list
Array of object
Array of groups of questions in the questionnaire
Child attributes
- qgroup_id
string
ID of the question group/p>
- aname
string
Internal name of question group
- caption_tr
boolean
Title and instructions, translated into specified language
- group_item_list
Array of object
List of common multiple-choice answers for questions in group
Child attributes
- item_no
integer
int64
Choice number
- avalue
integer
int64
Score for choice
- caption_tr
string
Label for choice, translated into requested language
- question_list
Array of object
Questions in section
Child attributes
- question_id
string
ID of question
- question_type_id
string
Value representing the type of question (i.e. multiple-choice, text, etc.)
- caption_tr
string
Question text, translated into requested language
- question_item_list
string
Array of object
Answer choices specific to this question, if not using group items
Child attributes
- item_no
integer
int64
Choice number
- avalue
integer
int64
Score for choice
- caption_tr
string
Label for choice, translated into requested language
- translations
Array of object
Utility text for questionnaire
Child attributes
- a
string
Name of text item
- v
string
Internal ID of text item
- t
string
Text item, translated into requested language
- rep_config
string
Bar-separated field string; Custom presentation information for client, such as a custom logo