Last updated

Event Types

This page details all events currently available via the PerfectGym Next Open API (this list will keep on growing).

Event typeDescriptionDetails
AGGREGATOR_MEMBER_CREATEDOccurs whenever an aggregator member was createdentityId is the customerId, content.aggregatorId is the aggregator member id
APPOINTMENT_BOOKING_CANCELLEDOccurs whenever an appointment booking was cancelledentityId is the bookingId
APPOINTMENT_BOOKING_CREATEDOccurs whenever an appointment booking was createdentityId is the bookingId
APPOINTMENT_BOOKING_UPDATEDOccurs whenever an appointment booking time or resource was updatedentityId is the bookingId
CONTRACT_UPDATEDOccurs whenever a contract was changedentityId is the customerId, content.contractId is the id of updated contract
CONTRACT_CREATEDOccurs whenever a main contract was createdentityId is the customerId, content.contractId is the id of created contract
CUSTOMER_CHECKINOccurs whenever a customer has physically checked in at a facilityentityId is the customerId
CUSTOMER_CHECKOUTOccurs whenever a customer has physically checked out from a facilityentityId is the customerId
CUSTOMER_CREATEDOccurs whenever a customer has been created at a facilityentityId is the customerId
CUSTOMER_DELETEDOccurs whenever a customer has been deletedentityId is the customerId
CUSTOMER_UPDATEDOccurs whenever a customer's data has been changedentityId is the customerId
CUSTOMER_COMMUNICATION_PREFERENCES_UPDATEDOccurs whenever a customer's communication preferences are updatedentityId is the customerId
CLASS_BOOKING_CANCELLEDOccurs whenever a class booking was cancelledentityId is the bookingId
CLASS_BOOKING_CREATEDOccurs whenever a class booking was createdentityId is the bookingId
CLASS_BOOKING_UPDATEDOccurs whenever a class booking was updatedentityId is the bookingId
CLASS_SLOT_CANCELLEDOccurs whenever a class slot was cancelledentityId is the classSlotId, content.classId is the id of belonging class
CLASS_SLOT_UPDATEDOccurs whenever a class slot time or resource was updatedentityId is the classSlotId, content.classId is the id of belonging class
DEVICE_CREATEDOccurs whenever a device was createdentityId is the deviceId
FINANCE_DEBT_COLLECTION_RUN_CREATEDOccurs whenever a debt collection run was createdentityId is the debtCollectionRunId
TAX_ADVISOR_EXPORT_CREATEDOccurs whenever a tax advisor export was createdentityId is the exportId