GET {who}/authorization/Delegations/{receiverId}?language={language}

Gets a right holder by its id. Will include all rights and roles delegated to the right holder

Request Information

Parameters

NameDescriptionAdditional information
who Who to retrieve the right holder for. Valid values are "my", or an organization number of an organization the user can represent, or <Reportee.ReporteeId>, where the identified reportee may be a person or organization.

Define this parameter in the request URI.

receiverId The id of the right holder to retrieve. This can be the reportee id or an organization number.

Define this parameter in the request URI.

language Language the result should be returned in

Define this parameter in the request URI.

Response Information

A populated right holder object with all delegated rights and/or roles.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "RightHolderId": "sample string 98",
  "Name": "sample string 15",
  "LastName": "sample string 39",
  "UserName": "sample string 4",
  "Email": "sample string 30",
  "SocialSecurityNumber": "sample string 82",
  "OrganizationNumber": "sample string 76",
  "DelegationContext": "sample string 5",
  "Roles": {
    "_links": {
      "self": {
        "href": "sample string 39"
      }
    },
    "_embedded": {
      "sample string 84": [
        {
          "RoleId": 1,
          "RoleType": "sample string 22",
          "RoleDefinitionId": 2,
          "RoleName": "sample string 89",
          "RoleDescription": "sample string 39",
          "Delegator": "sample string 28",
          "DelegatedTime": "2021-07-28T19:47:05.4119043+02:00",
          "RoleDefinitionCode": "sample string 11"
        },
        {
          "RoleId": 1,
          "RoleType": "sample string 22",
          "RoleDefinitionId": 2,
          "RoleName": "sample string 89",
          "RoleDescription": "sample string 39",
          "Delegator": "sample string 28",
          "DelegatedTime": "2021-07-28T19:47:05.4119043+02:00",
          "RoleDefinitionCode": "sample string 11"
        },
        {
          "RoleId": 1,
          "RoleType": "sample string 22",
          "RoleDefinitionId": 2,
          "RoleName": "sample string 89",
          "RoleDescription": "sample string 39",
          "Delegator": "sample string 28",
          "DelegatedTime": "2021-07-28T19:47:05.4119043+02:00",
          "RoleDefinitionCode": "sample string 11"
        }
      ]
    }
  },
  "Rights": {
    "_links": {
      "self": {
        "href": "sample string 14"
      }
    },
    "_embedded": {
      "sample string 63": [
        {
          "RightID": 1,
          "RightType": "sample string 49",
          "SystemResourceID": "sample string 98",
          "ServiceCode": "sample string 29",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 61",
          "ServiceOwnerCode": "sample string 86",
          "MessageID": "sample string 68",
          "Delegator": "sample string 11",
          "DelegatedTime": "2021-07-28T19:47:05.4119043+02:00",
          "Action": "sample string 71",
          "RightSourceType": "sample string 71",
          "IsDelegatable": true,
          "ValidToDate": "2021-07-28T19:47:05.4119043+02:00",
          "IsConsentDelegation": true
        },
        {
          "RightID": 1,
          "RightType": "sample string 49",
          "SystemResourceID": "sample string 98",
          "ServiceCode": "sample string 29",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 61",
          "ServiceOwnerCode": "sample string 86",
          "MessageID": "sample string 68",
          "Delegator": "sample string 11",
          "DelegatedTime": "2021-07-28T19:47:05.4119043+02:00",
          "Action": "sample string 71",
          "RightSourceType": "sample string 71",
          "IsDelegatable": true,
          "ValidToDate": "2021-07-28T19:47:05.4119043+02:00",
          "IsConsentDelegation": true
        },
        {
          "RightID": 1,
          "RightType": "sample string 49",
          "SystemResourceID": "sample string 98",
          "ServiceCode": "sample string 29",
          "ServiceEditionCode": 1,
          "ServiceOwner": "sample string 61",
          "ServiceOwnerCode": "sample string 86",
          "MessageID": "sample string 68",
          "Delegator": "sample string 11",
          "DelegatedTime": "2021-07-28T19:47:05.4119043+02:00",
          "Action": "sample string 71",
          "RightSourceType": "sample string 71",
          "IsDelegatable": true,
          "ValidToDate": "2021-07-28T19:47:05.4119043+02:00",
          "IsConsentDelegation": true
        }
      ]
    }
  },
  "_links": {
    "self": {
      "href": "sample string 88"
    }
  }
}