Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
languagejson
{
  "services_properties": {
    "properties": [
      {
        "id": 

...

12341001

...

,
        "name": "Apartment Auri",
        "address": "Sant Josep, 6",
        "zip": "08042",
        "city": "Manresa",
        "country": "ES",
        "latitude": 41.7394834834,
        "longitude": 1.3472934234,
        "property_type": "apartment"
      }, {
        "id": 

...

12341002

...

,
        "name": "Apartment Gaia",
        "address": "Sant Josep, 6",
        "zip": "08042",
        "city": "Manresa",
        "country": "ES",
        "latitude": 41.7394834834,
        "longitude": 1.3472934234,
        "property_type": "apartment"
      }
    ]
  }
}

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

property_type

string

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