# Club Speed

Club Speed is an activity and venue management software.

Club Speed integration replicates data using the [Club Speed API](https://clubspeed.com/clubspeed/).

See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#Schema) section for a list of objects available for replication.

## Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

To retrieve your private key, contact the [Club Speed support team](mailto:support@clubspeed.com).

## Creating the connection

For more information, see [Connecting to SaaS applications](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Landing/connecting-web-applications.htm).

1. Fill in the required connection properties.

2. Provide a name for the connection in Connection name.

3. Select Open connection metadata to define metadata for the connection when it has been created.

4. Click Create.

Connection settings

| Setting | Description |
| --- | --- |
| Data gateway | Select a Data Movement gateway if required by your use case.<br><br>Information note<br><br>This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.<br><br>For information on the benefits of Data Movement gateway and use cases that require it, see [Qlik Data Gateway - Data Movement](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/replication-gateway.htm). |
| Start Date | Enter the date, in the format `MM/DD/YYYY`, from which the data must be replicated from your source to your target. |
| Private Key | Private key. |
| Subdomain | You can find your subdomain in the URL of your account homepage. If the URL is myclubspeed.clubspeedtiming.com, the subdomain is myclubspeed. |

## Schema

Information note

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

Depending on your destination, table and column names may not appear as they are outlined below.

### booking

The `booking` table contains info about bookings. A booking record exposes a `heat` to the online booking interface in Club Speed.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | onlineBookingsId |

booking table foreign keys

| Join booking with | on |
| --- | --- |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>booking.onlineBookingsId = booking_availability.products.onlineBookingsId<br>```<br><br>```<br>booking.heatId = booking_availability.heatId<br>```<br><br>```<br>booking.heatId = booking_availability.heatSpotsAvailableCombined<br>```<br><br>```<br>booking.productsId = booking_availability.products.productsId<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>booking.onlineBookingsId = reservations.onlineBookingsId<br>``` |
| [heat_main](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main) | ```<br>booking.heatId = heat_main.heatId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>booking.heatId = heat_main_details.heatId<br>``` |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>booking.productsId = check_details.productId<br>``` |
| [event_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-types) | ```<br>booking.productsId = event_types.onlineProductId<br>``` |
| [products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products) | ```<br>booking.productsId = products.productId<br>``` |

booking table schema

| **heatId**<br><br><br>INTEGER |
| --- |
| **isPublic**<br><br><br>BOOLEAN |
| **onlineBookingsId**<br><br><br>INTEGER |
| **productsId**<br><br><br>INTEGER |
| **quantityTotal**<br><br><br>INTEGER |

### booking\_availability

The `booking_availability` table contains info about the current availability for online bookings. These take into account both online and local booking reservations.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | heatId |

booking\_availability table foreign keys

| Join booking\_availability with | on |
| --- | --- |
| [booking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking) | ```<br>booking_availability.products.onlineBookingsId = booking.onlineBookingsId<br>```<br><br>```<br>booking_availability.heatId = booking.heatId<br>```<br><br>```<br>booking_availability.heatSpotsAvailableCombined = booking.heatId<br>```<br><br>```<br>booking_availability.products.productsId = booking.productsId<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>booking_availability.products.onlineBookingsId = reservations.onlineBookingsId<br>``` |
| [heat_main](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main) | ```<br>booking_availability.heatId = heat_main.heatId<br>```<br><br>```<br>booking_availability.heatSpotsAvailableCombined = heat_main.heatId<br>```<br><br>```<br>booking_availability.heatTypeId = heat_main.type<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>booking_availability.heatId = heat_main_details.heatId<br>```<br><br>```<br>booking_availability.heatSpotsAvailableCombined = heat_main_details.heatId<br>``` |
| [event_heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-types) | ```<br>booking_availability.heatTypeId = event_heat_types.heatTypeId<br>``` |
| [event_rounds](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-rounds) | ```<br>booking_availability.heatTypeId = event_rounds.heatTypeId<br>``` |
| [heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-types) | ```<br>booking_availability.heatTypeId = heat_types.heatTypesId<br>``` |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>booking_availability.products.productsId = check_details.productId<br>``` |
| [event_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-types) | ```<br>booking_availability.products.productsId = event_types.onlineProductId<br>``` |
| [products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products) | ```<br>booking_availability.products.productsId = products.productId<br>``` |

booking\_availability table schema

| **heatDescription**<br><br><br>STRING |
| --- |
| **heatId**<br><br><br>INTEGER |
| **heatSpotsAvailableCombined**<br><br><br>INTEGER |
| **heatSpotsAvailableOnline**<br><br><br>INTEGER |
| **heatSpotsTotalActual**<br><br><br>INTEGER |
| **heatStartsAt**<br><br><br>DATE-TIME |
| **heatTypeId**<br><br><br>INTEGER |
| **isPublic**<br><br><br>BOOLEAN |
| **products**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>onlineBookingsId: INTEGER</li><li>price1: NUMBER</li><li>productDescription: STRING</li><li>productSpotsAvailableOnline: INTEGER</li><li>productSpotsTotal: INTEGER</li><li>productType: STRING</li><li>productsId: INTEGER</li></ul> |

### check\_details

The `check_details` table contains info about line items and quantity info attached to [`checks`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks).

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | checkDetailId |
| **Replication Key** | createdDate |

check\_details table foreign keys

| Join check\_details with | on |
| --- | --- |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>check_details.checkDetailId = gift_card_history.checkDetailId<br>```<br><br>```<br>check_details.checkId = gift_card_history.checkId<br>```<br><br>```<br>check_details.g_CustId = gift_card_history.customerId<br>```<br><br>```<br>check_details.p_CustId = gift_card_history.customerId<br>```<br><br>```<br>check_details.s_CustId = gift_card_history.customerId<br>```<br><br>```<br>check_details.discountUserId = gift_card_history.userId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>check_details.checkId = checks.checkId<br>```<br><br>```<br>check_details.g_CustId = checks.customerId<br>```<br><br>```<br>check_details.p_CustId = checks.customerId<br>```<br><br>```<br>check_details.s_CustId = checks.customerId<br>```<br><br>```<br>check_details.discountId = checks.discountId<br>```<br><br>```<br>check_details.discountUserId = checks.discountUserId<br>```<br><br>```<br>check_details.discountUserId = checks.userId<br>``` |
| [event_reservation_links](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-links) | ```<br>check_details.checkId = event_reservation_links.checkId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>check_details.checkId = payments.checkId<br>```<br><br>```<br>check_details.g_CustId = payments.customerId<br>```<br><br>```<br>check_details.p_CustId = payments.customerId<br>```<br><br>```<br>check_details.s_CustId = payments.customerId<br>```<br><br>```<br>check_details.discountUserId = payments.userId<br>```<br><br>```<br>check_details.discountUserId = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>check_details.checkId = payments_voided.checkId<br>```<br><br>```<br>check_details.g_CustId = payments_voided.customerId<br>```<br><br>```<br>check_details.p_CustId = payments_voided.customerId<br>```<br><br>```<br>check_details.s_CustId = payments_voided.customerId<br>```<br><br>```<br>check_details.discountUserId = payments_voided.userId<br>```<br><br>```<br>check_details.discountUserId = payments_voided.voidUser<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>check_details.checkId = reservations.checkId<br>```<br><br>```<br>check_details.g_CustId = reservations.customersId<br>```<br><br>```<br>check_details.p_CustId = reservations.customersId<br>```<br><br>```<br>check_details.s_CustId = reservations.customersId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>check_details.g_CustId = event_heat_details.customerId<br>```<br><br>```<br>check_details.p_CustId = event_heat_details.customerId<br>```<br><br>```<br>check_details.s_CustId = event_heat_details.customerId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>check_details.g_CustId = heat_main_details.customerId<br>```<br><br>```<br>check_details.p_CustId = heat_main_details.customerId<br>```<br><br>```<br>check_details.s_CustId = heat_main_details.customerId<br>```<br><br>```<br>check_details.discountUserId = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>check_details.g_CustId = memberships.customerId<br>```<br><br>```<br>check_details.p_CustId = memberships.customerId<br>```<br><br>```<br>check_details.s_CustId = memberships.customerId<br>```<br><br>```<br>check_details.discountUserId = memberships.byUserId<br>``` |
| [discount_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#discount-types) | ```<br>check_details.discountId = discount_types.discountId<br>``` |
| [booking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking) | ```<br>check_details.productId = booking.productsId<br>``` |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>check_details.productId = booking_availability.products.productsId<br>``` |
| [event_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-types) | ```<br>check_details.productId = event_types.onlineProductId<br>``` |
| [products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products) | ```<br>check_details.productId = products.productId<br>```<br><br>```<br>check_details.taxId = products.taxId<br>``` |
| [taxes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#taxes) | ```<br>check_details.taxId = taxes.taxId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>check_details.discountUserId = event_tasks.completedBy<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>check_details.discountUserId = users.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>check_details.discountUserId = event_reservations.userId<br>``` |

check\_details table schema

| **calculateType**<br><br><br>INTEGER |
| --- |
| **checkDetailId**<br><br><br>INTEGER |
| **checkId**<br><br><br>INTEGER |
| **createdDate**<br><br><br>DATE-TIME |
| **discountApplied**<br><br><br>NUMBER |
| **discountDesc**<br><br><br>STRING |
| **discountId**<br><br><br>INTEGER |
| **discountNotes**<br><br><br>STRING |
| **discountUserId**<br><br><br>INTEGER |
| **g\_CustId**<br><br><br>INTEGER |
| **g\_Points**<br><br><br>NUMBER |
| **gst**<br><br><br>NUMBER |
| **m\_DaysAdded**<br><br><br>INTEGER |
| **p\_CustId**<br><br><br>INTEGER |
| **p\_Points**<br><br><br>INTEGER |
| **productId**<br><br><br>INTEGER |
| **productName**<br><br><br>STRING |
| **qty**<br><br><br>INTEGER |
| **r\_Points**<br><br><br>INTEGER |
| **s\_CustId**<br><br><br>INTEGER |
| **s\_NoOfLapsOrSeconds**<br><br><br>INTEGER |
| **s\_SaleBy**<br><br><br>INTEGER |
| **s\_Vol**<br><br><br>INTEGER |
| **status**<br><br><br>INTEGER |
| **taxId**<br><br><br>INTEGER |
| **taxPercent**<br><br><br>NUMBER |
| **type**<br><br><br>INTEGER |
| **unitPrice**<br><br><br>NUMBER |
| **unitPrice2**<br><br><br>NUMBER |
| **voidNotes**<br><br><br>STRING |

### checks

The `checks` table contains info about checks, or financial invoices, that have been closed.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | checkId |
| **Replication Key** | closedDate |

checks table foreign keys

| Join checks with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>checks.checkId = check_details.checkId<br>```<br><br>```<br>checks.customerId = check_details.g_CustId<br>```<br><br>```<br>checks.customerId = check_details.p_CustId<br>```<br><br>```<br>checks.customerId = check_details.s_CustId<br>```<br><br>```<br>checks.discountId = check_details.discountId<br>```<br><br>```<br>checks.discountUserId = check_details.discountUserId<br>```<br><br>```<br>checks.userId = check_details.discountUserId<br>``` |
| [event_reservation_links](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-links) | ```<br>checks.checkId = event_reservation_links.checkId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>checks.checkId = gift_card_history.checkId<br>```<br><br>```<br>checks.customerId = gift_card_history.customerId<br>```<br><br>```<br>checks.discountUserId = gift_card_history.userId<br>```<br><br>```<br>checks.userId = gift_card_history.userId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>checks.checkId = payments.checkId<br>```<br><br>```<br>checks.customerId = payments.customerId<br>```<br><br>```<br>checks.discountUserId = payments.userId<br>```<br><br>```<br>checks.userId = payments.userId<br>```<br><br>```<br>checks.discountUserId = payments.voidUser<br>```<br><br>```<br>checks.userId = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>checks.checkId = payments_voided.checkId<br>```<br><br>```<br>checks.customerId = payments_voided.customerId<br>```<br><br>```<br>checks.discountUserId = payments_voided.userId<br>```<br><br>```<br>checks.userId = payments_voided.userId<br>```<br><br>```<br>checks.discountUserId = payments_voided.voidUser<br>```<br><br>```<br>checks.userId = payments_voided.voidUser<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>checks.checkId = reservations.checkId<br>```<br><br>```<br>checks.customerId = reservations.customersId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>checks.customerId = event_heat_details.customerId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>checks.customerId = heat_main_details.customerId<br>```<br><br>```<br>checks.discountUserId = heat_main_details.userId<br>```<br><br>```<br>checks.userId = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>checks.customerId = memberships.customerId<br>```<br><br>```<br>checks.discountUserId = memberships.byUserId<br>```<br><br>```<br>checks.userId = memberships.byUserId<br>``` |
| [discount_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#discount-types) | ```<br>checks.discountId = discount_types.discountId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>checks.discountUserId = event_tasks.completedBy<br>```<br><br>```<br>checks.userId = event_tasks.completedBy<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>checks.discountUserId = users.userId<br>```<br><br>```<br>checks.userId = users.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>checks.discountUserId = event_reservations.userId<br>```<br><br>```<br>checks.userId = event_reservations.userId<br>``` |

checks table schema

| **broker**<br><br><br>STRING |
| --- |
| **checkId**<br><br><br>INTEGER |
| **closedDate**<br><br><br>DATE-TIME |
| **customerId**<br><br><br>INTEGER |
| **discount**<br><br><br>NUMBER |
| **discountId**<br><br><br>INTEGER |
| **discountNotes**<br><br><br>STRING |
| **discountUserId**<br><br><br>INTEGER |
| **fee**<br><br><br>NUMBER |
| **gratuity**<br><br><br>NUMBER |
| **invoiceDate**<br><br><br>DATE-TIME |
| **isTaxExempt**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **openedDate**<br><br><br>DATE-TIME |
| **status**<br><br><br>INTEGER |
| **total**<br><br><br>NUMBER |
| **type**<br><br><br>INTEGER |
| **userId**<br><br><br>INTEGER |

### customers

The `customers` table contains info about the customers for a location.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | customerId |
| **Replication Key** | lastVisited |

customers table schema

| **Address**<br><br><br>STRING |
| --- |
| **Address2**<br><br><br>STRING |
| **City**<br><br><br>STRING |
| **Country**<br><br><br>STRING |
| **Custom1**<br><br><br>STRING |
| **Custom2**<br><br><br>STRING |
| **Custom3**<br><br><br>STRING |
| **Custom4**<br><br><br>STRING |
| **LicenseNumber**<br><br><br>STRING |
| **State**<br><br><br>STRING |
| **Zip**<br><br><br>STRING |
| **accountCreated**<br><br><br>DATE-TIME |
| **birthdate**<br><br><br>DATE-TIME |
| **cardId**<br><br><br>INTEGER |
| **company**<br><br><br>STRING |
| **creditLimit**<br><br><br>NUMBER |
| **creditOnHold**<br><br><br>BOOLEAN |
| **customerId**<br><br><br>INTEGER |
| **deleted**<br><br><br>BOOLEAN |
| **donotemail**<br><br><br>BOOLEAN |
| **email**<br><br><br>STRING |
| **fax**<br><br><br>STRING |
| **firstname**<br><br><br>STRING |
| **gender**<br><br><br>INTEGER |
| **generalNotes**<br><br><br>STRING |
| **howdidyouhearaboutus**<br><br><br>INTEGER |
| **ignoreDOB**<br><br><br>BOOLEAN |
| **isEmployee**<br><br><br>BOOLEAN |
| **isGiftCard**<br><br><br>BOOLEAN |
| **lastVisited**<br><br><br>DATE-TIME |
| **lastname**<br><br><br>STRING |
| **memberShipTextLong**<br><br><br>STRING |
| **membershipStatus**<br><br><br>INTEGER |
| **membershipText**<br><br><br>STRING |
| **mobilephone**<br><br><br>STRING |
| **originalId**<br><br><br>INTEGER |
| **phoneNumber**<br><br><br>STRING |
| **phoneNumber2**<br><br><br>STRING |
| **priceLevel**<br><br><br>INTEGER |
| **privacy1**<br><br><br>BOOLEAN |
| **proskill**<br><br><br>INTEGER |
| **racername**<br><br><br>STRING |
| **status1**<br><br><br>INTEGER |
| **status2**<br><br><br>INTEGER |
| **status3**<br><br><br>INTEGER |
| **status4**<br><br><br>INTEGER |
| **totalRaces**<br><br><br>INTEGER |
| **totalVisits**<br><br><br>INTEGER |
| **waiver**<br><br><br>INTEGER |
| **waiver2**<br><br><br>INTEGER |
| **webUserName**<br><br><br>STRING |

### discount\_types

The `discount_types` table contains info about discount types.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | discountId |

discount\_types table foreign keys

| Join discount\_types with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>discount_types.discountId = check_details.discountId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>discount_types.discountId = checks.discountId<br>``` |
| [product_classes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#product-classes) | ```<br>discount_types.productClassId = product_classes.productClassId<br>``` |
| [products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products) | ```<br>discount_types.productClassId = products.productClassId<br>``` |

discount\_types table schema

| **amount**<br><br><br>NUMBER |
| --- |
| **calculateType**<br><br><br>INTEGER |
| **deleted**<br><br><br>BOOLEAN |
| **description**<br><br><br>STRING |
| **discountId**<br><br><br>INTEGER |
| **enabled**<br><br><br>BOOLEAN |
| **needApproved**<br><br><br>BOOLEAN |
| **productClassId**<br><br><br>INTEGER |

### event\_heat\_details

The `event_heat_details` table contains info about [`customers`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#customers) who have been placed in a queue for a specific [`event`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events).

| **Replication Method** | CDC |
| --- | --- |
| **Primary Keys** | customerId<br><br>eventId |
| **Replication Key** | added |

event\_heat\_details table foreign keys

| Join event\_heat\_details with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>event_heat_details.customerId = check_details.g_CustId<br>```<br><br>```<br>event_heat_details.customerId = check_details.p_CustId<br>```<br><br>```<br>event_heat_details.customerId = check_details.s_CustId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>event_heat_details.customerId = checks.customerId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>event_heat_details.customerId = gift_card_history.customerId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>event_heat_details.customerId = heat_main_details.customerId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>event_heat_details.customerId = memberships.customerId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>event_heat_details.customerId = payments.customerId<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>event_heat_details.customerId = payments_voided.customerId<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>event_heat_details.customerId = reservations.customersId<br>``` |
| [event_rounds](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-rounds) | ```<br>event_heat_details.eventId = event_rounds.eventId<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events) | ```<br>event_heat_details.eventId = events.eventId<br>``` |

event\_heat\_details table schema

| **added**<br><br><br>DATE-TIME |
| --- |
| **customerId**<br><br><br>INTEGER |
| **eventId**<br><br><br>INTEGER |
| **proskill**<br><br><br>INTEGER |
| **roundLoseNum**<br><br><br>INTEGER |
| **totalRaces**<br><br><br>INTEGER |

### event\_heat\_types

The `event_heat_types` table contains info about event type classifications, which are used to look up [`event_rounds`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event_rounds) when creating [`events`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events).

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eventHeatTypeId |

event\_heat\_types table foreign keys

| Join event\_heat\_types with | on |
| --- | --- |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>event_heat_types.heatTypeId = booking_availability.heatTypeId<br>``` |
| [event_rounds](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-rounds) | ```<br>event_heat_types.heatTypeId = event_rounds.heatTypeId<br>``` |
| [heat_main](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main) | ```<br>event_heat_types.heatTypeId = heat_main.type<br>``` |
| [heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-types) | ```<br>event_heat_types.heatTypeId = heat_types.heatTypesId<br>``` |

event\_heat\_types table schema

| **cadetsPerHeat**<br><br><br>INTEGER |
| --- |
| **description**<br><br><br>STRING |
| **eventHeatTypeId**<br><br><br>INTEGER |
| **eventTypeId**<br><br><br>INTEGER |
| **heatTypeId**<br><br><br>INTEGER |
| **heatsPerRacer**<br><br><br>INTEGER |
| **racersPerHeat**<br><br><br>INTEGER |
| **roundNumber**<br><br><br>INTEGER |

### event\_reservation\_links

The `event_reservation_links` table contains lists of [`check`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) and [`reservation`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) IDs, or checks that are linked to event reservations.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eventReservationLinkId |

event\_reservation\_links table foreign keys

| Join event\_reservation\_links with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>event_reservation_links.checkId = check_details.checkId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>event_reservation_links.checkId = checks.checkId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>event_reservation_links.checkId = gift_card_history.checkId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>event_reservation_links.checkId = payments.checkId<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>event_reservation_links.checkId = payments_voided.checkId<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>event_reservation_links.checkId = reservations.checkId<br>```<br><br>```<br>event_reservation_links.reservationId = reservations.onlineBookingReservationsId<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events) | ```<br>event_reservation_links.reservationId = events.reservationId<br>``` |

event\_reservation\_links table schema

| **checkId**<br><br><br>INTEGER |
| --- |
| **eventReservationLinkId**<br><br><br>INTEGER |
| **reservationId**<br><br><br>INTEGER |

### event\_reservation\_types

The `event_reservation_types` table contains info about the descriptions for event reservation types.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eventReservationTypeId |

event\_reservation\_types table foreign keys

| Join event\_reservation\_types with | on |
| --- | --- |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>event_reservation_types.eventReservationTypeId = event_reservations.typeId<br>``` |

event\_reservation\_types table schema

| **description**<br><br><br>STRING |
| --- |
| **eventReservationTypeId**<br><br><br>INTEGER |

### event\_reservations

The `event_reservations` table contains info about event reservations, which are linked to [`events`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events).

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | eventReservationId |
| **Replication Key** | startTime |

event\_reservations table foreign keys

| Join event\_reservations with | on |
| --- | --- |
| [event_reservation_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-types) | ```<br>event_reservations.typeId = event_reservation_types.eventReservationTypeId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>event_reservations.eventReservationId = event_tasks.eventReservationId<br>```<br><br>```<br>event_reservations.mainId = event_tasks.eventReservationId<br>```<br><br>```<br>event_reservations.userId = event_tasks.completedBy<br>``` |
| [event_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-types) | ```<br>event_reservations.eventTypeId = event_types.eventTypeId<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events) | ```<br>event_reservations.eventTypeId = events.eventTypeId<br>``` |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>event_reservations.userId = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>event_reservations.userId = checks.discountUserId<br>```<br><br>```<br>event_reservations.userId = checks.userId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>event_reservations.userId = gift_card_history.userId<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>event_reservations.userId = users.userId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>event_reservations.userId = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>event_reservations.userId = memberships.byUserId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>event_reservations.userId = payments.userId<br>```<br><br>```<br>event_reservations.userId = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>event_reservations.userId = payments_voided.userId<br>```<br><br>```<br>event_reservations.userId = payments_voided.voidUser<br>``` |

event\_reservations table schema

| **allowOnlineReservation**<br><br><br>BOOLEAN |
| --- |
| **deleted**<br><br><br>BOOLEAN |
| **description**<br><br><br>STRING |
| **endTime**<br><br><br>DATE-TIME |
| **eventReservationId**<br><br><br>INTEGER |
| **eventTypeId**<br><br><br>INTEGER |
| **externalSystemId**<br><br><br>INTEGER |
| **isEventClosure**<br><br><br>BOOLEAN |
| **mainId**<br><br><br>INTEGER |
| **minNoOfAdultsPerBooking**<br><br><br>INTEGER |
| **noOfRacers**<br><br><br>INTEGER |
| **notes**<br><br><br>STRING |
| **ptsPerReservation**<br><br><br>INTEGER |
| **repId**<br><br><br>INTEGER |
| **startTime**<br><br><br>DATE-TIME |
| **status**<br><br><br>INTEGER |
| **subject**<br><br><br>STRING |
| **typeId**<br><br><br>INTEGER |
| **userId**<br><br><br>INTEGER |

### event\_rounds

The `event_rounds` table contains info about event rounds. This table acts as a link between [`events`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events) and their corresponding rounds in the [`heat_main`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat_main).

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eventRoundId |

event\_rounds table foreign keys

| Join event\_rounds with | on |
| --- | --- |
| [heat_main](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main) | ```<br>event_rounds.eventRoundId = heat_main.eventRound<br>```<br><br>```<br>event_rounds.heatTypeId = heat_main.type<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>event_rounds.eventId = event_heat_details.eventId<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events) | ```<br>event_rounds.eventId = events.eventId<br>``` |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>event_rounds.heatTypeId = booking_availability.heatTypeId<br>``` |
| [event_heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-types) | ```<br>event_rounds.heatTypeId = event_heat_types.heatTypeId<br>``` |
| [heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-types) | ```<br>event_rounds.heatTypeId = heat_types.heatTypesId<br>``` |

event\_rounds table schema

| **cadetsPerHeat**<br><br><br>INTEGER |
| --- |
| **eventId**<br><br><br>INTEGER |
| **eventRoundId**<br><br><br>INTEGER |
| **heatDescription**<br><br><br>STRING |
| **heatTypeId**<br><br><br>INTEGER |
| **heatsPerRacer**<br><br><br>INTEGER |
| **racersPerHeat**<br><br><br>INTEGER |
| **roundNumber**<br><br><br>INTEGER |

### event\_statuses

The `event_statuses` table contains info about event statuses, which are statuses assigned to [`event_reservations`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event_reservations).

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eventStatusId |
| **Useful links** |  |

event\_statuses table schema

| **colorId**<br><br><br>INTEGER |
| --- |
| **eventStatusId**<br><br><br>INTEGER |
| **seq**<br><br><br>INTEGER |
| **status**<br><br><br>STRING |

### event\_task\_types

The `event_task_types` table contains info about event task types, which are [`event_tasks`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event_tasks) to be tracked for completion.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eventTaskId |
| **Useful links** |  |

event\_task\_types table schema

| **deleted**<br><br><br>BOOLEAN |
| --- |
| **description**<br><br><br>STRING |
| **eventTaskId**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **seq**<br><br><br>INTEGER |

### event\_tasks

The `event_tasks` table contains info about the tasks to be completed for a given [`event_reservation`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event_reservations).

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | eventTaskId |
| **Replication Key** | completedAt |

event\_tasks table foreign keys

| Join event\_tasks with | on |
| --- | --- |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>event_tasks.eventReservationId = event_reservations.eventReservationId<br>```<br><br>```<br>event_tasks.eventReservationId = event_reservations.mainId<br>```<br><br>```<br>event_tasks.completedBy = event_reservations.userId<br>``` |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>event_tasks.completedBy = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>event_tasks.completedBy = checks.discountUserId<br>```<br><br>```<br>event_tasks.completedBy = checks.userId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>event_tasks.completedBy = gift_card_history.userId<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>event_tasks.completedBy = users.userId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>event_tasks.completedBy = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>event_tasks.completedBy = memberships.byUserId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>event_tasks.completedBy = payments.userId<br>```<br><br>```<br>event_tasks.completedBy = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>event_tasks.completedBy = payments_voided.userId<br>```<br><br>```<br>event_tasks.completedBy = payments_voided.voidUser<br>``` |

event\_tasks table schema

| **completedAt**<br><br><br>DATE-TIME |
| --- |
| **completedBy**<br><br><br>INTEGER |
| **eventReservationId**<br><br><br>INTEGER |
| **eventTaskId**<br><br><br>INTEGER |
| **eventTaskTypeId**<br><br><br>INTEGER |

### event\_types

The `event_types` table contains info about event types.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eventTypeId |

event\_types table foreign keys

| Join event\_types with | on |
| --- | --- |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>event_types.eventTypeId = event_reservations.eventTypeId<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events) | ```<br>event_types.eventTypeId = events.eventTypeId<br>``` |
| [booking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking) | ```<br>event_types.onlineProductId = booking.productsId<br>``` |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>event_types.onlineProductId = booking_availability.products.productsId<br>``` |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>event_types.onlineProductId = check_details.productId<br>``` |
| [products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products) | ```<br>event_types.onlineProductId = products.productId<br>``` |
| [heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-types) | ```<br>event_types.trackId = heat_types.trackId<br>``` |

event\_types table schema

| **deleted**<br><br><br>BOOLEAN |
| --- |
| **description**<br><br><br>STRING |
| **displayAtRegistration**<br><br><br>BOOLEAN |
| **enabled**<br><br><br>BOOLEAN |
| **eventTypeId**<br><br><br>INTEGER |
| **eventTypeName**<br><br><br>STRING |
| **eventTypeTheme**<br><br><br>INTEGER |
| **memberOnly**<br><br><br>BOOLEAN |
| **onlineProductId**<br><br><br>INTEGER |
| **ptsPerReservation**<br><br><br>INTEGER |
| **trackId**<br><br><br>INTEGER |

### events

The `events` table contains info about events.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | eventId |
| **Replication Key** | eventScheduledTime |

events table foreign keys

| Join events with | on |
| --- | --- |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>events.eventTypeId = event_reservations.eventTypeId<br>``` |
| [event_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-types) | ```<br>events.eventTypeId = event_types.eventTypeId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>events.eventId = event_heat_details.eventId<br>``` |
| [event_rounds](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-rounds) | ```<br>events.eventId = event_rounds.eventId<br>``` |
| [event_reservation_links](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-links) | ```<br>events.reservationId = event_reservation_links.reservationId<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>events.reservationId = reservations.onlineBookingReservationsId<br>``` |

events table schema

| **createdHeatSpots**<br><br><br>INTEGER |
| --- |
| **createdHeatTime**<br><br><br>DATE-TIME |
| **eventDesc**<br><br><br>STRING |
| **eventDuration**<br><br><br>INTEGER |
| **eventId**<br><br><br>INTEGER |
| **eventNotes**<br><br><br>STRING |
| **eventScheduledTime**<br><br><br>DATE-TIME |
| **eventTheme**<br><br><br>INTEGER |
| **eventTypeId**<br><br><br>INTEGER |
| **eventTypeName**<br><br><br>STRING |
| **memberOnly**<br><br><br>BOOLEAN |
| **reservationId**<br><br><br>INTEGER |
| **totalRacers**<br><br><br>INTEGER |
| **trackNo**<br><br><br>INTEGER |

### gift\_card\_history

The `gift_card_history` table acts as a transactional log for keeping track of each change that occurs with gift cards.

Information note**Note**: In Club Speed, each gift card is registered as a [`customer`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#customers). This means that each gift card identifier should be considered a `customerId` in this table.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | giftCardHistoryId |
| **Replication Key** | transactionDate |

gift\_card\_history table foreign keys

| Join gift\_card\_history with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>gift_card_history.checkDetailId = check_details.checkDetailId<br>```<br><br>```<br>gift_card_history.checkId = check_details.checkId<br>```<br><br>```<br>gift_card_history.customerId = check_details.g_CustId<br>```<br><br>```<br>gift_card_history.customerId = check_details.p_CustId<br>```<br><br>```<br>gift_card_history.customerId = check_details.s_CustId<br>```<br><br>```<br>gift_card_history.userId = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>gift_card_history.checkId = checks.checkId<br>```<br><br>```<br>gift_card_history.customerId = checks.customerId<br>```<br><br>```<br>gift_card_history.userId = checks.discountUserId<br>```<br><br>```<br>gift_card_history.userId = checks.userId<br>``` |
| [event_reservation_links](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-links) | ```<br>gift_card_history.checkId = event_reservation_links.checkId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>gift_card_history.checkId = payments.checkId<br>```<br><br>```<br>gift_card_history.customerId = payments.customerId<br>```<br><br>```<br>gift_card_history.userId = payments.userId<br>```<br><br>```<br>gift_card_history.userId = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>gift_card_history.checkId = payments_voided.checkId<br>```<br><br>```<br>gift_card_history.customerId = payments_voided.customerId<br>```<br><br>```<br>gift_card_history.userId = payments_voided.userId<br>```<br><br>```<br>gift_card_history.userId = payments_voided.voidUser<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>gift_card_history.checkId = reservations.checkId<br>```<br><br>```<br>gift_card_history.customerId = reservations.customersId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>gift_card_history.customerId = event_heat_details.customerId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>gift_card_history.customerId = heat_main_details.customerId<br>```<br><br>```<br>gift_card_history.userId = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>gift_card_history.customerId = memberships.customerId<br>```<br><br>```<br>gift_card_history.userId = memberships.byUserId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>gift_card_history.userId = event_tasks.completedBy<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>gift_card_history.userId = users.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>gift_card_history.userId = event_reservations.userId<br>``` |

gift\_card\_history table schema

| **checkDetailId**<br><br><br>INTEGER |
| --- |
| **checkId**<br><br><br>INTEGER |
| **customerId**<br><br><br>INTEGER |
| **giftCardHistoryId**<br><br><br>INTEGER |
| **ipAddress**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **points**<br><br><br>NUMBER |
| **transactionDate**<br><br><br>DATE-TIME |
| **type**<br><br><br>INTEGER |
| **userId**<br><br><br>INTEGER |

### heat\_main

The `heat_main` table contains info about finished heat mains, which are instances of races on the standard venue calendar.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | heatId |
| **Replication Key** | finish |

heat\_main table foreign keys

| Join heat\_main with | on |
| --- | --- |
| [event_rounds](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-rounds) | ```<br>heat_main.eventRound = event_rounds.eventRoundId<br>```<br><br>```<br>heat_main.type = event_rounds.heatTypeId<br>``` |
| [booking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking) | ```<br>heat_main.heatId = booking.heatId<br>``` |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>heat_main.heatId = booking_availability.heatId<br>```<br><br>```<br>heat_main.heatId = booking_availability.heatSpotsAvailableCombined<br>```<br><br>```<br>heat_main.type = booking_availability.heatTypeId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>heat_main.heatId = heat_main_details.heatId<br>``` |
| [event_heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-types) | ```<br>heat_main.type = event_heat_types.heatTypeId<br>``` |
| [heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-types) | ```<br>heat_main.type = heat_types.heatTypesId<br>``` |

heat\_main table schema

| **beginning**<br><br><br>DATE-TIME |
| --- |
| **eventRound**<br><br><br>INTEGER |
| **finish**<br><br><br>DATE-TIME |
| **heatColor**<br><br><br>INTEGER |
| **heatId**<br><br><br>INTEGER |
| **lapsOrMinutes**<br><br><br>INTEGER |
| **memberOnly**<br><br><br>BOOLEAN |
| **notes**<br><br><br>STRING |
| **numberOfReservation**<br><br><br>INTEGER |
| **pointsNeeded**<br><br><br>INTEGER |
| **raceBy**<br><br><br>INTEGER |
| **racersPerHeat**<br><br><br>INTEGER |
| **scheduleDuration**<br><br><br>INTEGER |
| **scheduledTime**<br><br><br>DATE-TIME |
| **speedLevel**<br><br><br>INTEGER |
| **status**<br><br><br>INTEGER |
| **track**<br><br><br>INTEGER |
| **type**<br><br><br>INTEGER |
| **winBy**<br><br><br>INTEGER |

### heat\_main\_details

The `heat_main_details` table contains info about customers that were entered into finished heats.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Keys** | customerId<br><br>heatId |

heat\_main\_details table foreign keys

| Join heat\_main\_details with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>heat_main_details.customerId = check_details.g_CustId<br>```<br><br>```<br>heat_main_details.customerId = check_details.p_CustId<br>```<br><br>```<br>heat_main_details.customerId = check_details.s_CustId<br>```<br><br>```<br>heat_main_details.userId = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>heat_main_details.customerId = checks.customerId<br>```<br><br>```<br>heat_main_details.userId = checks.discountUserId<br>```<br><br>```<br>heat_main_details.userId = checks.userId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>heat_main_details.customerId = event_heat_details.customerId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>heat_main_details.customerId = gift_card_history.customerId<br>```<br><br>```<br>heat_main_details.userId = gift_card_history.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>heat_main_details.customerId = memberships.customerId<br>```<br><br>```<br>heat_main_details.userId = memberships.byUserId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>heat_main_details.customerId = payments.customerId<br>```<br><br>```<br>heat_main_details.userId = payments.userId<br>```<br><br>```<br>heat_main_details.userId = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>heat_main_details.customerId = payments_voided.customerId<br>```<br><br>```<br>heat_main_details.userId = payments_voided.userId<br>```<br><br>```<br>heat_main_details.userId = payments_voided.voidUser<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>heat_main_details.customerId = reservations.customersId<br>``` |
| [booking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking) | ```<br>heat_main_details.heatId = booking.heatId<br>``` |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>heat_main_details.heatId = booking_availability.heatId<br>```<br><br>```<br>heat_main_details.heatId = booking_availability.heatSpotsAvailableCombined<br>``` |
| [heat_main](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main) | ```<br>heat_main_details.heatId = heat_main.heatId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>heat_main_details.userId = event_tasks.completedBy<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>heat_main_details.userId = users.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>heat_main_details.userId = event_reservations.userId<br>``` |

heat\_main\_details table schema

| **autoNo**<br><br><br>INTEGER |
| --- |
| **customerId**<br><br><br>INTEGER |
| **finishPosition**<br><br><br>INTEGER |
| **firstTime**<br><br><br>BOOLEAN |
| **groupFinishPosition**<br><br><br>INTEGER |
| **groupId**<br><br><br>INTEGER |
| **heatId**<br><br><br>INTEGER |
| **lineUpPosition**<br><br><br>INTEGER |
| **pointHistoryId**<br><br><br>INTEGER |
| **positionEditedDate**<br><br><br>DATE-TIME |
| **proskill**<br><br><br>INTEGER |
| **proskillDiff**<br><br><br>INTEGER |
| **scores**<br><br><br>NUMBER |
| **timeAdded**<br><br><br>DATE-TIME |
| **userId**<br><br><br>INTEGER |

### heat\_types

The `heat_types` table contains info about heat types.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | heatTypesId |

heat\_types table foreign keys

| Join heat\_types with | on |
| --- | --- |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>heat_types.heatTypesId = booking_availability.heatTypeId<br>``` |
| [event_heat_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-types) | ```<br>heat_types.heatTypesId = event_heat_types.heatTypeId<br>``` |
| [event_rounds](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-rounds) | ```<br>heat_types.heatTypesId = event_rounds.heatTypeId<br>``` |
| [heat_main](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main) | ```<br>heat_types.heatTypesId = heat_main.type<br>``` |
| [event_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-types) | ```<br>heat_types.trackId = event_types.trackId<br>``` |

heat\_types table schema

| **cannotBelow**<br><br><br>INTEGER |
| --- |
| **cannotExceed**<br><br><br>INTEGER |
| **cost**<br><br><br>INTEGER |
| **deleted**<br><br><br>BOOLEAN |
| **enabled**<br><br><br>BOOLEAN |
| **heatTypesId**<br><br><br>INTEGER |
| **isEventHeatOnly**<br><br><br>BOOLEAN |
| **isPracticeHeat**<br><br><br>BOOLEAN |
| **lapsOrMinutes**<br><br><br>INTEGER |
| **memberOnly**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **raceBy**<br><br><br>INTEGER |
| **racersPerHeat**<br><br><br>INTEGER |
| **scheduleDuration**<br><br><br>INTEGER |
| **speedLevel**<br><br><br>INTEGER |
| **trackId**<br><br><br>INTEGER |
| **winBy**<br><br><br>INTEGER |

### membership\_types

The `membership_types` table contains info about memberships.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | membershipTypeId |

membership\_types table foreign keys

| Join membership\_types with | on |
| --- | --- |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>membership_types.membershipTypeId = memberships.membershipTypeId<br>``` |

membership\_types table schema

| **description**<br><br><br>STRING |
| --- |
| **enabled**<br><br><br>INTEGER |
| **expirationType**<br><br><br>INTEGER |
| **expires**<br><br><br>BOOLEAN |
| **membershipTypeId**<br><br><br>INTEGER |
| **priceLevel**<br><br><br>INTEGER |
| **seq**<br><br><br>INTEGER |

### memberships

The `memberships` table contains info about memberships, which is a pairing of a [`customer`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#customers) and [`membership_type`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#membership_types).

| **Replication Method** | CDC |
| --- | --- |
| **Primary Keys** | customerId<br><br>membershipTypeId |
| **Replication Key** | changed |

memberships table foreign keys

| Join memberships with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>memberships.customerId = check_details.g_CustId<br>```<br><br>```<br>memberships.customerId = check_details.p_CustId<br>```<br><br>```<br>memberships.customerId = check_details.s_CustId<br>```<br><br>```<br>memberships.byUserId = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>memberships.customerId = checks.customerId<br>```<br><br>```<br>memberships.byUserId = checks.discountUserId<br>```<br><br>```<br>memberships.byUserId = checks.userId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>memberships.customerId = event_heat_details.customerId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>memberships.customerId = gift_card_history.customerId<br>```<br><br>```<br>memberships.byUserId = gift_card_history.userId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>memberships.customerId = heat_main_details.customerId<br>```<br><br>```<br>memberships.byUserId = heat_main_details.userId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>memberships.customerId = payments.customerId<br>```<br><br>```<br>memberships.byUserId = payments.userId<br>```<br><br>```<br>memberships.byUserId = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>memberships.customerId = payments_voided.customerId<br>```<br><br>```<br>memberships.byUserId = payments_voided.userId<br>```<br><br>```<br>memberships.byUserId = payments_voided.voidUser<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>memberships.customerId = reservations.customersId<br>``` |
| [membership_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#membership-types) | ```<br>memberships.membershipTypeId = membership_types.membershipTypeId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>memberships.byUserId = event_tasks.completedBy<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>memberships.byUserId = users.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>memberships.byUserId = event_reservations.userId<br>``` |

memberships table schema

| **byUserId**<br><br><br>INTEGER |
| --- |
| **changed**<br><br><br>DATE-TIME |
| **customerId**<br><br><br>INTEGER |
| **expiration**<br><br><br>DATE-TIME |
| **membershipTypeId**<br><br><br>INTEGER |
| **notes**<br><br><br>STRING |

### payments

The `payments` table contains info about collected payments.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | paymentId |
| **Replication Key** | payDate |

payments table foreign keys

| Join payments with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>payments.checkId = check_details.checkId<br>```<br><br>```<br>payments.customerId = check_details.g_CustId<br>```<br><br>```<br>payments.customerId = check_details.p_CustId<br>```<br><br>```<br>payments.customerId = check_details.s_CustId<br>```<br><br>```<br>payments.userId = check_details.discountUserId<br>```<br><br>```<br>payments.voidUser = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>payments.checkId = checks.checkId<br>```<br><br>```<br>payments.customerId = checks.customerId<br>```<br><br>```<br>payments.userId = checks.discountUserId<br>```<br><br>```<br>payments.voidUser = checks.discountUserId<br>```<br><br>```<br>payments.userId = checks.userId<br>```<br><br>```<br>payments.voidUser = checks.userId<br>``` |
| [event_reservation_links](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-links) | ```<br>payments.checkId = event_reservation_links.checkId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>payments.checkId = gift_card_history.checkId<br>```<br><br>```<br>payments.customerId = gift_card_history.customerId<br>```<br><br>```<br>payments.userId = gift_card_history.userId<br>```<br><br>```<br>payments.voidUser = gift_card_history.userId<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>payments.checkId = payments_voided.checkId<br>```<br><br>```<br>payments.customerId = payments_voided.customerId<br>```<br><br>```<br>payments.paymentId = payments_voided.paymentId<br>```<br><br>```<br>payments.userId = payments_voided.userId<br>```<br><br>```<br>payments.voidUser = payments_voided.userId<br>```<br><br>```<br>payments.userId = payments_voided.voidUser<br>```<br><br>```<br>payments.voidUser = payments_voided.voidUser<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>payments.checkId = reservations.checkId<br>```<br><br>```<br>payments.customerId = reservations.customersId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>payments.customerId = event_heat_details.customerId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>payments.customerId = heat_main_details.customerId<br>```<br><br>```<br>payments.userId = heat_main_details.userId<br>```<br><br>```<br>payments.voidUser = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>payments.customerId = memberships.customerId<br>```<br><br>```<br>payments.userId = memberships.byUserId<br>```<br><br>```<br>payments.voidUser = memberships.byUserId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>payments.userId = event_tasks.completedBy<br>```<br><br>```<br>payments.voidUser = event_tasks.completedBy<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>payments.userId = users.userId<br>```<br><br>```<br>payments.voidUser = users.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>payments.userId = event_reservations.userId<br>```<br><br>```<br>payments.voidUser = event_reservations.userId<br>``` |

payments table schema

| **cardType**<br><br><br>STRING |
| --- |
| **checkId**<br><br><br>INTEGER |
| **customerId**<br><br><br>INTEGER |
| **extCardType**<br><br><br>STRING |
| **payAmount**<br><br><br>NUMBER |
| **payDate**<br><br><br>DATE-TIME |
| **payStatus**<br><br><br>INTEGER |
| **payTax**<br><br><br>NUMBER |
| **payTerminal**<br><br><br>STRING |
| **payType**<br><br><br>INTEGER |
| **paymentId**<br><br><br>INTEGER |
| **transaction**<br><br><br>STRING |
| **userId**<br><br><br>INTEGER |
| **voidDate**<br><br><br>DATE-TIME |
| **voidNotes**<br><br><br>STRING |
| **voidTerminal**<br><br><br>STRING |
| **voidUser**<br><br><br>INTEGER |

### payments\_voided

The `payments_voided` table contains info about voided [`payments`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments).

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | paymentId |
| **Replication Key** | voidDate |

payments\_voided table foreign keys

| Join payments\_voided with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>payments_voided.checkId = check_details.checkId<br>```<br><br>```<br>payments_voided.customerId = check_details.g_CustId<br>```<br><br>```<br>payments_voided.customerId = check_details.p_CustId<br>```<br><br>```<br>payments_voided.customerId = check_details.s_CustId<br>```<br><br>```<br>payments_voided.userId = check_details.discountUserId<br>```<br><br>```<br>payments_voided.voidUser = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>payments_voided.checkId = checks.checkId<br>```<br><br>```<br>payments_voided.customerId = checks.customerId<br>```<br><br>```<br>payments_voided.userId = checks.discountUserId<br>```<br><br>```<br>payments_voided.voidUser = checks.discountUserId<br>```<br><br>```<br>payments_voided.userId = checks.userId<br>```<br><br>```<br>payments_voided.voidUser = checks.userId<br>``` |
| [event_reservation_links](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-links) | ```<br>payments_voided.checkId = event_reservation_links.checkId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>payments_voided.checkId = gift_card_history.checkId<br>```<br><br>```<br>payments_voided.customerId = gift_card_history.customerId<br>```<br><br>```<br>payments_voided.userId = gift_card_history.userId<br>```<br><br>```<br>payments_voided.voidUser = gift_card_history.userId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>payments_voided.checkId = payments.checkId<br>```<br><br>```<br>payments_voided.customerId = payments.customerId<br>```<br><br>```<br>payments_voided.paymentId = payments.paymentId<br>```<br><br>```<br>payments_voided.userId = payments.userId<br>```<br><br>```<br>payments_voided.voidUser = payments.userId<br>```<br><br>```<br>payments_voided.userId = payments.voidUser<br>```<br><br>```<br>payments_voided.voidUser = payments.voidUser<br>``` |
| [reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#reservations) | ```<br>payments_voided.checkId = reservations.checkId<br>```<br><br>```<br>payments_voided.customerId = reservations.customersId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>payments_voided.customerId = event_heat_details.customerId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>payments_voided.customerId = heat_main_details.customerId<br>```<br><br>```<br>payments_voided.userId = heat_main_details.userId<br>```<br><br>```<br>payments_voided.voidUser = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>payments_voided.customerId = memberships.customerId<br>```<br><br>```<br>payments_voided.userId = memberships.byUserId<br>```<br><br>```<br>payments_voided.voidUser = memberships.byUserId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>payments_voided.userId = event_tasks.completedBy<br>```<br><br>```<br>payments_voided.voidUser = event_tasks.completedBy<br>``` |
| [users](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#users) | ```<br>payments_voided.userId = users.userId<br>```<br><br>```<br>payments_voided.voidUser = users.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>payments_voided.userId = event_reservations.userId<br>```<br><br>```<br>payments_voided.voidUser = event_reservations.userId<br>``` |

payments\_voided table schema

| **cardType**<br><br><br>STRING |
| --- |
| **checkId**<br><br><br>INTEGER |
| **customerId**<br><br><br>INTEGER |
| **extCardType**<br><br><br>STRING |
| **payAmount**<br><br><br>NUMBER |
| **payDate**<br><br><br>DATE-TIME |
| **payStatus**<br><br><br>INTEGER |
| **payTax**<br><br><br>NUMBER |
| **payTerminal**<br><br><br>STRING |
| **payType**<br><br><br>INTEGER |
| **paymentId**<br><br><br>INTEGER |
| **transaction**<br><br><br>STRING |
| **userId**<br><br><br>INTEGER |
| **voidDate**<br><br><br>DATE-TIME |
| **voidNotes**<br><br><br>STRING |
| **voidTerminal**<br><br><br>STRING |
| **voidUser**<br><br><br>INTEGER |

### product\_classes

The `product_classes` table contains info about classes applied to [`products`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products). Product classes determine how products are aggregated in Club Speed’s reporting system.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | productClassId |

product\_classes table foreign keys

| Join product\_classes with | on |
| --- | --- |
| [discount_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#discount-types) | ```<br>product_classes.productClassId = discount_types.productClassId<br>``` |
| [products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products) | ```<br>product_classes.productClassId = products.productClassId<br>``` |

product\_classes table schema

| **deleted**<br><br><br>BOOLEAN |
| --- |
| **description**<br><br><br>STRING |
| **exportName**<br><br><br>STRING |
| **productClassId**<br><br><br>INTEGER |

### products

The `products` table contains info about products.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | productId |

products table foreign keys

| Join products with | on |
| --- | --- |
| [discount_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#discount-types) | ```<br>products.productClassId = discount_types.productClassId<br>``` |
| [product_classes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#product-classes) | ```<br>products.productClassId = product_classes.productClassId<br>``` |
| [booking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking) | ```<br>products.productId = booking.productsId<br>``` |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>products.productId = booking_availability.products.productsId<br>``` |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>products.productId = check_details.productId<br>```<br><br>```<br>products.taxId = check_details.taxId<br>``` |
| [event_types](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-types) | ```<br>products.productId = event_types.onlineProductId<br>``` |
| [taxes](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#taxes) | ```<br>products.taxId = taxes.taxId<br>``` |

products table schema

| **deleted**<br><br><br>BOOLEAN |
| --- |
| **description**<br><br><br>STRING |
| **enabled**<br><br><br>BOOLEAN |
| **g\_Points**<br><br><br>NUMBER |
| **p\_Points**<br><br><br>NUMBER |
| **price1**<br><br><br>NUMBER |
| **price2**<br><br><br>NUMBER |
| **priceCadet**<br><br><br>NUMBER |
| **productClassId**<br><br><br>INTEGER |
| **productId**<br><br><br>INTEGER |
| **productType**<br><br><br>INTEGER |
| **r\_Points**<br><br><br>NUMBER |
| **taxId**<br><br><br>INTEGER |

### reservations

The `reservations` table contains info about reservations. Reservations are indications that a [`customer`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#customers) is looking to purchase a spot in a [`booking`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking_availability) or has already purchased a spot.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | onlineBookingReservationsId |
| **Replication Key** | createdAt |

reservations table foreign keys

| Join reservations with | on |
| --- | --- |
| [booking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking) | ```<br>reservations.onlineBookingsId = booking.onlineBookingsId<br>``` |
| [booking_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#booking-availability) | ```<br>reservations.onlineBookingsId = booking_availability.products.onlineBookingsId<br>``` |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>reservations.checkId = check_details.checkId<br>```<br><br>```<br>reservations.customersId = check_details.g_CustId<br>```<br><br>```<br>reservations.customersId = check_details.p_CustId<br>```<br><br>```<br>reservations.customersId = check_details.s_CustId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>reservations.checkId = checks.checkId<br>```<br><br>```<br>reservations.customersId = checks.customerId<br>``` |
| [event_reservation_links](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservation-links) | ```<br>reservations.checkId = event_reservation_links.checkId<br>```<br><br>```<br>reservations.onlineBookingReservationsId = event_reservation_links.reservationId<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>reservations.checkId = gift_card_history.checkId<br>```<br><br>```<br>reservations.customersId = gift_card_history.customerId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>reservations.checkId = payments.checkId<br>```<br><br>```<br>reservations.customersId = payments.customerId<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>reservations.checkId = payments_voided.checkId<br>```<br><br>```<br>reservations.customersId = payments_voided.customerId<br>``` |
| [event_heat_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-heat-details) | ```<br>reservations.customersId = event_heat_details.customerId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>reservations.customersId = heat_main_details.customerId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>reservations.customersId = memberships.customerId<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#events) | ```<br>reservations.onlineBookingReservationsId = events.reservationId<br>``` |

reservations table schema

| **checkId**<br><br><br>INTEGER |
| --- |
| **createdAt**<br><br><br>DATE-TIME |
| **customersId**<br><br><br>INTEGER |
| **expiresAt**<br><br><br>DATE-TIME |
| **onlineBookingReservationStatusId**<br><br><br>INTEGER |
| **onlineBookingReservationsId**<br><br><br>INTEGER |
| **onlineBookingsId**<br><br><br>INTEGER |
| **quantity**<br><br><br>INTEGER |
| **sessionId**<br><br><br>STRING |

### sources

The `sources` table contains info about how customers find and register at venues.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | sourceId |

sources table schema

| **deleted**<br><br><br>BOOLEAN |
| --- |
| **enabled**<br><br><br>BOOLEAN |
| **locationId**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **seq**<br><br><br>INTEGER |
| **sourceId**<br><br><br>INTEGER |

### taxes

The `taxes` table contains info about tax calculations, which are typically applied to [`products`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products).

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | taxId |

taxes table foreign keys

| Join taxes with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>taxes.taxId = check_details.taxId<br>``` |
| [products](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#products) | ```<br>taxes.taxId = products.taxId<br>``` |

taxes table schema

| **amount**<br><br><br>NUMBER |
| --- |
| **deleted**<br><br><br>BOOLEAN |
| **description**<br><br><br>STRING |
| **gst**<br><br><br>NUMBER |
| **taxId**<br><br><br>INTEGER |

### users

The `users` table contains info about employees and system users. **Note**: While some employees may also be [`customers`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#customers), this table does not contain customer information.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | userId |

users table foreign keys

| Join users with | on |
| --- | --- |
| [check_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#check-details) | ```<br>users.userId = check_details.discountUserId<br>``` |
| [checks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#checks) | ```<br>users.userId = checks.discountUserId<br>```<br><br>```<br>users.userId = checks.userId<br>``` |
| [event_tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-tasks) | ```<br>users.userId = event_tasks.completedBy<br>``` |
| [gift_card_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#gift-card-history) | ```<br>users.userId = gift_card_history.userId<br>``` |
| [event_reservations](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#event-reservations) | ```<br>users.userId = event_reservations.userId<br>``` |
| [heat_main_details](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#heat-main-details) | ```<br>users.userId = heat_main_details.userId<br>``` |
| [memberships](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#memberships) | ```<br>users.userId = memberships.byUserId<br>``` |
| [payments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments) | ```<br>users.userId = payments.userId<br>```<br><br>```<br>users.userId = payments.voidUser<br>``` |
| [payments_voided](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Clubspeed.htm#payments-voided) | ```<br>users.userId = payments_voided.userId<br>```<br><br>```<br>users.userId = payments_voided.voidUser<br>``` |

users table schema

| **cardId**<br><br><br>INTEGER |
| --- |
| **deleted**<br><br><br>BOOLEAN |
| **email**<br><br><br>STRING |
| **empStartDate**<br><br><br>DATE-TIME |
| **enabled**<br><br><br>BOOLEAN |
| **firstname**<br><br><br>STRING |
| **isSystemUser**<br><br><br>BOOLEAN |
| **lastname**<br><br><br>STRING |
| **phone**<br><br><br>STRING |
| **userId**<br><br><br>INTEGER |
| **username**<br><br><br>STRING |