Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Overview:

...

     Provide a new api for un-enrollment of open batch. This api call will be allowed for open batch only. Api request structure will be as follow.

     Url : /api/course/v1/unenroll

 {
"request": {
"userId": "string",
"batchId": "string",
"courseId": "string"
}
}

...

Business Logic:  Check batch type if batch type is open then caller userId (which we get from x-authenticated-user-token) should be same as passed userIds. If batch type is invite-only then call userId should have role of course-mentors.

Accepted solution: 

         solution 1 is accepted and dev team is going to implement it.

Task Ref : 
Jira Legacy
serverSystem JIRA
serverId2207a759-5bc8-39c5-9cd2-aa9ccc1f65dd
keySB-7024

...