POST api/v1/hostel_BlockBuilding
Request Information
URI Parameters
None.
Body Parameters
Hostel_BlockBuildingVMName | 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": "2024-11-24T08:30:04.81744-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>2024-11-24T08:30:04.81744-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:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.