GET api/PropertyByLocation?LocationID={LocationID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
LocationID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of APIPropertyName | Description | Type | Additional information |
---|---|---|---|
PropertyID | integer |
None. |
|
LocationID | integer |
None. |
|
PropertyName | string |
None. |
|
PropertyAddress | string |
None. |
|
PropertyGPSLat | decimal number |
None. |
|
PropertyGPSLng | decimal number |
None. |
|
PropertyStars | integer |
None. |
|
PropertyType | string |
None. |
|
PropertyDescription | string |
None. |
|
ChangeoverDays | string |
None. |
|
BrekfastIncluded | boolean |
None. |
|
SmokingAllowed | boolean |
None. |
|
LinenProvided | boolean |
None. |
|
TowelsProvided | boolean |
None. |
|
PetsAllowed | boolean |
None. |
|
ParkingAvailable | boolean |
None. |
|
CheckInTime | string |
None. |
|
CheckOutTime | string |
None. |
|
ObjectStartDate | date |
None. |
|
ObjectEndDate | date |
None. |
|
TotalFlors | decimal number |
None. |
|
ConstructionYear | integer |
None. |
|
RenovationYear | integer |
None. |
|
FinalCleaningPrice | decimal number |
None. |
|
WiFiAvailable | boolean |
None. |
|
ObjectOwnerLanguage | string |
None. |
|
AirportName | string |
None. |
|
AirportDistanceKM | decimal number |
None. |
|
FeribotName | string |
None. |
|
FeribotDistanceKM | decimal number |
None. |
|
TrainStationName | string |
None. |
|
TrainStationdistanceKM | decimal number |
None. |
|
SupermarketDistance | decimal number |
None. |
|
RestaurantDistance | decimal number |
None. |
|
FishingDistance | decimal number |
None. |
|
WatherDistance | decimal number |
None. |
|
BeachDistance | decimal number |
None. |
|
BusStopDistance | decimal number |
None. |
|
NearestCityDistance | decimal number |
None. |
|
CarNecessary | boolean |
None. |
|
TenisDistance | decimal number |
None. |
|
ShopDistance | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PropertyID": 1, "LocationID": 1, "PropertyName": "sample string 2", "PropertyAddress": "sample string 3", "PropertyGPSLat": 1.1, "PropertyGPSLng": 1.1, "PropertyStars": 1, "PropertyType": "sample string 4", "PropertyDescription": "sample string 5", "ChangeoverDays": "sample string 6", "BrekfastIncluded": true, "SmokingAllowed": true, "LinenProvided": true, "TowelsProvided": true, "PetsAllowed": true, "ParkingAvailable": true, "CheckInTime": "sample string 7", "CheckOutTime": "sample string 8", "ObjectStartDate": "2025-08-19T00:11:51.3936738+02:00", "ObjectEndDate": "2025-08-19T00:11:51.3936738+02:00", "TotalFlors": 1.1, "ConstructionYear": 1, "RenovationYear": 1, "FinalCleaningPrice": 1.1, "WiFiAvailable": true, "ObjectOwnerLanguage": "sample string 9", "AirportName": "sample string 10", "AirportDistanceKM": 1.1, "FeribotName": "sample string 11", "FeribotDistanceKM": 1.1, "TrainStationName": "sample string 12", "TrainStationdistanceKM": 1.1, "SupermarketDistance": 1.1, "RestaurantDistance": 1.1, "FishingDistance": 1.1, "WatherDistance": 1.1, "BeachDistance": 1.1, "BusStopDistance": 1.1, "NearestCityDistance": 1.1, "CarNecessary": true, "TenisDistance": 1.1, "ShopDistance": 1.1 }, { "PropertyID": 1, "LocationID": 1, "PropertyName": "sample string 2", "PropertyAddress": "sample string 3", "PropertyGPSLat": 1.1, "PropertyGPSLng": 1.1, "PropertyStars": 1, "PropertyType": "sample string 4", "PropertyDescription": "sample string 5", "ChangeoverDays": "sample string 6", "BrekfastIncluded": true, "SmokingAllowed": true, "LinenProvided": true, "TowelsProvided": true, "PetsAllowed": true, "ParkingAvailable": true, "CheckInTime": "sample string 7", "CheckOutTime": "sample string 8", "ObjectStartDate": "2025-08-19T00:11:51.3936738+02:00", "ObjectEndDate": "2025-08-19T00:11:51.3936738+02:00", "TotalFlors": 1.1, "ConstructionYear": 1, "RenovationYear": 1, "FinalCleaningPrice": 1.1, "WiFiAvailable": true, "ObjectOwnerLanguage": "sample string 9", "AirportName": "sample string 10", "AirportDistanceKM": 1.1, "FeribotName": "sample string 11", "FeribotDistanceKM": 1.1, "TrainStationName": "sample string 12", "TrainStationdistanceKM": 1.1, "SupermarketDistance": 1.1, "RestaurantDistance": 1.1, "FishingDistance": 1.1, "WatherDistance": 1.1, "BeachDistance": 1.1, "BusStopDistance": 1.1, "NearestCityDistance": 1.1, "CarNecessary": true, "TenisDistance": 1.1, "ShopDistance": 1.1 } ]
application/xml, text/xml
Sample:
<ArrayOfAPIProperty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgTravelSoftCore.Model"> <APIProperty> <AirportDistanceKM>1.1</AirportDistanceKM> <AirportName>sample string 10</AirportName> <BeachDistance>1.1</BeachDistance> <BrekfastIncluded>true</BrekfastIncluded> <BusStopDistance>1.1</BusStopDistance> <CarNecessary>true</CarNecessary> <ChangeoverDays>sample string 6</ChangeoverDays> <CheckInTime>sample string 7</CheckInTime> <CheckOutTime>sample string 8</CheckOutTime> <ConstructionYear>1</ConstructionYear> <FeribotDistanceKM>1.1</FeribotDistanceKM> <FeribotName>sample string 11</FeribotName> <FinalCleaningPrice>1.1</FinalCleaningPrice> <FishingDistance>1.1</FishingDistance> <LinenProvided>true</LinenProvided> <LocationID>1</LocationID> <NearestCityDistance>1.1</NearestCityDistance> <ObjectEndDate>2025-08-19T00:11:51.3936738+02:00</ObjectEndDate> <ObjectOwnerLanguage>sample string 9</ObjectOwnerLanguage> <ObjectStartDate>2025-08-19T00:11:51.3936738+02:00</ObjectStartDate> <ParkingAvailable>true</ParkingAvailable> <PetsAllowed>true</PetsAllowed> <PropertyAddress>sample string 3</PropertyAddress> <PropertyDescription>sample string 5</PropertyDescription> <PropertyGPSLat>1.1</PropertyGPSLat> <PropertyGPSLng>1.1</PropertyGPSLng> <PropertyID>1</PropertyID> <PropertyName>sample string 2</PropertyName> <PropertyStars>1</PropertyStars> <PropertyType>sample string 4</PropertyType> <RenovationYear>1</RenovationYear> <RestaurantDistance>1.1</RestaurantDistance> <ShopDistance>1.1</ShopDistance> <SmokingAllowed>true</SmokingAllowed> <SupermarketDistance>1.1</SupermarketDistance> <TenisDistance>1.1</TenisDistance> <TotalFlors>1.1</TotalFlors> <TowelsProvided>true</TowelsProvided> <TrainStationName>sample string 12</TrainStationName> <TrainStationdistanceKM>1.1</TrainStationdistanceKM> <WatherDistance>1.1</WatherDistance> <WiFiAvailable>true</WiFiAvailable> </APIProperty> <APIProperty> <AirportDistanceKM>1.1</AirportDistanceKM> <AirportName>sample string 10</AirportName> <BeachDistance>1.1</BeachDistance> <BrekfastIncluded>true</BrekfastIncluded> <BusStopDistance>1.1</BusStopDistance> <CarNecessary>true</CarNecessary> <ChangeoverDays>sample string 6</ChangeoverDays> <CheckInTime>sample string 7</CheckInTime> <CheckOutTime>sample string 8</CheckOutTime> <ConstructionYear>1</ConstructionYear> <FeribotDistanceKM>1.1</FeribotDistanceKM> <FeribotName>sample string 11</FeribotName> <FinalCleaningPrice>1.1</FinalCleaningPrice> <FishingDistance>1.1</FishingDistance> <LinenProvided>true</LinenProvided> <LocationID>1</LocationID> <NearestCityDistance>1.1</NearestCityDistance> <ObjectEndDate>2025-08-19T00:11:51.3936738+02:00</ObjectEndDate> <ObjectOwnerLanguage>sample string 9</ObjectOwnerLanguage> <ObjectStartDate>2025-08-19T00:11:51.3936738+02:00</ObjectStartDate> <ParkingAvailable>true</ParkingAvailable> <PetsAllowed>true</PetsAllowed> <PropertyAddress>sample string 3</PropertyAddress> <PropertyDescription>sample string 5</PropertyDescription> <PropertyGPSLat>1.1</PropertyGPSLat> <PropertyGPSLng>1.1</PropertyGPSLng> <PropertyID>1</PropertyID> <PropertyName>sample string 2</PropertyName> <PropertyStars>1</PropertyStars> <PropertyType>sample string 4</PropertyType> <RenovationYear>1</RenovationYear> <RestaurantDistance>1.1</RestaurantDistance> <ShopDistance>1.1</ShopDistance> <SmokingAllowed>true</SmokingAllowed> <SupermarketDistance>1.1</SupermarketDistance> <TenisDistance>1.1</TenisDistance> <TotalFlors>1.1</TotalFlors> <TowelsProvided>true</TowelsProvided> <TrainStationName>sample string 12</TrainStationName> <TrainStationdistanceKM>1.1</TrainStationdistanceKM> <WatherDistance>1.1</WatherDistance> <WiFiAvailable>true</WiFiAvailable> </APIProperty> </ArrayOfAPIProperty>