...
For Dissociation Request :- Iterate over all the badgeAssociatedInfo list from course object and check for status flag as true(if present) for the requested badge. Will reset that particular flag to false , adding the new requested badge with status flag as true in course object and update it.
The structure of content is expected as:-
...