Get information about an organization unit
Resource URL
URL: organizationUnit/information
Parameters
string username | Username |
string password | Password |
| string externalId required | External ID of organization unit |
Return value
The method returns information about the organization unit
name | Name of the unit |
| externalId | External ID of the unit |
| parentExternalId | External ID of the parent of the unit |
| visible | TRUE if the unit is visible for students |
| selectable | TRUE if the unit is selectable for students |
Example request
URL | https://www.trainingportal.no/mintra/rest/organizationUnit/information |
| POST DATA | externalId=BOP001&username=username&password=secret |
{
"name": "Technical",
"externalId": "BOP001",
"parentExternalId":"BOP000",
"visible":"true",
"selectable":"true"
}