POST /learningpaths/enrollments/
Description
Enrolls a user into a learningpath.
Endpoints
POST /learningpaths/enrollments/{learningpath-id}/users/{user-id}/
Parameters
none
Notes
user-id must exist and be active
user-id can not already be enrolled in the learning path
learningpath-id must exist
Returns status, learningpath_id, user_id on success.
{
"status": "200",
"learningpath_id": "9",
"user_id": "2"
}
Description
Enrolls a user into a learningpath.
Endpoints
POST /learningpaths/enrollments/{learningpath-id}/users/{user-id}/
Parameters
none
Notes
user-idmust exist and be activecan not already be enrolled in the learning pathuser-idlearningpath-idmust exist
Returns
status, learningpath_id, user_id on success.{ "status": "200", "learningpath_id": "9", "user_id": "2"}