GET api/Accommodation?AccID={AccID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AccID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
APIPropertyAccommodationName | Description | Type | Additional information |
---|---|---|---|
AccID | integer |
None. |
|
AccName | string |
None. |
|
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. |
|
AccDescription | string |
None. |
|
AccStructure | integer |
None. |
|
AccTypeID | integer |
None. |
|
MaxAdl | integer |
None. |
|
MaxChd | integer |
None. |
|
KichenNo | integer |
None. |
|
LivingRoomNo | integer |
None. |
|
SleepingRoomNo | integer |
None. |
|
BathRoomNo | integer |
None. |
|
TeraceNo | integer |
None. |
|
AccSurface | decimal number |
None. |
|
FlorNo | integer |
None. |
|
MinDayBook | integer |
None. |
|
MaxDayBook | integer |
None. |
|
CleaningPrice | decimal number |
None. |
|
SafetyDeposit | decimal number |
None. |
|
ViewType | integer |
None. |
|
SingleBedNo | integer |
None. |
|
DoubleBedNo | integer |
None. |
|
SofaBedNo | integer |
None. |
|
HandicapFriendly | boolean |
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. |
|
DomLanguageDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "AccID": 1, "AccName": "sample string 2", "PropertyID": 3, "LocationID": 1, "PropertyName": "sample string 4", "PropertyAddress": "sample string 5", "PropertyGPSLat": 1.1, "PropertyGPSLng": 1.1, "PropertyStars": 1, "PropertyType": "sample string 6", "AccDescription": "sample string 7", "AccStructure": 1, "AccTypeID": 1, "MaxAdl": 1, "MaxChd": 1, "KichenNo": 1, "LivingRoomNo": 1, "SleepingRoomNo": 1, "BathRoomNo": 1, "TeraceNo": 1, "AccSurface": 1.1, "FlorNo": 1, "MinDayBook": 1, "MaxDayBook": 1, "CleaningPrice": 1.0, "SafetyDeposit": 1.0, "ViewType": 1, "SingleBedNo": 1, "DoubleBedNo": 1, "SofaBedNo": 1, "HandicapFriendly": true, "PropertyDescription": "sample string 8", "ChangeoverDays": "sample string 9", "BrekfastIncluded": true, "SmokingAllowed": true, "LinenProvided": true, "TowelsProvided": true, "PetsAllowed": true, "ParkingAvailable": true, "CheckInTime": "sample string 10", "CheckOutTime": "sample string 11", "ObjectStartDate": "2025-08-19T00:14:03.9652699+02:00", "ObjectEndDate": "2025-08-19T00:14:03.9652699+02:00", "TotalFlors": 1.1, "ConstructionYear": 1, "RenovationYear": 1, "FinalCleaningPrice": 1.1, "WiFiAvailable": true, "ObjectOwnerLanguage": "sample string 12", "AirportName": "sample string 13", "AirportDistanceKM": 1.1, "FeribotName": "sample string 14", "FeribotDistanceKM": 1.1, "TrainStationName": "sample string 15", "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, "DomLanguageDescription": "sample string 16" }
application/xml, text/xml
Sample:
<APIPropertyAccommodation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgTravelSoftCore.Model"> <AccDescription>sample string 7</AccDescription> <AccID>1</AccID> <AccName>sample string 2</AccName> <AccStructure>1</AccStructure> <AccSurface>1.1</AccSurface> <AccTypeID>1</AccTypeID> <AirportDistanceKM>1.1</AirportDistanceKM> <AirportName>sample string 13</AirportName> <BathRoomNo>1</BathRoomNo> <BeachDistance>1.1</BeachDistance> <BrekfastIncluded>true</BrekfastIncluded> <BusStopDistance>1.1</BusStopDistance> <CarNecessary>true</CarNecessary> <ChangeoverDays>sample string 9</ChangeoverDays> <CheckInTime>sample string 10</CheckInTime> <CheckOutTime>sample string 11</CheckOutTime> <CleaningPrice>1</CleaningPrice> <ConstructionYear>1</ConstructionYear> <DomLanguageDescription>sample string 16</DomLanguageDescription> <DoubleBedNo>1</DoubleBedNo> <FeribotDistanceKM>1.1</FeribotDistanceKM> <FeribotName>sample string 14</FeribotName> <FinalCleaningPrice>1.1</FinalCleaningPrice> <FishingDistance>1.1</FishingDistance> <FlorNo>1</FlorNo> <HandicapFriendly>true</HandicapFriendly> <KichenNo>1</KichenNo> <LinenProvided>true</LinenProvided> <LivingRoomNo>1</LivingRoomNo> <LocationID>1</LocationID> <MaxAdl>1</MaxAdl> <MaxChd>1</MaxChd> <MaxDayBook>1</MaxDayBook> <MinDayBook>1</MinDayBook> <NearestCityDistance>1.1</NearestCityDistance> <ObjectEndDate>2025-08-19T00:14:03.9652699+02:00</ObjectEndDate> <ObjectOwnerLanguage>sample string 12</ObjectOwnerLanguage> <ObjectStartDate>2025-08-19T00:14:03.9652699+02:00</ObjectStartDate> <ParkingAvailable>true</ParkingAvailable> <PetsAllowed>true</PetsAllowed> <PropertyAddress>sample string 5</PropertyAddress> <PropertyDescription>sample string 8</PropertyDescription> <PropertyGPSLat>1.1</PropertyGPSLat> <PropertyGPSLng>1.1</PropertyGPSLng> <PropertyID>3</PropertyID> <PropertyName>sample string 4</PropertyName> <PropertyStars>1</PropertyStars> <PropertyType>sample string 6</PropertyType> <RenovationYear>1</RenovationYear> <RestaurantDistance>1.1</RestaurantDistance> <SafetyDeposit>1</SafetyDeposit> <ShopDistance>1.1</ShopDistance> <SingleBedNo>1</SingleBedNo> <SleepingRoomNo>1</SleepingRoomNo> <SmokingAllowed>true</SmokingAllowed> <SofaBedNo>1</SofaBedNo> <SupermarketDistance>1.1</SupermarketDistance> <TenisDistance>1.1</TenisDistance> <TeraceNo>1</TeraceNo> <TotalFlors>1.1</TotalFlors> <TowelsProvided>true</TowelsProvided> <TrainStationName>sample string 15</TrainStationName> <TrainStationdistanceKM>1.1</TrainStationdistanceKM> <ViewType>1</ViewType> <WatherDistance>1.1</WatherDistance> <WiFiAvailable>true</WiFiAvailable> </APIPropertyAccommodation>