Added getclassbonusesbyperson function to api