PUT api/v1/hostel_RoomCategory/{roomCategoryId}/roomCategoryId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roomCategoryId

integer

Required

Body Parameters

Hostel_RoomCategoryVM
NameDescriptionTypeAdditional information
roomCategoryId

integer

None.

chartOfAccountId

integer

None.

fee

decimal number

None.

academicSessionId

integer

None.

numberOfSemester

integer

None.

tenantId

integer

None.

dateCreated

date

None.

academicSessionName

string

None.

roomCategoryName

string

None.

numberOfSemesterName

string

None.

faciliites

string

None.

numberOfBeds

integer

None.

chartOfAccountName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "roomCategoryId": 1,
  "chartOfAccountId": 1,
  "fee": 1.0,
  "academicSessionId": 1,
  "numberOfSemester": 1,
  "tenantId": 1,
  "dateCreated": "2024-11-24T08:35:03.2576309-08:00",
  "academicSessionName": "sample string 2",
  "roomCategoryName": "sample string 3",
  "numberOfSemesterName": "sample string 4",
  "faciliites": "sample string 5",
  "numberOfBeds": 1,
  "chartOfAccountName": "sample string 6"
}

application/xml, text/xml

Sample:
<Hostel_RoomCategoryVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <academicSessionId>1</academicSessionId>
  <academicSessionName>sample string 2</academicSessionName>
  <chartOfAccountId>1</chartOfAccountId>
  <chartOfAccountName>sample string 6</chartOfAccountName>
  <dateCreated>2024-11-24T08:35:03.2576309-08:00</dateCreated>
  <faciliites>sample string 5</faciliites>
  <fee>1</fee>
  <numberOfBeds>1</numberOfBeds>
  <numberOfSemester>1</numberOfSemester>
  <numberOfSemesterName>sample string 4</numberOfSemesterName>
  <roomCategoryId>1</roomCategoryId>
  <roomCategoryName>sample string 3</roomCategoryName>
  <tenantId>1</tenantId>
</Hostel_RoomCategoryVM>

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.