Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

High level use case

This example provides a starting point for integrating GoMeddo's "room booking" capabilities into your website using the Javascript SDK.

The example demonstrates this by allowing students to book a room for student housing at the Amsterdam Metropolitan University. While focused on student housing bookings, it demonstrates the process and structure needed for a range of room booking scenarios.

Overview of User Interaction on the Frontend

The dashboard of the application lists various available rooms which can be filtered based on room type, price, and group size. Once a user selects a room from available rooms, they can select 'Book Now' on the UI. Users will then be prompted to input their contact information and make their reservation for the selected room.

GoMeddo setup

  • The various rooms are a resource of type room in GoMeddo with descriptions, pricing images, etc, attached to them.

  • The rooms are located in a student housing (Amsterdam Metropolitan University) which is also a resource in GoMeddo.

  • Amsterdam is the city where the rooms are located.

  • Visitors of the room become contacts in Salesforce using reservation contacts.

  • The booking becomes a reservation in GoMeddo of type student housing.

  • The location where the room is available is a resource in GoMeddo with a specific resource type

    • City: Amsterdam is categorized as a city.

    • Student Housing: Amsterdam Metropolitan University is categorized as a student housing.

    • Room: Specific rooms are identified within Amsterdam Metropolitan University such as (e.g., Single Room, Double Room), each with a type of room.

  • Custom Fields Creation: To use and display information from other objects, we must introduce custom fields within the Salesforce reservation object, such as Housing_Location__c, Housing_Features__c, etc. These fields are essential for getting detailed information about each room.

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

Ensure that resourcesresource typesavailability periods, and reservation types are set up in GoMeddo for the booking system to accurately display available rooms. This step is vital as the SDK relies on the setup to present students with real-time availability and booking options to make reservations.

API Key Requirement

To access the SDK’s functionalities, an API key from GoMeddo is required. For instructions on obtaining this key, refer to First time Set-up. Remember to whitelist your domain as a part of the setup process and grant privileged access to the API key.

Link to Github and Wiki

For further information on utilizing the GoMeddo Javascript SDK, visit [GoMeddo JS SDK wiki] and to test the frontend example explore the GitHub repository [].

Visual Overview

Similar use cases

  • Book meeting rooms for corporate events

  • Reserve study rooms in libraries

  • Schedule conference rooms for business meetings

  • Reserve practice rooms for music students

  • Book private rooms for therapy sessions

  • No labels