GET {who}/authorization/RoleDefinitions/{roleTypeID}?language={language}

Gets the role type. This operation will retrieve details specific to the role type given in the url.

Request Information

Parameters

NameDescriptionAdditional information
who who the user is acting as/on behalf of.

Define this parameter in the request URI.

roleTypeID Id of the role type

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:
{
  "RoleType": "sample string 68",
  "RoleDefinitionId": 2,
  "RoleName": "sample string 39",
  "RoleDescription": "sample string 84",
  "RoleDefinitionCode": "sample string 12",
  "Rights": {
    "_links": {
      "self": {
        "href": "sample string 12"
      }
    },
    "_embedded": {
      "sample string 41": [
        {
          "RightID": 1,
          "RightType": "sample string 83",
          "SystemResourceID": "sample string 26",
          "ServiceCode": "sample string 54",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 48",
          "ServiceOwnerCode": "sample string 71",
          "MessageID": "sample string 19",
          "Delegator": "sample string 88",
          "DelegatedTime": "2020-09-26T23:55:14.6021428+02:00",
          "Action": "sample string 81",
          "RightSourceType": "sample string 69",
          "IsDelegatable": true,
          "ValidToDate": "2020-09-26T23:55:14.6021428+02:00",
          "IsConsentDelegation": true
        },
        {
          "RightID": 1,
          "RightType": "sample string 83",
          "SystemResourceID": "sample string 26",
          "ServiceCode": "sample string 54",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 48",
          "ServiceOwnerCode": "sample string 71",
          "MessageID": "sample string 19",
          "Delegator": "sample string 88",
          "DelegatedTime": "2020-09-26T23:55:14.6021428+02:00",
          "Action": "sample string 81",
          "RightSourceType": "sample string 69",
          "IsDelegatable": true,
          "ValidToDate": "2020-09-26T23:55:14.6021428+02:00",
          "IsConsentDelegation": true
        },
        {
          "RightID": 1,
          "RightType": "sample string 83",
          "SystemResourceID": "sample string 26",
          "ServiceCode": "sample string 54",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 48",
          "ServiceOwnerCode": "sample string 71",
          "MessageID": "sample string 19",
          "Delegator": "sample string 88",
          "DelegatedTime": "2020-09-26T23:55:14.6021428+02:00",
          "Action": "sample string 81",
          "RightSourceType": "sample string 69",
          "IsDelegatable": true,
          "ValidToDate": "2020-09-26T23:55:14.6021428+02:00",
          "IsConsentDelegation": true
        }
      ]
    }
  },
  "_links": {
    "self": {
      "href": "sample string 67"
    }
  }
}