GET serviceowner/roledefinitions/{roleDefinitionId}?language={language}

[Removed] Gets a specific role definition.

Request Information

Parameters

NameDescriptionAdditional information
roleDefinitionId The id of the role definition to retrieve. NB: Role definition ids can be different between production and test environment for the same role. Use the general role definitions API endpoint to retrieve/verify correct role definitions.

Define this parameter in the request URI.

language Translation of the role definition 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

The general information about the specified role definition.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "RoleType": "sample string 43",
  "RoleDefinitionId": 2,
  "RoleName": "sample string 23",
  "RoleDescription": "sample string 25",
  "RoleDefinitionCode": "sample string 77",
  "ParentRoleDefinitionIds": [
    1,
    2,
    3
  ],
  "ChildRoleDefinitionIds": [
    1,
    2,
    3
  ],
  "Rights": {
    "_links": {
      "self": {
        "href": "sample string 82"
      }
    },
    "_embedded": {
      "sample string 43": [
        {
          "RightID": 1,
          "RightType": "sample string 98",
          "SystemResourceID": "sample string 17",
          "ServiceCode": "sample string 68",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 88",
          "ServiceOwnerCode": "sample string 65",
          "MessageID": "sample string 96",
          "Delegator": "sample string 67",
          "DelegatedTime": "2024-12-02T06:06:27.7162105+01:00",
          "Action": "sample string 98",
          "RightSourceType": "sample string 74",
          "IsDelegatable": true,
          "ValidToDate": "2024-12-02T06:06:27.7162105+01:00",
          "IsConsentDelegation": true
        },
        {
          "RightID": 1,
          "RightType": "sample string 98",
          "SystemResourceID": "sample string 17",
          "ServiceCode": "sample string 68",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 88",
          "ServiceOwnerCode": "sample string 65",
          "MessageID": "sample string 96",
          "Delegator": "sample string 67",
          "DelegatedTime": "2024-12-02T06:06:27.7162105+01:00",
          "Action": "sample string 98",
          "RightSourceType": "sample string 74",
          "IsDelegatable": true,
          "ValidToDate": "2024-12-02T06:06:27.7162105+01:00",
          "IsConsentDelegation": true
        },
        {
          "RightID": 1,
          "RightType": "sample string 98",
          "SystemResourceID": "sample string 17",
          "ServiceCode": "sample string 68",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 88",
          "ServiceOwnerCode": "sample string 65",
          "MessageID": "sample string 96",
          "Delegator": "sample string 67",
          "DelegatedTime": "2024-12-02T06:06:27.7162105+01:00",
          "Action": "sample string 98",
          "RightSourceType": "sample string 74",
          "IsDelegatable": true,
          "ValidToDate": "2024-12-02T06:06:27.7162105+01:00",
          "IsConsentDelegation": true
        }
      ]
    }
  },
  "_links": {
    "self": {
      "href": "sample string 57"
    }
  }
}