GET Property

GET Property

get Get the details of a specific property.

Endpoint: https://ws.icnea.net/services_get_property.aspx?api_key=a1b2c3d4e5&owner_id=1234&property_id=1234

Parameter

Type

Description

Parameter

Type

Description

api_key

string

API_key for your company, provided by Icnea.

owner_id

integer

Property Manager ID

property_id

integer

Property ID

 

The response will be a JSON with the details of the property:

{ "services_get_property_response": { "id": 12341001, "name": "Apartment Auri", "address": "Sant Josep, 6", "zip": "08042", "city": "Manresa", "country": "ES", "telelphone": "", "email": "", "latitude": 41.7394834834, "longitude": 1.3472934234, "surface": 0, "standard_capacity": 1, "maximum_capacity": 4, "units": 2, "units_details": [ { "unit_id": "1", "unit_name": "Rose" }, { "unit_id": "2", "unit_name": "Emerald" } ], "number_of_rooms": "2", "number_of_bathrooms": "1", "number_of_toilets": "0", "number_of_single_beds": "0", "number_of_double_beds": "0", "number_of_sofa_beds": "0", "number_of_bunk_beds": "0", "distance_to_city_centre": "0.00", "distance_to_airport": "0.00", "distance_to_harbour": "0.00", "distance_to_railway_station": "0.00", "distance_to_public_transport": "0.00", "distance_to_hospital": "0.00", "distance_to_pharmacy": "0.00", "distance_to_market": "0.00", "distance_to_ski_slope": "0.00", "distance_to_beach": "0.00", "distance_to_golf": "0.00", "distance_to_public_park": "0.00", "distance_to_historic_district": "0.00", "checkin_start": "14:00", "checkin_end": "16:00", "checkout_start": "9:00", "checkout_end": "11:00", "property_type": "apartment", "images": [ "https://img.icnea.net/xxxx0.jpg", "https://img.icnea.net/xxxx1.jpg" ], "descriptions": [ { "language": "", "headline": "", "text": "" } ], "lodging_equipment": [ "elevator", "air_conditioning", "swimming_pool" ], "lodging_services": [], "lodging_surroundings": [], "lodging_restrictions": [], "lodging_recommendations": [], "lodging_views": [] } }

Parameter

Type

Description

Parameter

Type

Description

id

integer

Unique Id of the property. 5-digits (in testing accounts) or 8-digits (in real accounts) number.

name

string

 

address

string

 

zip

string

 

city

string

 

country

string

 

telephone

string

 

email

string

 

latitude

decimal

 

longitude

decimal

 

surface

integer

 

standard_capacity

integer

 

maximum_capacity

integer

 

units

integer

Default is 1, for single properties.

If it’s > 1, it’s a multi-unit type of property.

units_details

list of array

If units > 1, there will be a list of units in this array. For single properties this will be empty (since the whole property is the unit).

number_of_rooms

integer

 

number_of_bathrooms

integer

 

number_of_toilets

integer

 

number_of_single_beds

integer

 

number_of_double_beds

integer

 

number_of_sofa_beds

integer

 

number_of_bunk_beds

integer

 

distance_to_city_centre

decimal

 

distance_to_airport

decimal

 

distance_to_harbour

decimal

 

distance_to_railway_station

decimal

 

distance_to_public_transport

decimal

 

distance_to_hospital

decimal

 

distance_to_pharmacy

decimal

 

distance_to_market

decimal

 

distance_to_ski_slope

decimal

 

distance_to_beach

decimal

 

distance_to_golf

decimal

 

distance_to_public_park

decimal

 

distance_to_historic_district

decimal

 

checkin_start

string

The default check_in start time, in 24h format.

checkin_end

string

The default check_in end time, in 24h format.

checkout_start

string

The default check_out start time, in 24h format.

checkout_end

string

The default check_out end time, in 24h format.

property_type

string

Options: apartment, house, studio, hotel, hostel, room, camping, boat, autocaravan

images

array

 

descriptions

array

 

lodging_equipment

array

 

lodging_services

array

 

lodging_surroundings

array

 

lodging_restrictions

array

 

lodging_recommendations

array

 

lodging_views

array