Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step-by-Step Guide to Setting Up The Example

Define the Resource Hierarchy

  1. Set Up Resources and Resource Types:

    • Define the hierarchical structure for your resources:

      • Organization > Country > City > Fitness Centre > Rooms.

    • Example:

      • Organization: Your Organization

      • Country: Netherlands

      • City: Amsterdam

      • Fitness Centre: FitZone

      • Room: Entry Level Room

    • Note: There can be multiple resources of the type "Room", "City" , and "Fitness Center" and "Country".

  2. Create

...

  1. Reservation Types:

    • Define a

...

    • reservation type for each class type (e.g., Pilates, Yoga).

    • Create a custom image field for each class type and add an image representing the class.

...

  1. Create Custom Fields Under the Reservation Object:

    • Add the following custom fields to provide detailed information about each activity:

      • Staff_Name__c (Formula Text Field)

      • Room_Name__c (Formula Text Field)

      • Room_Capacity__c (Formula Number Field)

      • City_Location__c (Formula Text Field)

      • Center_Name__c (Formula ext Field)

      • reservation_type_image__c (Custom Image Field)

...

  1. Create Staff Members:

    • Add staff members (instructors) who will be associated with the reservations.

  2. Create Reservations:

    • Create reservations for the classes you want to display on the frontend.

    • Ensure each reservation is linked to the appropriate

...

    • reservation types, staff, and other custom fields.

Note:

  • Ensure that each resource in GoMeddo is marked as 'isActive' and 'Api Visible' to be displayed and available through the API.

  • Ensure that resourcesresources typesstaff and reservation types are set up in GoMeddo. For the booking system to accurately display available gym classes, each class must be created as a reservation within GoMeddo. This step is vital as the SDK relies on these existing reservations to present customers with real-time availability and booking options.

...