POST Api/Student/PostHomeworkAnswer
Request Information
URI Parameters
None.
Body Parameters
PostHomeworkAnswerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CodedAnswerID | globally unique identifier |
None. |
|
| CodedSessionID | globally unique identifier |
None. |
|
| AnswerText | string |
None. |
|
| AnswerFiles | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CodedAnswerID": "8f1d2747-5a10-4e30-b28b-c2c58fe9dd46",
"CodedSessionID": "097d7688-ed59-47b1-95f8-078781da1bfe",
"AnswerText": "sample string 3",
"AnswerFiles": "sample string 4"
}
application/xml, text/xml
Sample:
<PostHomeworkAnswerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.NovinSchool.com.Models.Parameters"> <AnswerFiles>sample string 4</AnswerFiles> <AnswerText>sample string 3</AnswerText> <CodedAnswerID>8f1d2747-5a10-4e30-b28b-c2c58fe9dd46</CodedAnswerID> <CodedSessionID>097d7688-ed59-47b1-95f8-078781da1bfe</CodedSessionID> </PostHomeworkAnswerModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.NovinSchool.com.Models.Response"> <Message>sample string 2</Message> <Success>true</Success> </BaseResponseModel>