Administrator Guide
This guide covers workflows and features available to administrators managing Happy Habitat communities. Administrators come in two types: System Administrators and Company Administrators.Administrator Roles
System Administrator (SYSTEM_ADMIN)
System Administrators have full access to the entire platform and can:- Manage all communities across the system
- Create and manage all user accounts
- Access all administrative features without restrictions
- Configure system-wide settings
Company Administrator (ADMIN_COMPANY)
Company Administrators manage specific communities assigned to them:- Manage residents, amenities, and tickets for assigned communities
- View documents and reports for their communities
- Cannot access communities not assigned to them
- Cannot create other system administrators
Managing Communities
Create a New Community
Endpoint:POST /api/communities
Required Role: ADMIN_COMPANY or SYSTEM_ADMIN
Request Body:
FRACCIONAMIENTO- Residential subdivisionCOLONIA- NeighborhoodCOTO- Gated community
View Communities
Get All Communities:GET /api/communities
Get Specific Community: GET /api/communities/{id}
Update Community
Endpoint:PUT /api/communities/{id}
Update community details including contact information, address, and configuration.
Delete Community
Endpoint:DELETE /api/communities/{id}
Managing Residents
View Residents
All Residents (Paginated):Create a Resident
Endpoint:POST /api/residents
Request Body:
The
userId must exist and cannot have another resident already associated.Update Resident Information
Endpoint:PUT /api/residents/{id}
Update resident contact information, unit number, or other details.
Delete a Resident
Endpoint:DELETE /api/residents/{id}
Removes the resident record from the system.
Managing Users
View All Users
Endpoint:GET /api/users
Query Parameters:
includeInactive: Boolean to include inactive users
SYSTEM_ADMIN
Create a User
Endpoint:POST /api/users
Request Body:
Update User
Endpoint:PUT /api/users/{id}
Update user information including role, activation status, and contact details.
Delete User
Endpoint:DELETE /api/users/{id}
Managing Amenities
Amenities are shared facilities like pools, gyms, and event spaces that residents can book.Create an Amenity
Endpoint:POST /api/amenities
Request Body:
View Amenities
All Amenities:GET /api/amenities
By Community: GET /api/amenities/community/{communityId}
Update Amenity
Endpoint:PUT /api/amenities/{id}
Delete Amenity (Soft Delete)
Endpoint:DELETE /api/amenities/{id}
Performs a soft delete, marking the amenity as inactive.
Managing Tickets
Tickets are support requests or issues submitted by residents.View Tickets
All Tickets:GET /api/tickets
By Community: GET /api/tickets/community/{communityId}
Required Role: ADMIN_COMPANY or SYSTEM_ADMIN
Create Ticket (As Admin)
Endpoint:POST /api/tickets
Request Body:
Admins can create tickets on behalf of residents by specifying
residentId or communityId.Update Ticket Status
Endpoint:PUT /api/tickets/{id}
Available Statuses:
- Nuevo - Newly created ticket
- En revisión - Under review by team
- En investigación - Being investigated
- En proceso - Being addressed
- Cancelado - Cancelled
- Resuelto - Resolved
Ticket Categories
- Areas comunes
- Amenidades
- Mantenimiento
- Mascotas
- Pregunta / comentario
- Ruido
- Servicios (Luz, Agua, Gas, Internet, etc.)
- Sugerencia
- Vigilancia
- Otro
Managing Documents
Administrators can upload and manage community documents.Upload a Document
Endpoint:POST /api/documents/upload
Content-Type: multipart/form-data
Request Parameters:
file: File to upload (max 20 MB)communityId: GUID of communityresidentId: (Optional) GUID of residentcategory: (Optional) Document category
Create Document Record
Endpoint:POST /api/documents
Request Body:
View Documents
All Documents:GET /api/documents
By Community: GET /api/documents/community/{communityId}
Download Document
Endpoint:GET /api/documents/{id}/download
Download access is restricted to admins of the document’s community and the user who uploaded it.
Managing Announcements (Comunicados)
Comunicados are community announcements and newsletters.Create Announcement
Endpoint:POST /api/comunicados
Request Body:
Dashboard and Reports
Access Dashboard
Endpoint:GET /api/dashboard
Provides overview statistics including:
- Total residents
- Active tickets
- Upcoming amenity bookings
- Recent activity
Configuration Management
Community Configuration
Endpoint:GET /api/communityconfigurations
Manage community-specific settings including:
- Banking information (BANCO, CTA_BANCO)
- Payment settings
- Operational parameters
Community Pricing
Endpoint:GET /api/communityprices
Manage pricing for:
- Amenity bookings
- Service fees
- Maintenance charges
Best Practices
Security
- Change default passwords immediately
- Use strong passwords for all admin accounts
- Regularly review user access and permissions
- Monitor system logs for suspicious activity
Data Management
- Regularly backup community data
- Archive old tickets and documents
- Keep resident information up to date
- Review and clean inactive users periodically
Communication
- Post regular announcements to keep residents informed
- Respond to tickets promptly
- Maintain clear documentation
- Update community information as needed
Need Help?
For technical support or questions:- Review the Authentication Guide for login issues
- Check the Configuration Guide for setup help
- Contact system administrators for access problems