POST api/CryptoLearn/v2/GetTest
Request Information
URI Parameters
None.
Body Parameters
GetTestListDTOWithoutAuth| Name | Description | Type | Additional information |
|---|---|---|---|
| subjectId | integer |
Required |
|
| lang | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"subjectId": 1,
"lang": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TestListDTOv2| Name | Description | Type | Additional information |
|---|---|---|---|
| totalTest | integer |
None. |
|
| testList | Collection of TestDTOv2 |
None. |
Response Formats
application/json, text/json
Sample:
{
"totalTest": 1,
"testList": [
{
"$id": "2",
"testId": 1,
"testName": "sample string 2",
"totalQuestion": 3
},
{
"$ref": "2"
}
]
}