POST api/CryptoLearn/v1/GetExams
Request Information
URI Parameters
None.
Body Parameters
GetExamsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| RefreshToken | string |
Required |
|
| subjectId | integer |
Required |
|
| lang | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"RefreshToken": "sample string 2",
"subjectId": 3,
"lang": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ExamResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| myTotalProgress | integer |
None. |
|
| totalExam | integer |
None. |
|
| totalPassedExam | integer |
None. |
|
| examSubjectList | Collection of ExamDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"myTotalProgress": 1,
"totalExam": 2,
"totalPassedExam": 3,
"examSubjectList": [
{
"$id": "2",
"examId": 1,
"examName": "sample string 2",
"IsCompleted": true,
"totalQuestion": 4,
"correctAnswer": 5,
"correctAnswerPercentage": 6.1
},
{
"$ref": "2"
}
]
}