POST Api/HostelDashboard/getRecentAllocations
Request Information
URI Parameters
None.
Body Parameters
HostelDashboardSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| totalHostels | integer |
None. |
|
| totalBuildings | integer |
None. |
|
| totalBlocks | integer |
None. |
|
| totalCapacity | integer |
None. |
|
| occupiedBeds | integer |
None. |
|
| vacantBeds | integer |
None. |
|
| blockedBeds | integer |
None. |
|
| pendingOutpassCount | integer |
None. |
|
| pendingClearanceCount | integer |
None. |
|
| targetDate | string |
None. |
|
| hostelId | integer |
None. |
|
| buildingId | integer |
None. |
|
| genderType | string |
None. |
|
| roleName | string |
None. |
|
| role | string |
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:
{
"totalHostels": 1,
"totalBuildings": 2,
"totalBlocks": 3,
"totalCapacity": 4,
"occupiedBeds": 5,
"vacantBeds": 6,
"blockedBeds": 7,
"pendingOutpassCount": 8,
"pendingClearanceCount": 9,
"targetDate": "sample string 10",
"hostelId": 11,
"buildingId": 12,
"genderType": "sample string 13",
"roleName": "sample string 14",
"role": "sample string 15",
"opCode": 16,
"isException": true,
"exceptionMessage": "sample string 18",
"ds": null,
"id": "sample string 19",
"strId": "sample string 20",
"userId": 21,
"status": 22,
"message": "sample string 23",
"pageSize": "sample string 24",
"pageIndex": "sample string 25",
"responseValue": {}
}
application/xml, text/xml
Sample:
<HostelDashboardSummary 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 25</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 24</PageSize>
<exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 18</exceptionMessage>
<id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 19</id>
<isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
<message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 23</message>
<opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">16</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">22</status>
<strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 20</strId>
<userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">21</userId>
<blockedBeds>7</blockedBeds>
<buildingId>12</buildingId>
<genderType>sample string 13</genderType>
<hostelId>11</hostelId>
<occupiedBeds>5</occupiedBeds>
<pendingClearanceCount>9</pendingClearanceCount>
<pendingOutpassCount>8</pendingOutpassCount>
<role>sample string 15</role>
<roleName>sample string 14</roleName>
<targetDate>sample string 10</targetDate>
<totalBlocks>3</totalBlocks>
<totalBuildings>2</totalBuildings>
<totalCapacity>4</totalCapacity>
<totalHostels>1</totalHostels>
<vacantBeds>6</vacantBeds>
</HostelDashboardSummary>
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. |