Overloaded getEntity() with query params