Detalle de contrato de arriendo
GET
https://api.bydomu.com/v1/leases/{id}This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
El contrato con su propiedad, arrendatario, responsable, pagos de canon y solicitudes de mantenimiento.
Permission required
leases:read
Required header
X-API-Key · secret key
Access level
Level 2 · automatic on Inmobiliaria Pro
Path parameters
1 · requiredidstring · requiredID del contrato
Response 200
LeaseDetail · 15 fieldsdataid · startDate · endDate · monthlyRent · adminFee · securityDeposit · status · paymentDayOfMonth · lateFeePercentage · createdAt · property · tenant · manager · payments · maintenanceRequests
idstringstartDatestringendDatestringmonthlyRentstringNúmero decimal serializado como texto.adminFeestringNúmero decimal serializado como texto.securityDepositstringNúmero decimal serializado como texto.statusstringDRAFT, ACTIVE, EXPIRED, TERMINATED, RENEWEDpaymentDayOfMonthintegerlateFeePercentagestringNúmero decimal serializado como texto.createdAtstringpropertyid · title · address · city · type
idstringtitlestringaddressstringcitystringtypestringAPARTMENT, HOUSE, OFFICE, COMMERCIAL, LAND, WAREHOUSEtenantid · firstName · lastName · phone · email
idstringfirstNamestringlastNamestringphonestring`null` si el contacto llegó por un canal sin número (Instagram, Facebook, chat de la web, correo o WhatsApp con usuario y número oculto)emailstringmanagerid · firstName · lastName
idstringfirstNamestringlastNamestringpayments[]id · period · amount · adminFee · lateFee · totalAmount · status · dueDate · paidAt · paymentMethod
idstringperiodstringamountstringNúmero decimal serializado como texto.adminFeestringNúmero decimal serializado como texto.lateFeestringNúmero decimal serializado como texto.totalAmountstringNúmero decimal serializado como texto.statusstringPENDING, PAID, PARTIAL, OVERDUE, WAIVEDdueDatestringpaidAtstringpaymentMethodstringmaintenanceRequests[]id · title · category · priority · status · estimatedCost · actualCost · createdAt · resolvedAt
idstringtitlestringcategorystringPLUMBING, ELECTRICAL, APPLIANCE, STRUCTURAL, PAINTING, LOCK_KEYprioritystringLOW, MEDIUM, HIGH, URGENTstatusstringOPEN, IN_PROGRESS, WAITING_PARTS, RESOLVED, CLOSED, CANCELLEDestimatedCoststringNúmero decimal serializado como texto.actualCoststringNúmero decimal serializado como texto.createdAtstringresolvedAtstringPossible errors
shaped as{ "error": { "code", "message" } }- 401UNAUTHORIZED
- 403FORBIDDEN
- 404NOT_FOUND
- 429RATE_LIMITED
- 500INTERNAL_ERROR