v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Properties Logs

Get property logs

Retrieve logs for a specific property with optional filtering and pagination

get/property-logs/{id}

Path parameters

idstring required
Example:507f1f77bcf86cd799439011

Property ID (MongoDB ObjectId)

Query parameters

userstring

Filter by user ID (MongoDB ObjectId)

fieldsstring
Example:active,isListed

Filter by updated fields, comma separated

fromstring
Example:2024-01-01T00:00:00.000Z

Filter logs from this date (ISO 8601 format)

tostring
Example:2024-12-31T23:59:59.999Z

Filter logs until this date (ISO 8601 format)

limitnumber
Example:10

Number of logs to return (1-20)

skipnumber

Number of logs to skip for pagination

Response

Return the property logs

countnumber
limitnumber
skipnumber

Example response

{
  "results": [
    {
      "_id": "68a71b99fde7015cb4c645f2",
      "propertyId": "68a719f29f30e10011f1b175",
      "accountId": "596f6fe706112710005d96ff",
      "userId": "63e3b2108577d63d394c8868",
      "updatedFields": [
        "active"
      ],
      "updatedAt": "2025-08-21T13:08:25.214Z",
      "updatedBy": "Authz Admin",
      "oldValue": "{\"active\":true}",
      "newValue": "{\"active\":false}",
      "propertyType": "MTL",
      "updateSubUnits": true
    },
    {
      "_id": "68a71af2fde7015cb4c645f0",
      "propertyId": "68a719f29f30e10011f1b175",
      "accountId": "596f6fe706112710005d96ff",
      "userId": "63e3b2108577d63d394c8868",
      "updatedFields": [
        "isListed"
      ],
      "updatedAt": "2025-08-20T13:08:25.214Z",
      "updatedBy": "Authz Admin",
      "oldValue": "{\"isListed\":true}",
      "newValue": "{\"isListed\":false}",
      "propertyType": "MTL",
      "updateSubUnits": true
    }
  ],
  "count": 25,
  "limit": 2,
  "skip": 0
}