PUT api/hotel/{id}/description
Sets the description of a hotel.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The hotel id. |
integer |
Required |
Body Parameters
A HotelDescription object.
Cyberlogic.eTourism.Domain.ViewModels.Hotels.HotelDescriptionViewModelName | Description | Type | Additional information |
---|---|---|---|
HotelId | integer |
None. |
|
Name | string |
None. |
|
Overview | Collection of Cyberlogic.eTourism.Domain.ViewModels.Hotels.HotelOverviewViewModel |
None. |
|
Details | Cyberlogic.eTourism.Domain.ViewModels.Hotels.HotelDescriptionDetailsViewModel |
None. |
|
Facilities | Collection of Cyberlogic.eTourism.Domain.ViewModels.Hotels.HotelFacilityCategoryViewModel |
None. |
|
Rooms | Collection of Cyberlogic.eTourism.Domain.ViewModels.Hotels.Rooms.RoomViewModel |
None. |
|
SearchTags | Collection of string |
None. |
|
NearbyPointsOfInterest | Collection of Cyberlogic.eTourism.Domain.ViewModels.Hotels.NearbyPointOfInterestViewModel |
None. |
|
DistancesToReferencePoints | Collection of Cyberlogic.eTourism.Domain.ViewModels.Hotels.ReferencePoints.DistanceToReferencePointViewModel |
None. |
|
Position | Cyberlogic.eTourism.Domain.ViewModels.Shared.PositionViewModel |
None. |
|
Media | Cyberlogic.eTourism.Domain.ViewModels.Shared.MediaViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "HotelId": 1, "Name": "sample string 2", "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": { "MainDescription": "sample string 1", "DetailedDescription": "sample string 2", "AdditionalInformation": "sample string 3" } }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": { "MainDescription": "sample string 1", "DetailedDescription": "sample string 2", "AdditionalInformation": "sample string 3" } } ], "Details": { "NumberOfBuildings": 1, "NumberOfRooms": 2, "YearOpened": 3, "YearRenovated": 4, "YearRoomsRenovated": 5, "CheckInTime": "sample string 6", "CheckOutTime": "sample string 7", "ArchitecturalStyle": "sample string 8", "LocationCategory": "sample string 9", "OpenAllYear": true, "Url": "sample string 11", "TripAdvisorWidgets": [ "sample string 1", "sample string 2" ], "AirportCode": "sample string 12" }, "Facilities": [ { "Name": "sample string 1", "Items": [ { "Name": "sample string 1", "Charged": true, "SubCategory": { "Name": "sample string 1", "Items": [ { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] }, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Name": "sample string 1", "Charged": true, "SubCategory": { "Name": "sample string 1", "Items": [ { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] }, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] }, { "Name": "sample string 1", "Items": [ { "Name": "sample string 1", "Charged": true, "SubCategory": { "Name": "sample string 1", "Items": [ { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] }, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Name": "sample string 1", "Charged": true, "SubCategory": { "Name": "sample string 1", "Items": [ { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Name": "sample string 1", "Charged": true, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] }, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] } ], "Rooms": [ { "Id": 1, "Name": "sample string 2", "MinCapacity": 3, "MaxCapacity": 4, "Facilities": [ { "Id": 1, "Name": "sample string 2", "Charged": true }, { "Id": 1, "Name": "sample string 2", "Charged": true } ] }, { "Id": 1, "Name": "sample string 2", "MinCapacity": 3, "MaxCapacity": 4, "Facilities": [ { "Id": 1, "Name": "sample string 2", "Charged": true }, { "Id": 1, "Name": "sample string 2", "Charged": true } ] } ], "SearchTags": [ "sample string 1", "sample string 2" ], "NearbyPointsOfInterest": [ { "Id": "sample string 1", "Name": "sample string 2", "Reference": "sample string 3", "Distance": 4.1, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Id": "sample string 1", "Name": "sample string 2", "Reference": "sample string 3", "Distance": 4.1, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ], "DistancesToReferencePoints": [ { "Category": "sample string 1", "Type": "sample string 2", "Distance": 3.1, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "Category": "sample string 1", "Type": "sample string 2", "Distance": 3.1, "Overview": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ], "Position": { "Longitude": 1.1, "Latitude": 2.1 }, "Media": { "DefaultImage": { "MainUrl": "sample string 1", "ThumbUrl": "sample string 2" }, "DefaultVideo": "sample string 1", "Images": [ { "MainUrl": "sample string 1", "ThumbUrl": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ], "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "MainUrl": "sample string 1", "ThumbUrl": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ], "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ], "Videos": [ { "MainUrl": "sample string 1", "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] }, { "MainUrl": "sample string 1", "Description": [ { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" }, { "Language": { "Id": 1, "Name": "sample string 2", "InternetCode": "sample string 3" }, "Description": "sample string 1" } ] } ] } }
text/html
Sample:
{"HotelId":1,"Name":"sample string 2","Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":{"MainDescription":"sample string 1","DetailedDescription":"sample string 2","AdditionalInformation":"sample string 3"}},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":{"MainDescription":"sample string 1","DetailedDescription":"sample string 2","AdditionalInformation":"sample string 3"}}],"Details":{"NumberOfBuildings":1,"NumberOfRooms":2,"YearOpened":3,"YearRenovated":4,"YearRoomsRenovated":5,"CheckInTime":"sample string 6","CheckOutTime":"sample string 7","ArchitecturalStyle":"sample string 8","LocationCategory":"sample string 9","OpenAllYear":true,"Url":"sample string 11","TripAdvisorWidgets":["sample string 1","sample string 2"],"AirportCode":"sample string 12"},"Facilities":[{"Name":"sample string 1","Items":[{"Name":"sample string 1","Charged":true,"SubCategory":{"Name":"sample string 1","Items":[{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]},"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Name":"sample string 1","Charged":true,"SubCategory":{"Name":"sample string 1","Items":[{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]},"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]},{"Name":"sample string 1","Items":[{"Name":"sample string 1","Charged":true,"SubCategory":{"Name":"sample string 1","Items":[{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]},"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Name":"sample string 1","Charged":true,"SubCategory":{"Name":"sample string 1","Items":[{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Name":"sample string 1","Charged":true,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]},"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]}],"Rooms":[{"Id":1,"Name":"sample string 2","MinCapacity":3,"MaxCapacity":4,"Facilities":[{"Id":1,"Name":"sample string 2","Charged":true},{"Id":1,"Name":"sample string 2","Charged":true}]},{"Id":1,"Name":"sample string 2","MinCapacity":3,"MaxCapacity":4,"Facilities":[{"Id":1,"Name":"sample string 2","Charged":true},{"Id":1,"Name":"sample string 2","Charged":true}]}],"SearchTags":["sample string 1","sample string 2"],"NearbyPointsOfInterest":[{"Id":"sample string 1","Name":"sample string 2","Reference":"sample string 3","Distance":4.1,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Id":"sample string 1","Name":"sample string 2","Reference":"sample string 3","Distance":4.1,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}],"DistancesToReferencePoints":[{"Category":"sample string 1","Type":"sample string 2","Distance":3.1,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"Category":"sample string 1","Type":"sample string 2","Distance":3.1,"Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}],"Position":{"Longitude":1.1,"Latitude":2.1},"Media":{"DefaultImage":{"MainUrl":"sample string 1","ThumbUrl":"sample string 2"},"DefaultVideo":"sample string 1","Images":[{"MainUrl":"sample string 1","ThumbUrl":"sample string 2","Tags":["sample string 1","sample string 2"],"Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"MainUrl":"sample string 1","ThumbUrl":"sample string 2","Tags":["sample string 1","sample string 2"],"Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}],"Videos":[{"MainUrl":"sample string 1","Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]},{"MainUrl":"sample string 1","Description":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Description":"sample string 1"}]}]}}
application/xml, text/xml
Sample:
<HotelDescriptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels"> <Details> <AirportCode>sample string 12</AirportCode> <ArchitecturalStyle>sample string 8</ArchitecturalStyle> <CheckInTime>sample string 6</CheckInTime> <CheckOutTime>sample string 7</CheckOutTime> <LocationCategory>sample string 9</LocationCategory> <NumberOfBuildings>1</NumberOfBuildings> <NumberOfRooms>2</NumberOfRooms> <OpenAllYear>true</OpenAllYear> <TripAdvisorWidgets xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </TripAdvisorWidgets> <Url>sample string 11</Url> <YearOpened>3</YearOpened> <YearRenovated>4</YearRenovated> <YearRoomsRenovated>5</YearRoomsRenovated> </Details> <DistancesToReferencePoints xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.ReferencePoints"> <d2p1:DistanceToReferencePointViewModel> <d2p1:Category>sample string 1</d2p1:Category> <d2p1:Distance>3.1</d2p1:Distance> <d2p1:Overview> <d2p1:DistanceToReferencePointDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:Language> </d2p1:DistanceToReferencePointDescriptionViewModel> <d2p1:DistanceToReferencePointDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:Language> </d2p1:DistanceToReferencePointDescriptionViewModel> </d2p1:Overview> <d2p1:Type>sample string 2</d2p1:Type> </d2p1:DistanceToReferencePointViewModel> <d2p1:DistanceToReferencePointViewModel> <d2p1:Category>sample string 1</d2p1:Category> <d2p1:Distance>3.1</d2p1:Distance> <d2p1:Overview> <d2p1:DistanceToReferencePointDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:Language> </d2p1:DistanceToReferencePointDescriptionViewModel> <d2p1:DistanceToReferencePointDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d2p1:Language> </d2p1:DistanceToReferencePointDescriptionViewModel> </d2p1:Overview> <d2p1:Type>sample string 2</d2p1:Type> </d2p1:DistanceToReferencePointViewModel> </DistancesToReferencePoints> <Facilities> <HotelFacilityCategoryViewModel> <Items> <FacilityWithSubsViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> </Overview> <SubCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.Facilities"> <d6p1:Items> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> </d6p1:Items> <d6p1:Name>sample string 1</d6p1:Name> </SubCategory> </FacilityWithSubsViewModel> <FacilityWithSubsViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> </Overview> <SubCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.Facilities"> <d6p1:Items> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> </d6p1:Items> <d6p1:Name>sample string 1</d6p1:Name> </SubCategory> </FacilityWithSubsViewModel> </Items> <Name>sample string 1</Name> </HotelFacilityCategoryViewModel> <HotelFacilityCategoryViewModel> <Items> <FacilityWithSubsViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> </Overview> <SubCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.Facilities"> <d6p1:Items> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> </d6p1:Items> <d6p1:Name>sample string 1</d6p1:Name> </SubCategory> </FacilityWithSubsViewModel> <FacilityWithSubsViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d8p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d8p1:Id>1</d8p1:Id> <d8p1:InternetCode>sample string 3</d8p1:InternetCode> <d8p1:Name>sample string 2</d8p1:Name> </Language> </FacilityOverviewViewModel> </Overview> <SubCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.Facilities"> <d6p1:Items> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> <FacilityDescriptionViewModel> <Charged>true</Charged> <Name>sample string 1</Name> <Overview> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> <FacilityOverviewViewModel> <Description>sample string 1</Description> <Language xmlns:d11p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d11p1:Id>1</d11p1:Id> <d11p1:InternetCode>sample string 3</d11p1:InternetCode> <d11p1:Name>sample string 2</d11p1:Name> </Language> </FacilityOverviewViewModel> </Overview> </FacilityDescriptionViewModel> </d6p1:Items> <d6p1:Name>sample string 1</d6p1:Name> </SubCategory> </FacilityWithSubsViewModel> </Items> <Name>sample string 1</Name> </HotelFacilityCategoryViewModel> </Facilities> <HotelId>1</HotelId> <Media xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d2p1:DefaultImage> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> <d2p1:ThumbUrl>sample string 2</d2p1:ThumbUrl> </d2p1:DefaultImage> <d2p1:DefaultVideo>sample string 1</d2p1:DefaultVideo> <d2p1:Images> <d2p1:ImageViewModel> <d2p1:Description> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> <d2p1:Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:Tags> <d2p1:ThumbUrl>sample string 2</d2p1:ThumbUrl> </d2p1:ImageViewModel> <d2p1:ImageViewModel> <d2p1:Description> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> <d2p1:ImageDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:ImageDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> <d2p1:Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:Tags> <d2p1:ThumbUrl>sample string 2</d2p1:ThumbUrl> </d2p1:ImageViewModel> </d2p1:Images> <d2p1:Videos> <d2p1:VideoViewModel> <d2p1:Description> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> </d2p1:VideoViewModel> <d2p1:VideoViewModel> <d2p1:Description> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> <d2p1:VideoDescriptionViewModel> <d2p1:Description>sample string 1</d2p1:Description> <d2p1:Language> <d2p1:Id>1</d2p1:Id> <d2p1:InternetCode>sample string 3</d2p1:InternetCode> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Language> </d2p1:VideoDescriptionViewModel> </d2p1:Description> <d2p1:MainUrl>sample string 1</d2p1:MainUrl> </d2p1:VideoViewModel> </d2p1:Videos> </Media> <Name>sample string 2</Name> <NearbyPointsOfInterest> <NearbyPointOfInterestViewModel> <Distance>4.1</Distance> <Id>sample string 1</Id> <Name>sample string 2</Name> <Overview xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.NearbyPointsOfInterest"> <d4p1:NearbyPointOfInterestDescriptionViewModel> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d4p1:Language> </d4p1:NearbyPointOfInterestDescriptionViewModel> <d4p1:NearbyPointOfInterestDescriptionViewModel> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d4p1:Language> </d4p1:NearbyPointOfInterestDescriptionViewModel> </Overview> <Reference>sample string 3</Reference> </NearbyPointOfInterestViewModel> <NearbyPointOfInterestViewModel> <Distance>4.1</Distance> <Id>sample string 1</Id> <Name>sample string 2</Name> <Overview xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.NearbyPointsOfInterest"> <d4p1:NearbyPointOfInterestDescriptionViewModel> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d4p1:Language> </d4p1:NearbyPointOfInterestDescriptionViewModel> <d4p1:NearbyPointOfInterestDescriptionViewModel> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:Language xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d6p1:Id>1</d6p1:Id> <d6p1:InternetCode>sample string 3</d6p1:InternetCode> <d6p1:Name>sample string 2</d6p1:Name> </d4p1:Language> </d4p1:NearbyPointOfInterestDescriptionViewModel> </Overview> <Reference>sample string 3</Reference> </NearbyPointOfInterestViewModel> </NearbyPointsOfInterest> <Overview> <HotelOverviewViewModel> <Description> <AdditionalInformation>sample string 3</AdditionalInformation> <DetailedDescription>sample string 2</DetailedDescription> <MainDescription>sample string 1</MainDescription> </Description> <Language xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d4p1:Id>1</d4p1:Id> <d4p1:InternetCode>sample string 3</d4p1:InternetCode> <d4p1:Name>sample string 2</d4p1:Name> </Language> </HotelOverviewViewModel> <HotelOverviewViewModel> <Description> <AdditionalInformation>sample string 3</AdditionalInformation> <DetailedDescription>sample string 2</DetailedDescription> <MainDescription>sample string 1</MainDescription> </Description> <Language xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d4p1:Id>1</d4p1:Id> <d4p1:InternetCode>sample string 3</d4p1:InternetCode> <d4p1:Name>sample string 2</d4p1:Name> </Language> </HotelOverviewViewModel> </Overview> <Position xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared"> <d2p1:Latitude>2.1</d2p1:Latitude> <d2p1:Longitude>1.1</d2p1:Longitude> </Position> <Rooms xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels.Rooms"> <d2p1:RoomViewModel> <d2p1:Facilities> <d2p1:RoomFacilityViewModel> <d2p1:Charged>true</d2p1:Charged> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomFacilityViewModel> <d2p1:RoomFacilityViewModel> <d2p1:Charged>true</d2p1:Charged> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomFacilityViewModel> </d2p1:Facilities> <d2p1:Id>1</d2p1:Id> <d2p1:MaxCapacity>4</d2p1:MaxCapacity> <d2p1:MinCapacity>3</d2p1:MinCapacity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomViewModel> <d2p1:RoomViewModel> <d2p1:Facilities> <d2p1:RoomFacilityViewModel> <d2p1:Charged>true</d2p1:Charged> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomFacilityViewModel> <d2p1:RoomFacilityViewModel> <d2p1:Charged>true</d2p1:Charged> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomFacilityViewModel> </d2p1:Facilities> <d2p1:Id>1</d2p1:Id> <d2p1:MaxCapacity>4</d2p1:MaxCapacity> <d2p1:MinCapacity>3</d2p1:MinCapacity> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:RoomViewModel> </Rooms> <SearchTags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </SearchTags> </HotelDescriptionViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A Hotel object.
Cyberlogic.eTourism.Domain.Models.Hotels.HotelResponse Formats
application/json, text/json, text/html
Sample:
Sample not available.