POST https://api.eloomi.com/v3/courses/{courseId}/participants/{userId}
Parameter name | Value | Description | Additional |
---|---|---|---|
courseId | string | eloomis ID for the course |
Required |
userId | string | eloomis ID for the user |
Required |
Parameter name | Value | Description | Additional |
---|---|---|---|
ClientId | string | Provided by eloomi |
Required |
Authorization | string | Look in the documentation for the authentication endpoint on how to construct this |
Required |
{
"customAttributes": {
"{key}": "string"
},
"deadline": "YYYY-MM-DD",
"required": "number"
}
Name | Example | Description | Additional |
---|---|---|---|
customAttributes | Optional | ||
customAttributes.{key} |
Keys and value depend on platform and course |
Optional | |
deadline | "2020-12-13" |
Date for when the course should be completed |
Optional |
required | 1 |
Flag to indicate if the course is mandatory or not Possible values are:
|
Optional |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK Course updated |
CourseCategoriesSuccess |
400 | Bad Request Invalid input |
GenericSuccess |
401 | Unauthorized Not allowed |
ErrorSuccess |