Create competence
Resource URL
URL: competenceAdministration/create
Parameters
string username | Username |
string password | Password |
string catalogueId required | ID of the catalogue to create competence in. See List catalogues to find this id. |
string name | Name of competence as JSON string. Eg: {"en":"NameInEnglish","no":"NameInNorwegian"} |
string description | Description of competence as JSON string. Eg: {"en":"DescriptionEnglish","no":"DescriptionInNorwegian"} |
string competenceType | The type of the competence to be created. Use: ROLE, TRAINING_PACKAGE, LEVEL, STANDARD |
string externalId | The externalId of the competence. |
int refresherIntervals optional | Number of months before competence needs refresher. |
boolean active optional | Sets the active/inactive state of the competence. |
string organizationUnitExternalId optional | ExternalId of the organization unit related to competence. Note: Only for roles on portal with this feature enabled! |
integer numberOfLevels optional | Number of levels available. |
boolean onlyOneChildRequired optional | Should only one of the children be required? |
string assessmentMode | Turns on or off assessment and selects how we decide who is assessor. |
Boolean assessmentSendEmail | Default value: false |
Return value
The method returns information about the created competence
competenceId | ID of the competence |
competenceExternalId | External ID of the competence |
competenceName | Name of the competence |
Example request
URL | https://www.trainingportal.no/mintra/rest/competenceAdministration/create |
POST DATA | catalogueId=12&name={"en":"NameInEnglish","no":"NameInNorwegian"}&competenceExternalId=ext123&username=username&password=secret |
{ "competenceId":12345, "competenceExternalId":"ext123", "competenceName":"NameInEnglish" }