on 2019 Sep 13 12:37 PM
I am trying to get the Learning history of a specific course, but the API request using the "Learning History" service always expects the "targetUserID" value. How to skip this and get all results based on the component Id.
My Request:
https://xxxx.plateau.com/learning/odatav4/public/user/learningHistory/v1/learninghistorys?$filter=(c... eq 'YYY_1807_ssssssssss')&select=componentID&$top=50
Response i am getting:
{ "error": { "code": null, "message": "ERROR: User ID cannot be null\n", "operationStatusDetail": { "status": "FAILED", "operation": null, "warnings": [], "errors": [ { "code": "500", "message": "User ID cannot be null", "fieldName": null } ] } } }
Please help
Request clarification before answering.
As Charles stated, API calls are built to not replace reports. You would have run reports but even then you might need to filter as this could be a lot of data. In case you are looking for full extracts of learning history, I suggest to look at Data Services. https://help.sap.com/viewer/e2f468d6be73499f8b4ceb16a9828d66/latest/en-US/97e84f43505d48088ce5edec12...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response. Does a function exists in Learning module to pull Learning history of all users?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Were you able to find the solution.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.