Overview:
Sunbird un-enroll service is built to facilitate user to un-enroll from an active open batch.
Problem Statement:
How to empower user to un-enroll from an active open batch by their own.
Proposed Solution 1:
We need to construct a new API for the same. This API needs the user to provide valid userid, batchid and courseid to un-enroll them. For this, there is a need to add a new column namely 'isunenrollmentallowed' (boolean) in the table
Unenroll Service API:
URI : "/v1/user/course/batch/unenroll" Request : { "params": { }, "request":{ “userid” : “adjad-asndk-djs73ne-dsmn”, “batchid” : “adhjka-djkah-dfhj-dmnsbd”, “courseid”:”djaskfsk-djashfkja-fsjdfjks-sfdnjskdh” } }