on 02-15-2024 4:30 PM
Hello SAP SuccessFactors Learning Community,
I've encountered an issue while trying to retrieve competency assessments for completed courses/items using the Learning OData API. Despite having confirmed the presence of competency assessment data in the database, I am unable to get this data through the API endpoint.
Here is the API endpoint I'm using:
/public/user/learningHistory/v1/LearningHistories?$filter=criteria/itemID eq '{{item_id}}'&$select=componentTypeID,componentID,userCompetencyAssessments/competencyID,userCompetencyAssessments/competencyDescription,userCompetencyAssessments/masteryLevel,userCompetencyAssessments/competencyAssessmentDateTimeOffset
From this request, I successfully retrieve componentTypeID, componentID and some other values if mentioned in the select, but the userCompetencyAssessments part of the response does not show any data, despite its availability in the database.
The documentation I've referenced confirms userCompetencyAssessments should provide Competency Assessment Information as part of the Learning OData API, meant to encompass a collection of competency assessments related to user learning history.
I've ensured API permissions are correctly set, checked for any version-specific requirements, and consulted the documentation for any additional parameters or configuration needed but have not found a solution to this issue.
Has anyone faced a similar challenge or can offer insights into why "userCompetencyAssessments" data might not be appearing in the API response, despite being present in the database? Any guidance or suggestions on troubleshooting this issue would be greatly appreciated.
User | Count |
---|---|
78 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.