Symptom
We have added ExternalLearningEvents to learningevent-service so that you can call an API to post external learning events to the LMS.
Using this API, you would be now able to record learn an external event for a user. Please note that this can be done by an admin or a supervisor or a user.
Points to Note:
If an Schedule Offering has commerce or approval process, then commerce, approvals and e-signature flows would require further interaction API’s which is currently not in scope.
In one API call an array of up to 10 records
Environment
SuccessFactors LMS
Learning Management System
Resolution
Request Method: POST
Request URLs:
http://[LMS Server Host]/learning/odatav4/public/admin/learningevent-service/v1/ExternalLearningEvents - Used by Admins to record learn external event
http://[LMS Server Host]/learning/odatav4/public/user/learningevent-service/v1/ExternalLearningEvents - Used by users/supervisors(HRBP/Delegates) to record learn external event
Sample Payload:
{
"externalLearningEvents":[ {
"description" :"23911",
"studentID" :"ABC",
"completionDate":1482734966000,
"completionTimeZoneID":"US/Eastern",
"grade":"Test Grade",
"creditHours":7,
"cpeHours":0.5,
"contactHours":0.5,
"totalHours":0.5,
"instructorName":"Test Instructor",
"comments": "Test Comment From Admin"
}]}
Parameters - Required/Optional
# | Parameter Name | Parameter ID | Required |
1 | Description | description | Yes |
2 | Completion Date | completionDate | Yes |
3 | StudentID | userId |
Optional |
4 | Time Zone | completionTimeZone | Yes |
5 | Total Hours | totalHours | Optional |
6 | Contact Hours | contactHours | Optional |
7 | Credit Hours | creditHours | Optional |
8 | CPE Hours | cpeHours | Optional |
9 | Grade | grade | Optional |
10 | Instructor Name | instructorName | Optional |
11 | Comments | Comments | Optional |
For full information on all the OData API available please check our help page : https://help.sap.com/hr_api
Keywords
KBA , LOD-SF-LMS-ODA , Web Services OData , LOD-SF-LMS , Learning Management System , Product Enhancement