@oneblink/apps-react
    Preparing search index...

    Function handleCancelSchedulingBookingQuerystring

    • Pass in query string parameters after navigation to your app via a valid cancellation link.

      import queryString from 'query-string'

      const query = queryString.parse(window.location.search)

      const bookingToCancel =
      await schedulingService.handleCancelSchedulingBookingQuerystring(query)

      Parameters

      • options: Record<string, unknown>

      Returns {
          cancellationPolicy?: string;
          endTime: Date;
          eventName: string;
          location: string;
          nylasEditHash: string;
          startTime: Date;
          submissionId: string;
          timezone: string;
      }

      • OptionalcancellationPolicy?: string

        The policy to display to users when asked why they are cancelling the booking

      • endTime: Date

        The end time of the booking

      • eventName: string

        The event name

      • location: string

        The location of the event

      • nylasEditHash: string

        The nylas edit hash associated with the booking

      • startTime: Date

        The start time of the booking

      • submissionId: string

        The unique identifier for the submission associated with the booking

      • timezone: string

        The timezone the booking was booked in