SAP Knowledge Base Article - Public

2980747 - Unable to GET Program Item details in Learning Plan API call

Symptom

Unable to retrieve Program Item details in the Learning Plan API call: “/learning/odatav4/public/user/learningplan-service/v1/”

Environment

SAP SuccessFactors Learning

Cause

The API call will only return the status and details of the Program itself. It does not return details of the Items contained within the Program Agenda.

Resolution

Here is an example of the call - "https://TenentName-stage.plateau.com/learning/odatav4/public/user/learningplan-service/v1/UserTodoLearningItems?$filter=criteria/includeDeeplink eq true"

Example snippet of the output:

{
  "@odata.context": "$metadata#UserTodoLearningItems",
  "@odata.metadataEtag": "W/\"1df6ee11-391a-4618-a209-20a9772d72b4\"",
  "value": [
    {
      "sku": "SKU-8001",
      "cpnt_classification": "PROGRAM",
      "isUserRequestsEnabled": true,
      "title": "Program test",
      "description": null,
      "status": null,
      "userID": "ProgramAPITest",
      "personGUID": null,
      "personExternalID": "ProgramAPITest",
      "componentTypeID": "SYSTEM_PROGRAM_ENTITY",
      "componentTypeDesc": "Learning Journey",
      "componentID": "002",
      "componentKey": 8001,

See Also

Please see the API Help Guide for more information.

Keywords

SAP, SuccessFactors, Learning, LMS, Learning OData API, Learning Plan API,  UserToDoLearningItems, user/learningPlan/v1/UserTodoLearningItems, $expand mode, b2011 release , KBA , LOD-SF-LMS-ODA , Web Services OData , How To

Product

SAP SuccessFactors Learning all versions