PUT api/v1/MockRoom/UpdateARoomInAHotel

Request Information

URI Parameters

None.

Body Parameters

MockRoom
NameDescriptionTypeAdditional information
Id

integer

None.

HotelId

integer

None.

Active

boolean

None.

Name

string

None.

Thumb

string

None.

Refundable

boolean

None.

Numb_available_rooms

integer

None.

Beds

string

None.

Price

decimal number

None.

Room_info

string

None.

_SysNumber

integer

None.

IsCheckedIn

boolean

None.

_CreationDate

date

None.

_UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "HotelId": 2,
  "Active": true,
  "Name": "sample string 4",
  "Thumb": "sample string 5",
  "Refundable": true,
  "Numb_available_rooms": 7,
  "Beds": "sample string 8",
  "Price": 9.1,
  "Room_info": "sample string 10",
  "_SysNumber": 11,
  "IsCheckedIn": true,
  "_CreationDate": "2025-12-06T17:39:48.2884298+00:00",
  "_UpdatedDate": "2025-12-06T17:39:48.2884298+00:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.