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 99"
    }
  },
  "_embedded": {
    "sample string 79": [
      {
        "RightID": 1,
        "RightType": "sample string 2",
        "SystemResourceID": "sample string 84",
        "ServiceCode": "sample string 3",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 24",
        "ServiceOwnerCode": "sample string 15",
        "MessageID": "sample string 90",
        "Delegator": "sample string 92",
        "DelegatedTime": "2020-10-05T03:22:14.53716+02:00",
        "Action": "sample string 34",
        "RightSourceType": "sample string 2",
        "IsDelegatable": true,
        "ValidToDate": "2020-10-05T03:22:14.53716+02:00",
        "IsConsentDelegation": true,
        "_links": {
          "self": {
            "href": "sample string 2"
          }
        }
      },
      {
        "RightID": 1,
        "RightType": "sample string 2",
        "SystemResourceID": "sample string 84",
        "ServiceCode": "sample string 3",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 24",
        "ServiceOwnerCode": "sample string 15",
        "MessageID": "sample string 90",
        "Delegator": "sample string 92",
        "DelegatedTime": "2020-10-05T03:22:14.53716+02:00",
        "Action": "sample string 34",
        "RightSourceType": "sample string 2",
        "IsDelegatable": true,
        "ValidToDate": "2020-10-05T03:22:14.53716+02:00",
        "IsConsentDelegation": true,
        "_links": {
          "self": {
            "href": "sample string 2"
          }
        }
      },
      {
        "RightID": 1,
        "RightType": "sample string 2",
        "SystemResourceID": "sample string 84",
        "ServiceCode": "sample string 3",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 24",
        "ServiceOwnerCode": "sample string 15",
        "MessageID": "sample string 90",
        "Delegator": "sample string 92",
        "DelegatedTime": "2020-10-05T03:22:14.53716+02:00",
        "Action": "sample string 34",
        "RightSourceType": "sample string 2",
        "IsDelegatable": true,
        "ValidToDate": "2020-10-05T03:22:14.53716+02:00",
        "IsConsentDelegation": true,
        "_links": {
          "self": {
            "href": "sample string 2"
          }
        }
      }
    ]
  }
}