HomeCEU/cems-docs

POST /api/v2/users/course/register

Opened this issue · 0 comments

CeeEm commented

Link to endpoint:
https://homeceu.github.io/cems-docs/#/User/post_users_course_register

When the given userId has a lower access level such as limited, the endpoint responds with a status 200 but shows this output:

{
    "data": {
        "course_ineligibility": [
            {
                "userId": 536781,
                "courseId": 8074,
                "companyId": 4
            }
        ]
    },
    "messages": {
        "message": "Please check response data for problems assigning courses."
    }
}