get the student's parent through rest api