Enroll Trainee

Enroll Trainee


Enroll a single trainee to a course.

QueryArguments

userID integer The user id
courseID integer The course id
Definition:
 POST https://app.alphalearn.com/webapi/v1/enroll-trainee
Example Request:
 curl -X POST \
  https://app.alphalearn.com/webapi/v1/enroll-trainee\
  -H 'authorization: Bearer {Authorization Token}' \
  -F {
       userID={userID},
       courseID={courseID}
     }
Example Response:
200 OK
{
    "success": true,
    "data": {
        "success": "Trainee enrolled"
    }
}

Comments are closed.