Can someone please provide and example and result of an api call that get data from MySQl using beans?

Hello,

I've been given the task of creating  a custom endpoint for the api that reads data using sugar beans but I can't seem to get the beans to return anything other than a definition of the bean, null, or [].  Can someone please provide an example and the results so I can see if working? 

Best Regards

  James Palmisano