Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Add user to an organization unit

Resource URL

URL: user/addToOrganizationUnit


Parameters

string username
required

Username

string password
required

Password

string userId
optional

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"
}