POST api/Schexam/Processsanswer
Request Information
URI Parameters
None.
Body Parameters
SchExamStudentAnswerName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
HeaderId | integer |
Required |
|
QuestionId | integer |
Required |
|
AnswerId | integer |
Required |
|
TimeSpent | integer |
Required |
|
username | string |
Required |
|
accesskey | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "HeaderId": 2, "QuestionId": 3, "AnswerId": 4, "TimeSpent": 5, "username": "sample string 6", "accesskey": "sample string 7" }
text/html
Sample:
{"Id":1,"HeaderId":2,"QuestionId":3,"AnswerId":4,"TimeSpent":5,"username":"sample string 6","accesskey":"sample string 7"}
application/xml, text/xml
Sample:
<SchExamStudentAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolDockAPI.Models"> <AnswerId>4</AnswerId> <HeaderId>2</HeaderId> <Id>1</Id> <QuestionId>3</QuestionId> <TimeSpent>5</TimeSpent> <accesskey>sample string 7</accesskey> <username>sample string 6</username> </SchExamStudentAnswer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.