Enroll Trainee
Enroll a single trainee to a course.
HTTP REQUEST
POST https://app.alphalearn.com/webapi/v1/enroll-trainee
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
userID required |
integer | The user id |
courseID required |
Integer | Single course id |
startDate | string | Date should be greater than todays date. This will be considered as course start date. |
sendMail | integer | To send email to trainee or not. 1 – Send email, 0 – Do not send email |
Example Response:
200 OK
{ "success": true, "data": { "success": "User enrolled" } }