UpdateEnrollmentStatus
Modify enrollment status when users need to withdraw from a course or managers need to enroll or withdraw users.
Input
| Name | Type | Description |
| ScheduleID | Long | The unique ID of a scheduled offering. A scheduled offering is an instance of a learning item (a course, usually) that is scheduled to take place at a given date and time. Therefore, although the learning item ID is the same for its January and February scheduled offerings (for example), the scheduled offering ID of the January instance is different from the February instance. |
| UserID | String | 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 or Person External ID.
The default value is CURRENT_USER. |
| NewEnrollmentStatusID | String | The registration status for this user in this entity. |
| RegistrationChangeTime | Datetime | The time that a registration change occurred for purposes of auditing the change. |
| Timezone | String | The time zone for registrationChangeTime. It is the time zone that the change is recorded in. |
| CancellationReasonID | String | Cancellation reason ID while changing the user enrollment status to canceled state. This is mandatory when Cancellation Reason setting is enabled for the Scheduled Offering. |
Result Set Columns
| Name | Type | Description |
| Success | String | Whether the operation succeeded or not. |
| ErrorMessage | String | The error message in case of a failure. |