When working with the API to enroll teachers and students in courses, the API does not appear to recognize custom types. It will only enroll 'StudentEnrollment', 'TeacherEnrollment', 'TaEnrollment', 'DesignerEnrollment', and 'ObserverEnrollment.' Is there a way around this?
Solved! Go to Solution.
BTW, the deprecated enrollment[role] still works for now if you want to test using the role name, rather than the id.
Have you tried enrollment[role_id], rather than enrollment[type]?
BTW, the deprecated enrollment[role] still works for now if you want to test using the role name, rather than the id.
That did the trick! Thanks, Peter Love! pklove
Thank you! Much appreciated!!