PropertyDto
_idstring · ObjectId · requiredThe unique identifier (_id) of the property
namestring · requiredThe name of the property
u_idstring · uuid · requiredThe unique identifier (u_id) of the property
addressstring · requiredThe address of the property
citystring · requiredThe city of the property
zipstring · requiredThe zip code of the property
statestring · requiredThe state of the property
timezonestring · requiredThe timezone of the property
propertiesstring[] · requiredArray of property IDs (_id) that are children of this property
FacilityDto
property_idstring · ObjectId · requiredThe unique identifier (_id) of the property
_idstring · ObjectId · requiredThe unique identifier (_id) of the facility
u_idstring · uuid · requiredThe unique identifier (u_id) of the facility
namestring · requiredThe name of the facility
capacitynumber | null · requiredThe capacity of the facility
typestring · requiredThe type of the facility
search_termstring · requiredThe search term for the facility
EventDto
_idstring · requiredshort_idstring · requiredrate_categorystring · requiredstatusstring · requiredexternal_system_event_idstring | null · requiredcreated_by_external_apiboolean · requirednamestring · requiredactivity_typerequiredattendancenumber · requiredproperty_idstring · requiredtimeslotsobject[] · requiredsubmit_datestring · requiredtypestring · requiredproperty_timezonestring · required
TimeslotDto
external_system_timeslot_idstring | null · pattern:^[a-zA-Z0-9._-]+$· requiredThe unique identifier of the timeslot from the external system. Alphanumeric plus ‘.’, ‘-’, and ‘_’ allowed.
activity_namestring | null · requiredDescriptive name or note for the timeslot activity
facilityobject · requiredFacility where the timeslot takes place
start_datetimestring · date-time · requiredStart time of the timeslot in ISO 8601 format
end_datetimestring · date-time · requiredEnd time of the timeslot in ISO 8601 format
statusstring · enum · requiredIndicates the status of the timeslot. Can be
activeorsuspended.Enum values:activesuspended
TimeslotFacilityDto
_idstring · ObjectId · requiredThe unique identifier (_id) of the facility
u_idstring · uuid · requiredThe unique identifier (u_id) of the facility
namestring · requiredThe name of the facility
capacitynumber | null · requiredThe capacity of the facility
typestring · requiredThe type of the facility
CancelEventSuccessResponse
messagestring · requiredmessage_codestring · requiredeventobject · requiredinvocation_idstring · uuid · required
UpdateTimeslotSuccessResponse
messagestring · requiredmessage_codestring · requiredtimeslotobject · requiredinvocation_idstring · uuid · required
GetEventByIdResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
eventobject · required
GetEventsByFacilityIdResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
eventsobject[] · requiredList of events which include the requested facility
GetEventsByPropertyIdResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
eventsobject[] · requiredList of events which belong to the requested property
GetFacilitiesByPropertyIdResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
facilitiesobject[] · requiredA list of all facilities that belong to the requested property (e.g., school)
GetPropertyByIdResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
propertyobject · requiredProperty details
GetAllPropertiesResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
propertiesobject[] · requiredList of all properties (e.g., schools) that the API user has access to
CreateTimeslotDto
external_system_timeslot_idstring · minLength: 3 · maxLength: 50 · pattern:^[a-zA-Z0-9._-]+$· requiredThe unique identifier of the timeslot from the external system. Alphanumeric plus ‘.’, ‘-’, and ‘_’ allowed.
start_datetimestring · date-time · requiredStart time of the timeslot in ISO 8601 format (local to the property timezone)
end_datetimestring · date-time · requiredEnd time of the timeslot in ISO 8601 format (local to the property timezone)
facility_u_idstring · minLength: 1 · maxLength: 50 · requiredFacility UID where the event takes place
activity_namestring · maxLength: 250Descriptive name or note for the timeslot activity
CreateEventDto
external_system_event_idstring · minLength: 3 · maxLength: 50 · pattern:^[a-zA-Z0-9._-]+$· requiredExternal event ID. Alphanumeric plus ".", "-", and "_" allowed
event_typestring · enum · requiredThe type of event (e.g. "reservation", "maintenance-block"). Always "reservation" for now
Enum values:reservationmaintenance-blocknamestring · minLength: 1 · maxLength: 100 · requiredEvent name
renter_emailstring · email · requiredRenter email
statusstring · enum · requiredEvent status. Always approved for now.
Enum values:approvedactivity_type_idnumber · requiredActivity type ID
timeslotsobject[] · requiredList of event timeslots. At least one timeslot is required.
attendancenumber · min: 0 · max: 500000Attendance. Defaults to 0 if not provided.
Default: 0event_log_messagestring · maxLength: 250Optional log message for event
renter_rate_category_idstring · minLength: 3 · maxLength: 50Renter rate category ID
CreatedEventDto
external_system_event_idstring · minLength: 3 · maxLength: 50 · pattern:^[a-zA-Z0-9._-]+$· requiredExternal event ID. Alphanumeric plus ".", "-", and "_" allowed
_idstring · ObjectId · requiredInternal Facilitron event ID
short_idstring · uuid · requiredShort public ID of the event
has_conflictboolean · requiredIndicates whether the event creation caused a conflict
UpdateTimeslotDto
start_datetimestring · date-time · requiredNew start datetime
end_datetimestring · date-time · requiredNew end datetime
event_log_messagestring · maxLength: 250Optional log message for auditing the change
UpdatedTimeslotDto
_idstring · requiredInternal Facilitron timeslot ID
external_system_timeslot_idstring · requiredExternal system timeslot ID
UpdateTimeslotResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
timeslotobject · required
CancelEventDto
statusstring · enum · requiredNew status of the event. Must be "cancelled".
Enum values:cancelled
event_log_messagestring · maxLength: 250Optional log message for event cancellation.
CancelledEventDto
external_system_event_idstring · minLength: 3 · maxLength: 50 · pattern:^[a-zA-Z0-9._-]+$· requiredExternal event ID. Alphanumeric plus ".", "-", and "_" allowed
_idstring · ObjectId · requiredInternal Facilitron event ID
short_idstring · uuid · requiredShort public ID of the event
CancelEventResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
eventobject · required
CreateEventResponse
messagestring · requiredResponse message
message_codestring · requiredResponse message code
invocation_idstring · uuid · requiredRequest ID
eventobject · required
BadRequestError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required
UnauthorizedError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required
ForbiddenError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required
NotFoundError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required
TooManyRequestsError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required
InternalServerError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required
ConflictError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required
BadGatewayError
invocation_idstring · uuid · requiredRequest ID
messagestring · requiredmessage_codestring · required