SAP Knowledge Base Article - Preview

3736591 - scheduledoffering-service/v1/Enrollments - Change in error/message handling when registering already registered users

Symptom

When attempting to register a user that is already registered in a class via the scheduledoffering-service/v1/Enrollments API, the current response from the API is:

{
  "@odata.context": "$metadata#Enrollments/$entity",
  "enrollments": [
    {
      "scheduleID": 12345,
      "studentID": "User01",
      "enrollmentStatusID": "ENROLL",
      "notifyUser": false,
      "notifyInstructor": false,
      "notifySupervisor": false,
      "notifyContacts": false,
      "comments": null,
      "errorMessage": null,
      "warningMessage": "<li>The User is already registered for the same item (ItemID123) and the threshold for registering again has not been reached.</li>",
      "warningOverride": null
    }
  ]
}


Read more...

Environment

SAP SuccessFactors Learning

Product

SAP SuccessFactors Learning 2505 ; SAP SuccessFactors Learning 2511 ; SAP SuccessFactors Learning 2605

Keywords

API, enrollment, change, warningMessage, error, behavior, LRN-202654, scheduledoffering-service, KI-Legacy
, KBA , LOD-SF-LMS-ODA , Web Services OData , LOD-SF-LMS-SCH , Class - Scheduled Offerings , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.