POST api/CryptoLearn/Demo/GetTestSubjects

Request Information

URI Parameters

None.

Body Parameters

GetSubjecforTestExamtDTO
NameDescriptionTypeAdditional information
Token

string

Required

RefreshToken

string

Required

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "RefreshToken": "sample string 2",
  "Language": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TestSubjectListDTO
NameDescriptionTypeAdditional information
myTotalProgress

integer

None.

totalTest

integer

None.

totalPassedTest

integer

None.

testSubjectList

Collection of TestSubjectDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "myTotalProgress": 1,
  "totalTest": 2,
  "totalPassedTest": 3,
  "testSubjectList": [
    {
      "$id": "2",
      "subjectId": 1,
      "subjectName": "sample string 2",
      "IsCompleted": true,
      "totalQuestion": 4,
      "correctAnswer": 5,
      "correctAnswerPercentage": 6.1
    },
    {
      "$ref": "2"
    }
  ]
}