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 3"
    }
  },
  "_embedded": {
    "sample string 28": [
      {
        "RightID": 1,
        "RightType": "sample string 46",
        "SystemResourceID": "sample string 26",
        "ServiceCode": "sample string 42",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 87",
        "ServiceOwnerCode": "sample string 37",
        "MessageID": "sample string 54",
        "Delegator": "sample string 97",
        "DelegatedTime": "2024-04-26T06:00:16.243829+02:00",
        "Action": "sample string 30",
        "RightSourceType": "sample string 40",
        "IsDelegatable": true,
        "ValidToDate": "2024-04-26T06:00:16.243829+02:00",
        "IsConsentDelegation": true,
        "_links": {
          "self": {
            "href": "sample string 40"
          }
        }
      },
      {
        "RightID": 1,
        "RightType": "sample string 46",
        "SystemResourceID": "sample string 26",
        "ServiceCode": "sample string 42",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 87",
        "ServiceOwnerCode": "sample string 37",
        "MessageID": "sample string 54",
        "Delegator": "sample string 97",
        "DelegatedTime": "2024-04-26T06:00:16.243829+02:00",
        "Action": "sample string 30",
        "RightSourceType": "sample string 40",
        "IsDelegatable": true,
        "ValidToDate": "2024-04-26T06:00:16.243829+02:00",
        "IsConsentDelegation": true,
        "_links": {
          "self": {
            "href": "sample string 40"
          }
        }
      },
      {
        "RightID": 1,
        "RightType": "sample string 46",
        "SystemResourceID": "sample string 26",
        "ServiceCode": "sample string 42",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 87",
        "ServiceOwnerCode": "sample string 37",
        "MessageID": "sample string 54",
        "Delegator": "sample string 97",
        "DelegatedTime": "2024-04-26T06:00:16.243829+02:00",
        "Action": "sample string 30",
        "RightSourceType": "sample string 40",
        "IsDelegatable": true,
        "ValidToDate": "2024-04-26T06:00:16.243829+02:00",
        "IsConsentDelegation": true,
        "_links": {
          "self": {
            "href": "sample string 40"
          }
        }
      }
    ]
  }
}