Find section for deleted course

ulrik_sandgren
Community Explorer

I'm writing an integration for our SIS system and I can't find a way to handle deleted courses properly.

The integration enrols students by getting the sections by their section_sis_id and then gets the course and if the status of the course is not completed makes the enrollment.

But if the course has been deleted the integration fails to get the section.

I would like to have the section and then the course and then check if course state is deleted, for the reason to handle this as OK instead of an failure.

Labels (3)
0 Likes