GET api/CryptoLearn/v5/GetTestQuestions?testId={testId}&langs={langs}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| testId | integer |
Required |
|
| langs | string |
Required |
Body Parameters
None.
Response Information
Resource Description
QuestionV2DTO| Name | Description | Type | Additional 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"
}
]
}