PUT api/v1/hostel_Bed/{bedId}/bedId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bedId | integer |
Required |
Body Parameters
Hostel_BedVM| Name | Description | Type | Additional information |
|---|---|---|---|
| bedId | integer |
None. |
|
| blockBuildingId | integer |
None. |
|
| roomCategoryId | integer |
None. |
|
| roomId | integer |
None. |
|
| bedNumber | string |
None. |
|
| bedTypeId | integer |
None. |
|
| tenantId | integer |
None. |
|
| dateCreated | date |
None. |
|
| blockBuildingName | string |
None. |
|
| roomName | string |
None. |
|
| roomCategoryName | string |
None. |
|
| bedTypeName | string |
None. |
|
| bedName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"bedId": 1,
"blockBuildingId": 1,
"roomCategoryId": 1,
"roomId": 1,
"bedNumber": "sample string 2",
"bedTypeId": 1,
"tenantId": 1,
"dateCreated": "2025-11-03T12:06:58.6246219-08:00",
"blockBuildingName": "sample string 3",
"roomName": "sample string 4",
"roomCategoryName": "sample string 5",
"bedTypeName": "sample string 6",
"bedName": "sample string 7"
}
application/xml, text/xml
Sample:
<Hostel_BedVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <bedId>1</bedId> <bedName>sample string 7</bedName> <bedNumber>sample string 2</bedNumber> <bedTypeId>1</bedTypeId> <bedTypeName>sample string 6</bedTypeName> <blockBuildingId>1</blockBuildingId> <blockBuildingName>sample string 3</blockBuildingName> <dateCreated>2025-11-03T12:06:58.6246219-08:00</dateCreated> <roomCategoryId>1</roomCategoryId> <roomCategoryName>sample string 5</roomCategoryName> <roomId>1</roomId> <roomName>sample string 4</roomName> <tenantId>1</tenantId> </Hostel_BedVM>
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.