Port 3000 - Local Database + HikCentral Integration
| ID | Name | Phone | Type | HikCentral ID | Status | Actions |
|---|
This QR code provides temporary access for the resident
This QR code provides temporary access for the visitor
Important: This operation will soft delete the resident from the local database and attempt to remove them from HikCentral. The resident will be marked as "deleted" but their data will remain in the system for audit purposes.
This middleware provides 5 main external APIs for resident management and access control. Use the curl examples below to communicate with the middleware.
Purpose: Get resident(s) from the local database. Can retrieve all residents or a specific resident by email.
Purpose: Create a new resident in both the local database and HikCentral system.
Purpose: Retrieve a resident's dynamic QR code for access. Requires resident to be synced with HikCentral.
Purpose: Create a temporary QR code for visitors. Requires resident to be synced with HikCentral.
Purpose: Soft delete a resident from the system. Marks them as deleted rather than removing them completely.
Common Error Responses: