POST Api/Dashboard/GetQuestionBankSummary
Request Information
URI Parameters
None.
Body Parameters
QuestionBankSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| SubjectId | integer |
None. |
|
| SummaryList | Collection of QuestionBankItem |
None. |
|
| opCode | integer |
None. |
|
| isException | boolean |
None. |
|
| exceptionMessage | string |
None. |
|
| DS | DataSet |
None. |
|
| id | string |
None. |
|
| strId | string |
None. |
|
| userId | integer |
None. |
|
| status | integer |
None. |
|
| message | string |
None. |
|
| PageSize | string |
None. |
|
| PageIndex | string |
None. |
|
| responseValue | DataSet |
None. |
Request Formats
application/json, text/json
Sample:
{
"subjectId": 1,
"summaryList": [
{
"subjectId": 1,
"subjectName": "sample string 2",
"totalQuestions": 3,
"easyQuestions": 4,
"mediumQuestions": 5,
"hardQuestions": 6,
"mcqCount": 7,
"multiSelectCount": 8,
"avgMarksPerQuestion": 9.0
},
{
"subjectId": 1,
"subjectName": "sample string 2",
"totalQuestions": 3,
"easyQuestions": 4,
"mediumQuestions": 5,
"hardQuestions": 6,
"mcqCount": 7,
"multiSelectCount": 8,
"avgMarksPerQuestion": 9.0
}
],
"opCode": 1,
"isException": true,
"exceptionMessage": "sample string 3",
"ds": null,
"id": "sample string 4",
"strId": "sample string 5",
"userId": 6,
"status": 7,
"message": "sample string 8",
"pageSize": "sample string 9",
"pageIndex": "sample string 10",
"responseValue": {}
}
application/xml, text/xml
Sample:
<QuestionBankSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSWebAPI.Models">
<DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 10</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 9</PageSize>
<exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 3</exceptionMessage>
<id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 4</id>
<isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
<message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 8</message>
<opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">1</opCode>
<responseValue xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">
<xs:schema id="sample_x0020_string_x0020_3" targetNamespace="sample string 4" xmlns:mstns="sample string 4" xmlns="sample string 4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="sample_x0020_string_x0020_3" msdata:IsDataSet="true" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded" />
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
</responseValue>
<status xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">7</status>
<strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 5</strId>
<userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">6</userId>
<SubjectId>1</SubjectId>
<SummaryList>
<QuestionBankItem>
<AvgMarksPerQuestion>9</AvgMarksPerQuestion>
<EasyQuestions>4</EasyQuestions>
<HardQuestions>6</HardQuestions>
<MCQCount>7</MCQCount>
<MediumQuestions>5</MediumQuestions>
<MultiSelectCount>8</MultiSelectCount>
<SubjectId>1</SubjectId>
<SubjectName>sample string 2</SubjectName>
<TotalQuestions>3</TotalQuestions>
</QuestionBankItem>
<QuestionBankItem>
<AvgMarksPerQuestion>9</AvgMarksPerQuestion>
<EasyQuestions>4</EasyQuestions>
<HardQuestions>6</HardQuestions>
<MCQCount>7</MCQCount>
<MediumQuestions>5</MediumQuestions>
<MultiSelectCount>8</MultiSelectCount>
<SubjectId>1</SubjectId>
<SubjectName>sample string 2</SubjectName>
<TotalQuestions>3</TotalQuestions>
</QuestionBankItem>
</SummaryList>
</QuestionBankSummary>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |