Properties



Base URL

https://api.rentila.com/landlord/properties


1. Get Filters

Endpoint:
GET https://api.rentila.com/landlord/properties/filters
Description: Retrieves available filters for properties.
Response Example:
{
"code": 200,
"status": "success",
"data": {
"landlords": {"888279": "Immotop.lu"},
"buildings": {"b61853": "IMEEEUBLLE1"},
"property_types": {"11": "Apartment"},
"ocupation_types": {"0": "Non loué", "1": "Loué"}
},
"message": "OK"
}



2. Get List of Properties

Endpoint:
GET https://api.rentila.com/landlord/properties/list
Description: Fetches a list of properties associated with the landlord.
Response Example:
{
"code": 200,
"status": "success",
"data": {
"properties": {
"12345": "Downtown Loft",
"67890": "Beach House"
}
},
"message": "OK"
}



3. Get Property Details

Endpoint:
GET https://api.rentila.com/landlord/properties/details?id={PropertyID}

Description: Retrieves details of a specific property.
Response Example:
{
"code": 200,
"status": "success",
"data": {
"property": {
"PropertyID": 12345,
"PropertyTitle": "Downtown Loft",
"PropertyAddress": "123 Main St",
"PropertyCity": "New York",
"PropertyCountry": "USA",
"PropertySize": 85,
"PropertyRoomsNum": 3,
"PropertyRent": 2000,
"PropertyPublic": 1
}
},
"message": "OK"
}