GET Properties

GET Properties

get Get the list of all the properties.

Endpoint: https://ws.icnea.net/services_get_properties.aspx?api_key=a1b2c3d4e5&owner_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

 

The response will be a JSON with the list of properties and their information:

{ "services_get_properties_response": { "properties": [ { "id": 12341001, "name": "Apartment Auri", "address": "Sant Josep, 6", "zip": "08042", "city": "Manresa", "country": "ES", "latitude": 41.7394834834, "longitude": 1.3472934234, "checkin_start": "14:00", "checkin_end": "16:00", "checkout_start": "9:00", "checkout_end": "11:00", "property_type": "apartment", "units": "1", "units_details": [] }, { "id": 12341002, "name": "Apartment Gaia", "address": "Sant Josep, 6", "zip": "08042", "city": "Manresa", "country": "ES", "latitude": 41.7394834834, "longitude": 1.3472934234, "checkin_start": "14:00", "checkin_end": "16:00", "checkout_start": "9:00", "checkout_end": "11:00", "property_type": "apartment", "units": "2", "units_details": [ { "unit_id": "1", "unit_name": "Rose" }, { "unit_id": "2", "unit_name": "Emerald" } ] } ] } }

Parameter

Type

Description

Parameter

Type

Description

id

integer

Unique I 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

 

latitude

decimal

 

longitude

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

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).