GET {who}/authorization/Delegations/{receiverId}/rights

Gets all rights for a given right holder

Request Information

Parameters

NameDescriptionAdditional information
who Who the retrieved rights are offered by. 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 rights for. This can be the reportee id or an organization number.

Define this parameter in the request URI.

queryOptions OData Query details. This object is created by the Framework based on parameters in the url.

None.

Response Information

All rights given to the receiver from who

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 47"
    }
  },
  "_embedded": {
    "sample string 99": [
      {
        "RightID": 1,
        "RightType": "sample string 77",
        "SystemResourceID": "sample string 8",
        "ServiceCode": "sample string 23",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 10",
        "ServiceOwnerCode": "sample string 19",
        "MessageID": "sample string 5",
        "Delegator": "sample string 9",
        "DelegatedTime": "2024-04-19T21:59:47.958808+02:00",
        "Action": "sample string 52",
        "RightSourceType": "sample string 65",
        "IsDelegatable": true,
        "ValidToDate": "2024-04-19T21:59:47.958808+02:00",
        "IsConsentDelegation": true
      },
      {
        "RightID": 1,
        "RightType": "sample string 77",
        "SystemResourceID": "sample string 8",
        "ServiceCode": "sample string 23",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 10",
        "ServiceOwnerCode": "sample string 19",
        "MessageID": "sample string 5",
        "Delegator": "sample string 9",
        "DelegatedTime": "2024-04-19T21:59:47.958808+02:00",
        "Action": "sample string 52",
        "RightSourceType": "sample string 65",
        "IsDelegatable": true,
        "ValidToDate": "2024-04-19T21:59:47.958808+02:00",
        "IsConsentDelegation": true
      },
      {
        "RightID": 1,
        "RightType": "sample string 77",
        "SystemResourceID": "sample string 8",
        "ServiceCode": "sample string 23",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 10",
        "ServiceOwnerCode": "sample string 19",
        "MessageID": "sample string 5",
        "Delegator": "sample string 9",
        "DelegatedTime": "2024-04-19T21:59:47.958808+02:00",
        "Action": "sample string 52",
        "RightSourceType": "sample string 65",
        "IsDelegatable": true,
        "ValidToDate": "2024-04-19T21:59:47.958808+02:00",
        "IsConsentDelegation": true
      }
    ]
  }
}