Add courses to User API
We have a regular feed of user data from our student information system (SIS) into Alma. The SIS also holds course data, so we'd like to be able to simply include course enrolment data in the existing feed, rather than set up a separate process.
As well as one process being better than two :-) it's a more practical fit to how the data is available. The current process for course enrolment in Leganto requires us to run one job for added courses and one job for deleted courses. But our SIS can't create a list of courses that have been deleted, so whenever a student changed courses we'd have to delete all their courses, then add all their new ones, and hope they didn't try to access Leganto during the time between the two jobs.
I'd suggest adding a <courses> section to the current /users API. If users upload a feed where <courses> isn't specified, Alma/Leganto would take no action (this would ensure compatibility for all existing uses). But where <courses> is specified then Alma/Leganto would update the user's enrolments to match the list of <course> elements within it.