POST api/v1/hostel_BedAllotment
Request Information
URI Parameters
None.
Body Parameters
Hostel_BedAllotmentVM| Name | Description | Type | Additional information |
|---|---|---|---|
| bedAllotmentId | integer |
None. |
|
| studentId | integer |
None. |
|
| blockBuildingId | integer |
None. |
|
| roomId | integer |
None. |
|
| bedId | integer |
None. |
|
| academicSessionId | integer |
None. |
|
| dateAllotted | date |
None. |
|
| tenantId | integer |
None. |
|
| dateCreated | date |
None. |
|
| studentName | string |
None. |
|
| statusName | string |
None. |
|
| blockBuildingName | string |
None. |
|
| roomName | string |
None. |
|
| bedName | string |
None. |
|
| academicSessionName | string |
None. |
|
| roomCategoryId | integer |
None. |
|
| currencySymbol | string |
None. |
|
| roomCategoryName | string |
None. |
|
| fee | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"bedAllotmentId": 1,
"studentId": 1,
"blockBuildingId": 1,
"roomId": 1,
"bedId": 1,
"academicSessionId": 1,
"dateAllotted": "2025-11-03T12:08:45.9591532-08:00",
"tenantId": 1,
"dateCreated": "2025-11-03T12:08:45.9591532-08:00",
"studentName": "sample string 2",
"statusName": "sample string 3",
"blockBuildingName": "sample string 4",
"roomName": "sample string 5",
"bedName": "sample string 6",
"academicSessionName": "sample string 7",
"roomCategoryId": 1,
"currencySymbol": "sample string 8",
"roomCategoryName": "sample string 9",
"fee": 1.0
}
application/xml, text/xml
Sample:
<Hostel_BedAllotmentVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <academicSessionId>1</academicSessionId> <academicSessionName>sample string 7</academicSessionName> <bedAllotmentId>1</bedAllotmentId> <bedId>1</bedId> <bedName>sample string 6</bedName> <blockBuildingId>1</blockBuildingId> <blockBuildingName>sample string 4</blockBuildingName> <currencySymbol>sample string 8</currencySymbol> <dateAllotted>2025-11-03T12:08:45.9591532-08:00</dateAllotted> <dateCreated>2025-11-03T12:08:45.9591532-08:00</dateCreated> <fee>1</fee> <roomCategoryId>1</roomCategoryId> <roomCategoryName>sample string 9</roomCategoryName> <roomId>1</roomId> <roomName>sample string 5</roomName> <statusName>sample string 3</statusName> <studentId>1</studentId> <studentName>sample string 2</studentName> <tenantId>1</tenantId> </Hostel_BedAllotmentVM>
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.