GET {who}/authorization/RoleDefinitions?language={language}
Gets the role types.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| who | who the user is acting as/on behalf of. |
Define this parameter in the request URI. |
| language | Translation of the role definitions retrieved, valid values are: 1033 (English), 1044 (Bokmal) and 2068 (Nynorsk) This is an optional parameter, defaults to the user preset language |
Define this parameter in the request URI. |
Response Information
The role types.
Response body formats
application/hal+xml
Sample:
Sample not available.
application/hal+json
Sample:
{
"_links": {
"self": {
"href": "sample string 94"
}
},
"_embedded": {
"sample string 47": [
{
"RoleType": "sample string 65",
"RoleDefinitionId": 2,
"RoleName": "sample string 77",
"RoleDescription": "sample string 2",
"RoleDefinitionCode": "sample string 58",
"ParentRoleDefinitionIds": [
1,
2,
3
],
"ChildRoleDefinitionIds": [
1,
2,
3
],
"Rights": {
"_links": {
"self": {
"href": "sample string 56"
}
},
"_embedded": {
"sample string 17": [
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
},
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
},
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
}
]
}
}
},
{
"RoleType": "sample string 65",
"RoleDefinitionId": 2,
"RoleName": "sample string 77",
"RoleDescription": "sample string 2",
"RoleDefinitionCode": "sample string 58",
"ParentRoleDefinitionIds": [
1,
2,
3
],
"ChildRoleDefinitionIds": [
1,
2,
3
],
"Rights": {
"_links": {
"self": {
"href": "sample string 56"
}
},
"_embedded": {
"sample string 17": [
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
},
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
},
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
}
]
}
}
},
{
"RoleType": "sample string 65",
"RoleDefinitionId": 2,
"RoleName": "sample string 77",
"RoleDescription": "sample string 2",
"RoleDefinitionCode": "sample string 58",
"ParentRoleDefinitionIds": [
1,
2,
3
],
"ChildRoleDefinitionIds": [
1,
2,
3
],
"Rights": {
"_links": {
"self": {
"href": "sample string 56"
}
},
"_embedded": {
"sample string 17": [
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
},
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
},
{
"RightID": 1,
"RightType": "sample string 90",
"SystemResourceID": "sample string 96",
"ServiceCode": "sample string 66",
"ServiceEditionCode": 1,
"ServiceOwner": "sample string 45",
"ServiceOwnerCode": "sample string 48",
"MessageID": "sample string 31",
"Delegator": "sample string 8",
"DelegatedTime": "2026-01-05T00:46:39.2550013+01:00",
"Action": "sample string 23",
"RightSourceType": "sample string 99",
"IsDelegatable": true,
"ValidToDate": "2026-01-05T00:46:39.2550013+01:00",
"IsConsentDelegation": true
}
]
}
}
}
]
}
}
