SAP Knowledge Base Article - Public

3761968 - LMS API - Cannot register a user via API if Class has a price

Symptom

When registering an user to a class with price via API, the error: FAILED: "Scheduled Offering is associated with price" is displayed

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Navigate to LMS Admin, create a class >
  2. In Purchasing tab, set to  any other option besides No charge >
  3. In Pricing tab, add a price >
  4. Try to register a user via API to that class and receive following error message: "errorMessage": "Scheduled Offering is associated with price"

            

Resolution

According to the Help Portal Documentation:  admin/scheduledoffering-service/v1 Metadata Call | SAP Help Portal, the Class API does not support the commerce flow, and because of that, users cannot be registered via API to classes which have prices associated.

An enhancement request has been raised and acknowledged regarding this feature:  Improvement Request Details - Customer Influence. We recommend checking the latest What's New Viewer and Roadmap pages to get updates on when this feature will be implemented.

See Also

Keywords

class, registration, API, price, commerce, workflow, schedule, offering, associated, user, admin, learning , KBA , LOD-SF-LMS-ODA , Web Services OData , Problem

Product

SAP SuccessFactors Learning all versions