Updated code to work with new "StudentDetails" request type