Excellent question. I was able to receive an appointment although I was only in the top 20% of my class, but its more of being a well rounded individual. I have a 32 super score ACT, but other than that my grades were not spectacular compared to other candidates.
It also depends on who you may be competing against in your district.