POST Api/Courses/Exams/Try/Start
Request Information
URI Parameters
None.
Body Parameters
ExamTryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| idExam | integer |
None. |
|
| idExamTry | integer |
None. |
|
| Questions | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"idExam": 1,
"idExamTry": 2,
"Questions": [
1,
2
]
}
application/xml, text/xml
Sample:
<ExamTryRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<idExam>1</idExam>
<idExamTry>2</idExamTry>
<Questions>
<int>1</int>
<int>2</int>
</Questions>
</ExamTryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StartExamResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| error | string |
None. |
|
| idExamTry | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"error": "sample string 2",
"idExamTry": 3
}
application/xml, text/xml
Sample:
<StartExamResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <success>true</success> <error>sample string 2</error> <idExamTry>3</idExamTry> </StartExamResponse>