PUT api/Hotel/Update
Request Information
URI Parameters
None.
Body Parameters
HotelUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| WebSiteID | globally unique identifier |
None. |
|
| RouteID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Status | string |
None. |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"webSiteID": "a4b63a96-5449-4873-84e8-3db4d686da7e",
"routeID": "be5b8dd5-8f99-4cdb-985e-fa01cf00a1a1",
"name": "sample string 1",
"status": "sample string 2",
"id": "364861b4-2997-4b2b-bd86-2596355ec629"
}
application/xml, text/xml
Sample:
<HotelUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <ID>364861b4-2997-4b2b-bd86-2596355ec629</ID> <Name>sample string 1</Name> <RouteID>be5b8dd5-8f99-4cdb-985e-fa01cf00a1a1</RouteID> <Status>sample string 2</Status> <WebSiteID>a4b63a96-5449-4873-84e8-3db4d686da7e</WebSiteID> </HotelUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"WebSiteID":"a4b63a96-5449-4873-84e8-3db4d686da7e","RouteID":"be5b8dd5-8f99-4cdb-985e-fa01cf00a1a1","Name":"sample string 1","Status":"sample string 2","ID":"364861b4-2997-4b2b-bd86-2596355ec629"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.