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 70"
    }
  },
  "_embedded": {
    "sample string 49": [
      {
        "RoleType": "sample string 95",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 81",
        "RoleDescription": "sample string 68",
        "RoleDefinitionCode": "sample string 7",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 26"
            }
          },
          "_embedded": {
            "sample string 73": [
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 26"
          }
        }
      },
      {
        "RoleType": "sample string 95",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 81",
        "RoleDescription": "sample string 68",
        "RoleDefinitionCode": "sample string 7",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 26"
            }
          },
          "_embedded": {
            "sample string 73": [
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 26"
          }
        }
      },
      {
        "RoleType": "sample string 95",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 81",
        "RoleDescription": "sample string 68",
        "RoleDefinitionCode": "sample string 7",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 26"
            }
          },
          "_embedded": {
            "sample string 73": [
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 31",
                "SystemResourceID": "sample string 88",
                "ServiceCode": "sample string 24",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 32",
                "ServiceOwnerCode": "sample string 96",
                "MessageID": "sample string 43",
                "Delegator": "sample string 11",
                "DelegatedTime": "2025-01-25T01:26:18.1703036+01:00",
                "Action": "sample string 98",
                "RightSourceType": "sample string 34",
                "IsDelegatable": true,
                "ValidToDate": "2025-01-25T01:26:18.1703036+01:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 26"
          }
        }
      }
    ]
  }
}