Symptom
I was trying to execute the API to merge users. The API has been run without any error, but the user still did not get updated.
Environment
SAP SuccessFactors Learning
Cause
It is possible that you have used a wrong URL and/or wrong/multiple field(s) in the command.
Resolution
You need to make sure that you use AI_mergeUsers action, so the correct POST URL should be look like this:
learning/odatav4/public/admin/user-service/v2/AI_mergeUser
There are two different field which could be used:
- UserID
- This is the unique ID of a user in the Learning Management System (LMS). This is recognized within the LMS only. If you want an ID that is recognized throughout SAP SuccessFactors HCM Suite, you want to get the Person GUID.
- PersonGUID
- This is an internally generated, immutable identifier for one person across all of SuccessFactors HCM Suite. This is different from an LMS user ID (often called STUDENT ID). The student ID is used only within the Learning Management System (LMS). It is also different from the PERSON ID, which is used throughout SAP SuccessFactors HCM Suite but is mutable. In most cases, you use the person ID when you want to call a single user throughout the suite.
Both fields have different purposes, so you should carefully choose the right one which would fit the most to your requirements.
If you want to merge the users, then DO NOT use both field in the command. Otherwise, the users won't get updated.
See Also
Keywords
mergeuser, API, AI_mergeUser, , KBA , LOD-SF-LMS-ODA , Web Services OData , LOD-SF-LMS , Learning Management System , Problem