Add user to an organization unit
Resource URL
URL: user/addToOrganizationUnit
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 organizationUnitExternalId required | External ID of the organization unit the user should be added to |
Return value
status | OK |
Example request
URL | https://www.trainingportal.no/mintra/rest/user/addToOrganizationUnit |
POST DATA | userExternalId=a001&organizationUnitExternalId=734&username=username&password=secret |
{
"status": "OK"
}