Docs home

Get Test Question List

Returns a question bank as it is attached to a test part, with the questions that were picked individually for that part (including their correct answers).

GET/testquestionlist/questions
Get Test Question List
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/testquestionlist/questions?test_question_list_id=497' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>'
{
  "code": 200,
  "message": "Success",
  "question_list": {
    "details": {
      "test_question_list_id": 497,
      "test_part_id": 919,
      "num_questions": -1,
      "randomize": 0,
      "question_list_id": 200,
      "question_list_name": "Feb-Qb",
      "total_questions": 1,
      "question_ids": null
    },
    "questions": []
  }
}

Access: Any signed-in member of the organization; the bank must be one you created or one shared with your organization.

Query parameters
test_question_list_idintegerrequired
The bank-to-part link returned as test_question_list_id by "Attach Existing Question Bank".
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
Show child attributesHide child attributes
Show child attributesHide child attributes
-1 = all questions in the bank
Example: -1
Comma-separated, or null when no questions were picked individually

Notes: Error "Invalid Exercise ID" when the link doesn't exist or the bank isn't accessible to you. Rate limit: 30 requests per minute; going over locks you out for 30 minutes.

Updated yesterday

Ask AI