Add assessor to a competence
Resource URL
URL: competenceAdministration/assessor/add
Parameters
string username | Username |
string password | Password |
string userId optional | Trainingportal ID of the assessor to be added Either userId or userExternalId must be filled. |
string userExternalId | External ID of the assessor to be added. Either userId or userExternalId must be filled. |
string competenceId optional | Trainingportal ID of the competence. Either competenceId or competenceExternalId must be filled. |
string competenceExternalId optional | External ID of the competence. Either competenceId or competenceExternalId must be filled. |
string organizationUnitExternalId optional | External ID of the organization unit the assessor should be assessor for. If not present, the assessor can be assessor for all users on the competence |
Return value
status | Only possible value is OK. In case of error, errorMessage is returned |
Example request
URL | https://www.trainingportal.no/mintra/rest/competenceAdministration/assessor/add |
POST DATA | userExternalId=603123&competenceExternalId=BOP003&username=username&password=secret |
{
"status":"OK"
}