Lead Dolphin syncs with DataTrak every 30 minutes to pull down Calendar Events. Due to limitations of the ABC api we can only sync based on the scheduled time of the event, not the creation time of the event. Because of this limitation we sync in four groups:

  1. All events scheduled for today.
  2. All events scheduled for the next 3 week.
  3. All events scheduled for the last 6 weeks.
When events are synced to Lead Dolphin we use the data to:
  1. Set the PT Status based on the PT Status Map configured for each club.
  2. Set the primary trainer based on the trainer set on the event.
  3. Cross reference synced events with existing events in Lead Dolphin so we can delete events that no longer exist.