GET serviceowner/roledefinitions?language={language}

[Removed] 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 9"
    }
  },
  "_embedded": {
    "sample string 20": [
      {
        "RoleType": "sample string 43",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 33",
        "RoleDescription": "sample string 87",
        "RoleDefinitionCode": "sample string 44",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 13"
            }
          },
          "_embedded": {
            "sample string 61": [
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        }
      },
      {
        "RoleType": "sample string 43",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 33",
        "RoleDescription": "sample string 87",
        "RoleDefinitionCode": "sample string 44",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 13"
            }
          },
          "_embedded": {
            "sample string 61": [
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        }
      },
      {
        "RoleType": "sample string 43",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 33",
        "RoleDescription": "sample string 87",
        "RoleDefinitionCode": "sample string 44",
        "ParentRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "ChildRoleDefinitionIds": [
          1,
          2,
          3
        ],
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 13"
            }
          },
          "_embedded": {
            "sample string 61": [
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 79",
                "SystemResourceID": "sample string 53",
                "ServiceCode": "sample string 28",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 77",
                "ServiceOwnerCode": "sample string 49",
                "MessageID": "sample string 97",
                "Delegator": "sample string 51",
                "DelegatedTime": "2024-06-27T18:25:27.956605+02:00",
                "Action": "sample string 60",
                "RightSourceType": "sample string 94",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-27T18:25:27.956605+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        }
      }
    ]
  }
}