Event Types
This page details all events currently available via the PerfectGym Next Open API (this list will keep on growing).
Event type | Description | Details |
---|---|---|
AGGREGATOR_MEMBER_CREATED | Occurs whenever an aggregator member was created | entityId is the customerId , content.aggregatorId is the aggregator member id |
APPOINTMENT_BOOKING_CANCELLED | Occurs whenever an appointment booking was cancelled | entityId is the bookingId |
APPOINTMENT_BOOKING_CREATED | Occurs whenever an appointment booking was created | entityId is the bookingId |
APPOINTMENT_BOOKING_UPDATED | Occurs whenever an appointment booking time or resource was updated | entityId is the bookingId |
CONTRACT_UPDATED | Occurs whenever a contract was changed | entityId is the customerId , content.contractId is the id of updated contract |
CONTRACT_CREATED | Occurs whenever a main contract was created | entityId is the customerId , content.contractId is the id of created contract |
CUSTOMER_CHECKIN | Occurs whenever a customer has physically checked in at a facility | entityId is the customerId |
CUSTOMER_CHECKOUT | Occurs whenever a customer has physically checked out from a facility | entityId is the customerId |
CUSTOMER_CREATED | Occurs whenever a customer has been created at a facility | entityId is the customerId |
CUSTOMER_DELETED | Occurs whenever a customer has been deleted | entityId is the customerId |
CUSTOMER_UPDATED | Occurs whenever a customer's data has been changed | entityId is the customerId |
CLASS_BOOKING_CANCELLED | Occurs whenever a class booking was cancelled | entityId is the bookingId |
CLASS_BOOKING_CREATED | Occurs whenever a class booking was created | entityId is the bookingId |
CLASS_BOOKING_UPDATED | Occurs whenever a class booking was updated | entityId is the bookingId |
CLASS_SLOT_CANCELLED | Occurs whenever a class slot was cancelled | entityId is the classSlotId , content.classId is the id of belonging class |
CLASS_SLOT_UPDATED | Occurs whenever a class slot time or resource was updated | entityId is the classSlotId , content.classId is the id of belonging class |
DEVICE_CREATED | Occurs whenever a device was created | entityId is the deviceId |
FINANCE_DEBT_COLLECTION_RUN_CREATED | Occurs whenever a debt collection run was created | entityId is the debtCollectionRunId |
TAX_ADVISOR_EXPORT_CREATED | Occurs whenever a tax advisor export was created | entityId is the exportId |