...
- Before returning the response , we will iterate over courses objects.
- Get batchId from each courses Object and call API to get bulk batch Details.
- create and populate batchMetaData Map with the requested metadata attributes.
- Append it to the coursesObjectWe will again iterate over UserCourses Object and append the required meta data.
- Do it for all courses Object.
- return the response.
...