GET metadata/roledefinitions?language={language}

Get all general role definitions.

Request Information

Parameters

NameDescriptionAdditional information
language Translation of the role definitions retrieved, valid values are: 1033 (English), 1044 (Bokmal) and 2068 (Nynorsk) This is an optional parameter, defaults to 1044.

Define this parameter in the request URI.

Response Information

All general role definitions.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 99"
    }
  },
  "_embedded": {
    "sample string 16": [
      {
        "RoleType": "sample string 85",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 6",
        "RoleDescription": "sample string 59",
        "RoleDefinitionCode": "sample string 65",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 64"
            }
          },
          "_embedded": {
            "sample string 16": [
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 33"
          }
        }
      },
      {
        "RoleType": "sample string 85",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 6",
        "RoleDescription": "sample string 59",
        "RoleDefinitionCode": "sample string 65",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 64"
            }
          },
          "_embedded": {
            "sample string 16": [
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 33"
          }
        }
      },
      {
        "RoleType": "sample string 85",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 6",
        "RoleDescription": "sample string 59",
        "RoleDefinitionCode": "sample string 65",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 64"
            }
          },
          "_embedded": {
            "sample string 16": [
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 4",
                "SystemResourceID": "sample string 26",
                "ServiceCode": "sample string 65",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 8",
                "ServiceOwnerCode": "sample string 41",
                "MessageID": "sample string 47",
                "Delegator": "sample string 64",
                "DelegatedTime": "2021-08-01T00:53:14.6564565+02:00",
                "Action": "sample string 28",
                "RightSourceType": "sample string 82",
                "IsDelegatable": true,
                "ValidToDate": "2021-08-01T00:53:14.6564565+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 33"
          }
        }
      }
    ]
  }
}