GET api/CryptoLearn/v2/GetTestQuestions?testId={testId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
testId

integer

Required

Body Parameters

None.

Response Information

Resource Description

QuestionV2DTO
NameDescriptionTypeAdditional information
name

string

None.

question

string

None.

options

Collection of OptionsDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "question": "sample string 2",
  "options": [
    {
      "$id": "2",
      "option": "sample string 1",
      "rightAnswer": true
    },
    {
      "$ref": "2"
    }
  ]
}