Symptom
When customer try to use below LMS ODATA Learning Plan service API they will get following error : "Invalid API path, please contact Admin to refer to the official API doc"
Learning Plan service API URL with admin details : https://xyz.plateau.com/learning/odatav4/public/admin/learningplan-service/v1/$metadata
Environment
SuccessFactors Learning , Learning Managment System.
Reproducing the Issue
Using below URL will through the error.
Learning Plan service API URL with admin details : https://xyz.plateau.com/learning/odatav4/public/admin/learningplan-service/v1/$metadata
Error : "Invalid API path, please contact Admin to refer to the official API doc".
Cause
Learning Plan service OData API is only implemented for users not for admins.
Resolution
In LRN-20106 engineering confirmed that , they have only implemented Learning Plan service OData API for user and below URL should be used for calling this API.
Learning Plan service API URL: https://xyz.plateau.com/learning/odatav4/public/user/learningplan-service/v1/$metadata
As of now LMS Learning Plan service OData APi is not implemented for admins usage , so using below URL will gives "Invalid Path" error.
Shouldn't USE : /learning/odatav4/public/admin/learningplan-service/v1/$metadata
This is a documentation error. PM team is working to remove the admin entry from documentation.
Keywords
learning/odatav4/public/admin/learningplan-service/v1/$metadata , learning/odatav4/public/user/learningplan-service/v1/$metadata , learningplan-service , Invalid API path, please contact Admin to refer to the official API doc. , KBA , LOD-SF-LMS-ODA , Web Services OData , Problem