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 48"
    }
  },
  "_embedded": {
    "sample string 16": [
      {
        "RightID": 1,
        "RightType": "sample string 65",
        "SystemResourceID": "sample string 41",
        "ServiceCode": "sample string 14",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 60",
        "ServiceOwnerCode": "sample string 67",
        "MessageID": "sample string 4",
        "Delegator": "sample string 45",
        "DelegatedTime": "2021-10-03T01:33:04.3181131+02:00",
        "Action": "sample string 38",
        "RightSourceType": "sample string 67",
        "IsDelegatable": true,
        "ValidToDate": "2021-10-03T01:33:04.3181131+02:00",
        "IsConsentDelegation": true
      },
      {
        "RightID": 1,
        "RightType": "sample string 65",
        "SystemResourceID": "sample string 41",
        "ServiceCode": "sample string 14",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 60",
        "ServiceOwnerCode": "sample string 67",
        "MessageID": "sample string 4",
        "Delegator": "sample string 45",
        "DelegatedTime": "2021-10-03T01:33:04.3181131+02:00",
        "Action": "sample string 38",
        "RightSourceType": "sample string 67",
        "IsDelegatable": true,
        "ValidToDate": "2021-10-03T01:33:04.3181131+02:00",
        "IsConsentDelegation": true
      },
      {
        "RightID": 1,
        "RightType": "sample string 65",
        "SystemResourceID": "sample string 41",
        "ServiceCode": "sample string 14",
        "ServiceEditionCode": 1,
        "ServiceOwner": "sample string 60",
        "ServiceOwnerCode": "sample string 67",
        "MessageID": "sample string 4",
        "Delegator": "sample string 45",
        "DelegatedTime": "2021-10-03T01:33:04.3181131+02:00",
        "Action": "sample string 38",
        "RightSourceType": "sample string 67",
        "IsDelegatable": true,
        "ValidToDate": "2021-10-03T01:33:04.3181131+02:00",
        "IsConsentDelegation": true
      }
    ]
  }
}