GET api/CryptoLearn/v1/GetExamQuestions?examSubjectId={examSubjectId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| examSubjectId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
QuestionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| subject | string |
None. |
|
| question | string |
None. |
|
| options | Collection of OptionsDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"subject": "sample string 1",
"question": "sample string 2",
"options": [
{
"$id": "2",
"option": "sample string 1",
"rightAnswer": true
},
{
"$ref": "2"
}
]
}