Remove competence requirement for a user
Resource URL
URL: competenceUser/removeRequirement
Parameters
string username | Username |
string password | Password |
int userId | Unique identifier of the user |
string userExternalId | Unique external identifier of the user. Either userId or userExternalId must be filled. |
string requirementReferenceId required | Unique identifier of the requirement |
boolean removeEnrollments optional | Default: false. Is set to true will delete course enrollments when removing competence requirement |
Return value
status | Only possible value is OK. In case of error, errorMessage is returned |
Example request
URL | https://www.trainingportal.no/mintra/rest/competenceUser/removeRequirement |
POST DATA | userId=123456&requirementReferenceId=d1dff733-51d1-4853-bc11-96939c16ebc4&username=username&password=secret&removeEnrolments=true |
{
"status": "OK"
}