POST api/Admin/SaveOptions
Request Information
URI Parameters
None.
Body Parameters
QuestionOptions| Name | Description | Type | Additional information |
|---|---|---|---|
| OptionId | integer |
None. |
|
| QuestionId | integer |
None. |
|
| OptionName | string |
None. |
|
| OptionNameInHindi | string |
None. |
|
| IsCorrect | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CorrectSummary | string |
None. |
|
| CorrectSummaryInHindi | string |
None. |
|
| OptionEImagePath | string |
None. |
|
| OptionHImagePath | string |
None. |
|
| CorrectSummaryEImagePath | string |
None. |
|
| CorrectSummaryHImagePath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OptionId": 1,
"QuestionId": 2,
"OptionName": "sample string 3",
"OptionNameInHindi": "sample string 4",
"IsCorrect": true,
"CreatedBy": 6,
"CorrectSummary": "sample string 7",
"CorrectSummaryInHindi": "sample string 8",
"OptionEImagePath": "sample string 9",
"OptionHImagePath": "sample string 10",
"CorrectSummaryEImagePath": "sample string 11",
"CorrectSummaryHImagePath": "sample string 12"
}
application/xml, text/xml
Sample:
<QuestionOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TestSeriesServices.Models"> <CorrectSummary>sample string 7</CorrectSummary> <CorrectSummaryEImagePath>sample string 11</CorrectSummaryEImagePath> <CorrectSummaryHImagePath>sample string 12</CorrectSummaryHImagePath> <CorrectSummaryInHindi>sample string 8</CorrectSummaryInHindi> <CreatedBy>6</CreatedBy> <IsCorrect>true</IsCorrect> <OptionEImagePath>sample string 9</OptionEImagePath> <OptionHImagePath>sample string 10</OptionHImagePath> <OptionId>1</OptionId> <OptionName>sample string 3</OptionName> <OptionNameInHindi>sample string 4</OptionNameInHindi> <QuestionId>2</QuestionId> </QuestionOptions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.