POST api/MockTest/EndMockTest?MockTestFK={MockTestFK}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MockTestFK | integer |
Required |
Body Parameters
Collection of vmMockTestAnswerDetailsName | Description | Type | Additional information |
---|---|---|---|
QuestionFK | integer |
None. |
|
Answer | string |
None. |
|
WordCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "QuestionFK": 1, "Answer": "sample string 2", "WordCount": 3 }, { "QuestionFK": 1, "Answer": "sample string 2", "WordCount": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfvmMockTestAnswerDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.ViewModel"> <vmMockTestAnswerDetails> <Answer>sample string 2</Answer> <QuestionFK>1</QuestionFK> <WordCount>3</WordCount> </vmMockTestAnswerDetails> <vmMockTestAnswerDetails> <Answer>sample string 2</Answer> <QuestionFK>1</QuestionFK> <WordCount>3</WordCount> </vmMockTestAnswerDetails> </ArrayOfvmMockTestAnswerDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.