POST Api/Dashboard/GetCategoryWiseResults
Request Information
URI Parameters
None.
Body Parameters
CategoryWiseResults| Name | Description | Type | Additional information |
|---|---|---|---|
| ExamId | integer |
None. |
|
| ResultList | Collection of CategoryResultItem |
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:
{
"examId": 1,
"resultList": [
{
"category": "sample string 1",
"totalCandidates": 2,
"passed": 3,
"failed": 4,
"avgScore": 5.0,
"highestScore": 6.0,
"lowestScore": 7.0,
"passPercentage": 8.0
},
{
"category": "sample string 1",
"totalCandidates": 2,
"passed": 3,
"failed": 4,
"avgScore": 5.0,
"highestScore": 6.0,
"lowestScore": 7.0,
"passPercentage": 8.0
}
],
"opCode": 2,
"isException": true,
"exceptionMessage": "sample string 4",
"ds": null,
"id": "sample string 5",
"strId": "sample string 6",
"userId": 7,
"status": 8,
"message": "sample string 9",
"pageSize": "sample string 10",
"pageIndex": "sample string 11",
"responseValue": {}
}
application/xml, text/xml
Sample:
<CategoryWiseResults 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 11</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 10</PageSize>
<exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 4</exceptionMessage>
<id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 5</id>
<isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
<message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 9</message>
<opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">2</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">8</status>
<strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 6</strId>
<userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">7</userId>
<ExamId>1</ExamId>
<ResultList>
<CategoryResultItem>
<AvgScore>5</AvgScore>
<Category>sample string 1</Category>
<Failed>4</Failed>
<HighestScore>6</HighestScore>
<LowestScore>7</LowestScore>
<PassPercentage>8</PassPercentage>
<Passed>3</Passed>
<TotalCandidates>2</TotalCandidates>
</CategoryResultItem>
<CategoryResultItem>
<AvgScore>5</AvgScore>
<Category>sample string 1</Category>
<Failed>4</Failed>
<HighestScore>6</HighestScore>
<LowestScore>7</LowestScore>
<PassPercentage>8</PassPercentage>
<Passed>3</Passed>
<TotalCandidates>2</TotalCandidates>
</CategoryResultItem>
</ResultList>
</CategoryWiseResults>
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. |