GET api/b2c/excursion/{id}/hotels
Gets a list of hotels by excursion station id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The excursion id as an integer. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of HotelViewModel.
Cyberlogic.eTourism.Domain.ViewModels.Hotels.HotelViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
ExcursionPickupPointId | integer |
None. |
|
ExcursionPickupPointName | string |
None. |
|
PriceZoneId | integer |
None. |
|
PickupTime | string |
None. |
|
PlaceName | string |
None. |
|
TimeLanguageId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "ExcursionPickupPointId": 3, "ExcursionPickupPointName": "sample string 4", "PriceZoneId": 5, "PickupTime": "sample string 6", "PlaceName": "sample string 7", "TimeLanguageId": 8 }
text/html
Sample:
{"Id":1,"Name":"sample string 2","ExcursionPickupPointId":3,"ExcursionPickupPointName":"sample string 4","PriceZoneId":5,"PickupTime":"sample string 6","PlaceName":"sample string 7","TimeLanguageId":8}
application/xml, text/xml
Sample:
<HotelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Hotels"> <ExcursionPickupPointId>3</ExcursionPickupPointId> <ExcursionPickupPointName>sample string 4</ExcursionPickupPointName> <Id>1</Id> <Name>sample string 2</Name> <PickupTime>sample string 6</PickupTime> <PlaceName>sample string 7</PlaceName> <PriceZoneId>5</PriceZoneId> <TimeLanguageId>8</TimeLanguageId> </HotelViewModel>