Overview
The Visits API allows you to track and manage visitor records for residents. This includes registering visitors, recording arrival and departure times, vehicle information, and visit purposes.Get All Visits
Get Visit by ID
id(guid, required): The unique identifier of the visit record
404 Not Found: Visit record not found
Get Visits by Resident
residentId(guid, required): The unique identifier of the resident
Create Visit
residentId(guid, required): ID of the resident being visitedvisitorName(string, required): Full name of the visitortotalPeople(integer, required): Total number of people in the visiting partyvehicleColor(string, optional): Color of the visitor’s vehiclelicensePlate(string, optional): License plate numbersubject(string, required): Purpose or subject of the visitarrivalDate(string, required): ISO date string for arrival timedepartureDate(string, optional): ISO date string for departure time
201 Created status.
400 Bad Request: Invalid data or business rule violation (e.g., resident not found)
Update Visit
id(guid, required): The unique identifier of the visit record to update
404 Not Found: Visit record not found400 Bad Request: Invalid data or business rule violation
Delete Visit
id(guid, required): The unique identifier of the visit record to delete
204 No Content on successful deletion.
Error Responses:
404 Not Found: Visit record not found
Visit Object Schema
| Field | Type | Description |
|---|---|---|
id | guid | Unique identifier for the visit record |
residentId | guid | Reference to the resident being visited |
residentName | string | Full name of the resident (populated from resident data) |
visitorName | string | Full name of the visitor |
totalPeople | integer | Total number of people in the visiting party |
vehicleColor | string | Color of the visitor’s vehicle (optional) |
licensePlate | string | License plate number (optional) |
subject | string | Purpose or subject of the visit |
arrivalDate | string | ISO date string for arrival time |
departureDate | string | ISO date string for departure time (null if still visiting) |
createdAt | string | ISO date string for when the record was created |