PUT api/v1/hostel_BlockBuilding/{blockBuildingId}/blockBuildingId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| blockBuildingId | integer |
Required |
Body Parameters
Hostel_BlockBuildingVM| Name | Description | Type | Additional information |
|---|---|---|---|
| blockBuildingId | integer |
None. |
|
| blockName | string |
None. |
|
| code | string |
None. |
|
| roomCapacity | integer |
None. |
|
| address | string |
None. |
|
| matronId | integer |
None. |
|
| tenantId | integer |
None. |
|
| dateCreated | date |
None. |
|
| matronName | string |
None. |
|
| numberOfRooms | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"blockBuildingId": 1,
"blockName": "sample string 2",
"code": "sample string 3",
"roomCapacity": 1,
"address": "sample string 4",
"matronId": 1,
"tenantId": 1,
"dateCreated": "2025-11-07T03:49:54.9060683-08:00",
"matronName": "sample string 5",
"numberOfRooms": 6
}
application/xml, text/xml
Sample:
<Hostel_BlockBuildingVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <address>sample string 4</address> <blockBuildingId>1</blockBuildingId> <blockName>sample string 2</blockName> <code>sample string 3</code> <dateCreated>2025-11-07T03:49:54.9060683-08:00</dateCreated> <matronId>1</matronId> <matronName>sample string 5</matronName> <numberOfRooms>6</numberOfRooms> <roomCapacity>1</roomCapacity> <tenantId>1</tenantId> </Hostel_BlockBuildingVM>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.