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

Gets the role types.

Request Information

Parameters

NameDescriptionAdditional 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 0"
    }
  },
  "_embedded": {
    "sample string 3": [
      {
        "RoleType": "sample string 27",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 77",
        "RoleDescription": "sample string 3",
        "RoleDefinitionCode": "sample string 75",
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 38"
            }
          },
          "_embedded": {
            "sample string 71": [
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 30"
          }
        }
      },
      {
        "RoleType": "sample string 27",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 77",
        "RoleDescription": "sample string 3",
        "RoleDefinitionCode": "sample string 75",
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 38"
            }
          },
          "_embedded": {
            "sample string 71": [
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 30"
          }
        }
      },
      {
        "RoleType": "sample string 27",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 77",
        "RoleDescription": "sample string 3",
        "RoleDefinitionCode": "sample string 75",
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 38"
            }
          },
          "_embedded": {
            "sample string 71": [
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 58",
                "SystemResourceID": "sample string 66",
                "ServiceCode": "sample string 50",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 58",
                "MessageID": "sample string 5",
                "Delegator": "sample string 11",
                "DelegatedTime": "2020-09-26T13:58:23.427875+02:00",
                "Action": "sample string 79",
                "RightSourceType": "sample string 20",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T13:58:23.427875+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 30"
          }
        }
      }
    ]
  }
}