https://api.rentila.com/landlord/trash
Retrieves the list of deleted items in the trash.
GET https://api.rentila.com/landlord/trash
Field to sort the results by (default: TrashID)
Sort order: ASC or DESC (default: DESC)
Number of results per page
Type of object in the trash
{
"code": 200,
"status": "success",
"data": {
"records": [
{
"TrashID": 123,
"TrashLabel": "Deleted Property",
"TrashCreatedAt": "2024-01-15 10:00:00"
}
],
"types": {
"Properties": "Biens",
"Leases": "Locations"
},
"pagination": {
"page": 1,
"total_pages": 2
}
},
"message": "OK"
}
Retrieves available filters for trash items.
GET https://api.rentila.com/landlord/trash/filters
{
"code": 200,
"status": "success",
"data": {
"types": [
{ "id": "Properties", "label": "Biens" },
{ "id": "Leases", "label": "Locations" }
],
"properties": [
{ "id": 11, "label": "22 rue Georges Bizet" }
]
},
"message": "OK"
}