PUT api/GuestHouses/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
GuestHouseName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
GuestHouseCity | string |
None. |
|
CostPerRoom | decimal number |
None. |
|
RoomsCount | integer |
None. |
|
GuestHouseManagerName | string |
None. |
|
GuestHouseManagerNumber | string |
None. |
|
Address | string |
None. |
|
Description | string |
None. |
|
Bookings | Collection of Booking |
None. |
|
GuestHouseImages | Collection of GuestHouseImage |
None. |
|
Id | integer |
None. |
|
IsActive | boolean |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
CreatedById | string |
None. |
|
ModifiedById | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "GuestHouseCity": "sample string 2", "CostPerRoom": 3.1, "RoomsCount": 4, "GuestHouseManagerName": "sample string 5", "GuestHouseManagerNumber": "sample string 6", "Address": "sample string 7", "Description": "sample string 8", "Bookings": [ { "FullName": "sample string 1", "PFNo": "sample string 2", "GuestHouseCity": "sample string 3", "Circle": "sample string 4", "Email": "sample string 5", "MobileNumber": "sample string 6", "Rooms": 7, "Adults": 8, "Kids": 9, "CheckInDate": "2024-10-10T19:37:57.0476435+05:30", "CheckOutDate": "2024-10-10T19:37:57.0476435+05:30", "GuestHouseId": 1, "Id": 12, "IsActive": true, "CreatedDate": "2024-10-10T19:37:57.0476435+05:30", "ModifiedDate": "2024-10-10T19:37:57.0476435+05:30", "CreatedById": "sample string 14", "ModifiedById": "sample string 15" }, { "FullName": "sample string 1", "PFNo": "sample string 2", "GuestHouseCity": "sample string 3", "Circle": "sample string 4", "Email": "sample string 5", "MobileNumber": "sample string 6", "Rooms": 7, "Adults": 8, "Kids": 9, "CheckInDate": "2024-10-10T19:37:57.0476435+05:30", "CheckOutDate": "2024-10-10T19:37:57.0476435+05:30", "GuestHouseId": 1, "Id": 12, "IsActive": true, "CreatedDate": "2024-10-10T19:37:57.0476435+05:30", "ModifiedDate": "2024-10-10T19:37:57.0476435+05:30", "CreatedById": "sample string 14", "ModifiedById": "sample string 15" } ], "GuestHouseImages": [ { "Url": "sample string 1", "GuestHouseId": 1, "Id": 2, "IsActive": true, "CreatedDate": "2024-10-10T19:37:57.0476435+05:30", "ModifiedDate": "2024-10-10T19:37:57.0476435+05:30", "CreatedById": "sample string 4", "ModifiedById": "sample string 5" }, { "Url": "sample string 1", "GuestHouseId": 1, "Id": 2, "IsActive": true, "CreatedDate": "2024-10-10T19:37:57.0476435+05:30", "ModifiedDate": "2024-10-10T19:37:57.0476435+05:30", "CreatedById": "sample string 4", "ModifiedById": "sample string 5" } ], "Id": 9, "IsActive": true, "CreatedDate": "2024-10-10T19:37:57.0476435+05:30", "ModifiedDate": "2024-10-10T19:37:57.0476435+05:30", "CreatedById": "sample string 11", "ModifiedById": "sample string 12" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.