def get_schedule(start_date, end_date, other_username = nil)
      params =
        MagicParams.format(
          user_id: @allscripts_username,
          parameter1: format_date_range(start_date, end_date),
          parameter4: other_username
        )
      results = magic("GetSchedule", magic_params: params)
      results["getscheduleinfo"]
    end
def get_schedule(start_date, end_date, other_username = nil)
      params =
        MagicParams.format(
          user_id: @allscripts_username,
          parameter1: format_date_range(start_date, end_date),
          parameter4: other_username
        )
      results = magic("GetSchedule", magic_params: params)
      results["getscheduleinfo"]
    end
a wrapper around GetSchedule, returns appointments scheduled under the
 the user for a given date range

 @param start_date [Date] start date inclusive
 @param end_date [Date] end date inclusive
 @return [Array<Hash>, Array, MagicError] a list of scheduled appointments, an empty array, or an error