...
We need to include Batch Status attribute in response of API to fetch user enrolled courses (/course/v1/user/enrollment/list/{{userId}}).
/course/v1/user/enrollment/list/{{userId}}?orgDetails=example&fields=status,anyotherfields
Terminology :
- Batch data/batch : This term refers the data related to course batch which will be added in response specifically in batch.
- Standard supported batch data : This term refers the standard data which will be provided irrespective of the query parameter for "fields". For example we can consider batchName, batchStartDate,bacthEndDate as standard batch data for batchDetails.
- Standard supported fields : This term refers field which are supported by API to get in "batch " map . Standard supported fields can be the fields which exist in course batch objects and are not sensitive for exposure.
...