AnsweredAssumed Answered

Enrollment removed after integrating

Question asked by Brian Boggs on Apr 8, 2019
Latest reply on Apr 10, 2019 by Brian Boggs

We have a publisher/subscriber integration set up to create sections and enrollments from our system of record. Recently a few of our enrollments have started to be deleted when we integrate the enrollment.

 

Calling the following api endpoint, we pass the section and the canvas user id with the options listed below. This causes the enrollment that was manually added to be deleted.

 

  • api:
    • /api/v1/sections/:section_id/enrollments
  • options:
    • "enrollment[user_id]": canvasUserId.ToString(CultureInfo.InvariantCulture)
      "enrollment[type]": "StudentEnrollment"
      "enrollment[notify]": "true" 

 

This is not a wide spread issue, and isn't happening for all enrollments (using the same integration).

 

Has anyone else seen this behavior recently?

Is there anything on the canvas side that would delete an enrollment in this situation.

Outcomes