Set employee number for a user
Resource URL
URL: user/setEmployeeNumber
Parameters
string username | Username |
string password | Password |
string userId | Trainingportal internal ID of the user |
string userExternalId optional | External ID of the user. Either userId or userExternalId must be filled |
string employeeNumber required | Employee number of the user. May have any string value |
Return value
status | OK |
Example request
URL | https://www.trainingportal.no/mintra/rest/user/setEmployeeNumber |
POST DATA | userExternalId=U101&employeeNumber=123456&username=username&password=secret |
{
"status":"OK"
}