Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Edit competence

Resource URL

URL: competenceAdministration/edit


Parameters

string username
required

Username

string password
required

Password

string competenceId
optional
ID of the competence to be edited.
One of competenceId or competenceExternalId must be given!

string competenceExternalId
optional

External ID of the competence to be edited.
One of competenceId or competenceExternalId must be given!
string name
optional

Name of competence as JSON string.

Eg: {"en":"NameInEnglish","no":"NameInNorwegian"}

string description
optional

Description of competence as JSON string.

Eg: {"en":"DescriptionEnglish","no":"DescriptionInNorwegian"}

string competenceType
optional

The type of the competence to be created.
Default value: STANDARD

Use: ROLE, TRAINING_PACKAGE, LEVEL, STANDARD

string externalId
optional

The externalId of the competence. This will update the external ID of the competence.
int refresherIntervals
optional
Number of months before competence needs refresher.
boolean active
optional
Updates 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.
Note: Only for LEVEL type competences.

boolean onlyOneChildRequired
optional

Should only one of the children be required?
Default value: false
Note: Only for TRAINING_PACKAGE/ROLE type competences.

string assessmentMode
optional

Turns on or off assessment and selects how we decide who is assessor.
MANAGERS, INDIVIDUAL or OFF for different assessor modes.
Should be sent together with assessmentSendEmail.

Boolean assessmentSendEmail
optional

Default value: false
Turn on or off email notifications to assessors.
Should be sent together with assessmentMode.


Return value

The method returns information about the created organization unit

competenceId

ID of the competence

competenceExternalIdExternal ID of the competence
competenceNameName of the competence


Example request

URL

https://www.trainingportal.no/mintra/rest/competenceAdministration/edit

POST DATA

competenceExternalId=ext123&name={"en":"NewNameInEnglish","no":"NewNameInNorwegian"}&externalId=new_ext123&username=username&password=secret

{
"competenceId":12345,
"competenceExternalId":"new_ext123",
"competenceName":"NewNameInEnglish"
}