POST api/BGSJ/saveAnswer
Request Information
URI Parameters
None.
Body Parameters
pSaveAnswers| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | string |
None. |
|
| quesId | string |
None. |
|
| selectedAns | integer |
None. |
|
| correctAns | integer |
None. |
|
| totalQuestions | integer |
None. |
|
| totalCorrects | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"quesId": "sample string 2",
"selectedAns": 3,
"correctAns": 4,
"totalQuestions": 5,
"totalCorrects": 6
}
text/xml
Sample:
<pSaveAnswers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BGSJ.Controllers"> <correctAns>4</correctAns> <quesId>sample string 2</quesId> <selectedAns>3</selectedAns> <totalCorrects>6</totalCorrects> <totalQuestions>5</totalQuestions> <userId>sample string 1</userId> </pSaveAnswers>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.