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 63"
    }
  },
  "_embedded": {
    "sample string 26": [
      {
        "RoleType": "sample string 97",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 95",
        "RoleDescription": "sample string 30",
        "RoleDefinitionCode": "sample string 48",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 66"
            }
          },
          "_embedded": {
            "sample string 90": [
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 99"
          }
        }
      },
      {
        "RoleType": "sample string 97",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 95",
        "RoleDescription": "sample string 30",
        "RoleDefinitionCode": "sample string 48",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 66"
            }
          },
          "_embedded": {
            "sample string 90": [
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 99"
          }
        }
      },
      {
        "RoleType": "sample string 97",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 95",
        "RoleDescription": "sample string 30",
        "RoleDefinitionCode": "sample string 48",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 66"
            }
          },
          "_embedded": {
            "sample string 90": [
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 3,
                "RightType": "sample string 78",
                "SystemResourceID": "sample string 39",
                "ServiceCode": "sample string 29",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 54",
                "ServiceOwnerCode": "sample string 47",
                "MessageID": "sample string 46",
                "Delegator": "sample string 98",
                "DelegatedTime": "2024-06-02T09:40:37.8938994+02:00",
                "Action": "sample string 61",
                "RightSourceType": "sample string 70",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-02T09:40:37.8938994+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 99"
          }
        }
      }
    ]
  }
}