Overview:
As of now open batch is allowing user to do the enrollment , but there is no option for un-enrollment.
Problem Statement:
Allow user to do the un-enrollment from open batch , if batch is not closed or user haven't completed it.
Proposed Solution 1 :
Provide a new api for un-enrollment of open batch. Api request structure will be as follow.
{
"request": {
"userId": "string",
"batchId": "string",
"courseId": "string"
}
}
Solution 2 :Once user will un-enroll his/her data will be removed from db.
Provide a new api for un-enrollment for course batch. It will support un-enrollment for open batch and invite only batch both. Participant removal will be decided based on
batch type.
Request structure will be as follow.
{
"request": {
"userIds": ["user1", "user2"],
"batchId": "batch identifier",
"courseId": "course identifier"
}
}