PUT api/v1/hostel_Room/{roomId}/roomId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| roomId | integer |
Required |
Body Parameters
Hostel_RoomVM| Name | Description | Type | Additional information |
|---|---|---|---|
| roomId | integer |
None. |
|
| blockBuildingId | integer |
None. |
|
| roomName | string |
None. |
|
| roomCategoryId | integer |
None. |
|
| bedCapacity | integer |
None. |
|
| tenantId | integer |
None. |
|
| dateCreated | date |
None. |
|
| remark | string |
None. |
|
| isAllottable | boolean |
None. |
|
| chartOfAccountId | integer |
None. |
|
| isVatApply | boolean |
None. |
|
| roomCategoryName | string |
None. |
|
| facility | string |
None. |
|
| numberOfRoom | integer |
None. |
|
| blockBuildingName | string |
None. |
|
| numberOfBeds | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"roomId": 1,
"blockBuildingId": 1,
"roomName": "sample string 2",
"roomCategoryId": 1,
"bedCapacity": 1,
"tenantId": 1,
"dateCreated": "2025-11-03T12:08:05.8378999-08:00",
"remark": "sample string 3",
"isAllottable": true,
"chartOfAccountId": 1,
"isVatApply": true,
"roomCategoryName": "sample string 6",
"facility": "sample string 7",
"numberOfRoom": 1,
"blockBuildingName": "sample string 8",
"numberOfBeds": 9
}
application/xml, text/xml
Sample:
<Hostel_RoomVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <bedCapacity>1</bedCapacity> <blockBuildingId>1</blockBuildingId> <blockBuildingName>sample string 8</blockBuildingName> <chartOfAccountId>1</chartOfAccountId> <dateCreated>2025-11-03T12:08:05.8378999-08:00</dateCreated> <facility>sample string 7</facility> <isAllottable>true</isAllottable> <isVatApply>true</isVatApply> <numberOfBeds>9</numberOfBeds> <numberOfRoom>1</numberOfRoom> <remark>sample string 3</remark> <roomCategoryId>1</roomCategoryId> <roomCategoryName>sample string 6</roomCategoryName> <roomId>1</roomId> <roomName>sample string 2</roomName> <tenantId>1</tenantId> </Hostel_RoomVM>
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.