PATCH api/bkd/bookings_rooms/{str_code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| str_code | string |
Required |
Body Parameters
PatchBookingRoom| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| id_room | integer |
None. |
|
| id_room_conf | integer |
None. |
|
| room_name | string |
None. |
|
| date_from | string |
None. |
|
| date_to | string |
None. |
|
| allow_checkin_change | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"id_room": 1,
"id_room_conf": 1,
"room_name": "sample string 1",
"date_from": "sample string 2",
"date_to": "sample string 3",
"allow_checkin_change": true
}
application/xml, text/xml
Sample:
<PatchBookingRoom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdaWebApi.Areas.Booking.Model"> <allow_checkin_change>true</allow_checkin_change> <date_from>sample string 2</date_from> <date_to>sample string 3</date_to> <id>1</id> <id_room>1</id_room> <id_room_conf>1</id_room_conf> <room_name>sample string 1</room_name> </PatchBookingRoom>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PatchBookingRoom| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| id_room | integer |
None. |
|
| id_room_conf | integer |
None. |
|
| room_name | string |
None. |
|
| date_from | string |
None. |
|
| date_to | string |
None. |
|
| allow_checkin_change | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"id_room": 1,
"id_room_conf": 1,
"room_name": "sample string 1",
"date_from": "sample string 2",
"date_to": "sample string 3",
"allow_checkin_change": true
}
application/xml, text/xml
Sample:
<PatchBookingRoom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdaWebApi.Areas.Booking.Model"> <allow_checkin_change>true</allow_checkin_change> <date_from>sample string 2</date_from> <date_to>sample string 3</date_to> <id>1</id> <id_room>1</id_room> <id_room_conf>1</id_room_conf> <room_name>sample string 1</room_name> </PatchBookingRoom>