POST api/v1/hostel_Room

Request Information

URI Parameters

None.

Body Parameters

Hostel_RoomVM
NameDescriptionTypeAdditional 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": "2024-11-24T09:49:58.6695805-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>2024-11-24T09:49:58.6695805-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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.