GET serviceowner/authorization/rights?subject={subject}&reportee={reportee}

Gets rights a user or organization has on behalf of a specified reportee, for the service owners own services.

Request Information

Parameters

NameDescriptionAdditional information
subject The organization number or social security number for the unit/user holding the rights.

Define this parameter in the request URI.

reportee The organization number or social security number for the unit/user who have delegated the rights.

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

The rights the subject has on behalf of the reportee.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "Subject": {
    "ReporteeId": "sample string 35",
    "PartyUUID": "5d5a09e0-46fd-401d-bbaf-cf15ec85be99",
    "Name": "sample string 11",
    "Type": "sample string 18",
    "SocialSecurityNumber": "sample string 91",
    "OrganizationNumber": "sample string 11",
    "ParentOrganizationNumber": "sample string 0",
    "OrganizationForm": "sample string 95",
    "Status": "sample string 17"
  },
  "Reportee": {
    "ReporteeId": "sample string 35",
    "PartyUUID": "5d5a09e0-46fd-401d-bbaf-cf15ec85be99",
    "Name": "sample string 11",
    "Type": "sample string 18",
    "SocialSecurityNumber": "sample string 91",
    "OrganizationNumber": "sample string 11",
    "ParentOrganizationNumber": "sample string 0",
    "OrganizationForm": "sample string 95",
    "Status": "sample string 17"
  },
  "Rights": [
    {
      "RightID": 1,
      "RightType": "sample string 56",
      "SystemResourceID": "sample string 4",
      "ServiceCode": "sample string 0",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 86",
      "ServiceOwnerCode": "sample string 59",
      "MessageID": "sample string 61",
      "Delegator": "sample string 30",
      "DelegatedTime": "2025-11-06T12:01:29.703199+01:00",
      "Action": "sample string 43",
      "RightSourceType": "sample string 95",
      "IsDelegatable": true,
      "ValidToDate": "2025-11-06T12:01:29.703199+01:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 56",
      "SystemResourceID": "sample string 4",
      "ServiceCode": "sample string 0",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 86",
      "ServiceOwnerCode": "sample string 59",
      "MessageID": "sample string 61",
      "Delegator": "sample string 30",
      "DelegatedTime": "2025-11-06T12:01:29.703199+01:00",
      "Action": "sample string 43",
      "RightSourceType": "sample string 95",
      "IsDelegatable": true,
      "ValidToDate": "2025-11-06T12:01:29.703199+01:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 56",
      "SystemResourceID": "sample string 4",
      "ServiceCode": "sample string 0",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 86",
      "ServiceOwnerCode": "sample string 59",
      "MessageID": "sample string 61",
      "Delegator": "sample string 30",
      "DelegatedTime": "2025-11-06T12:01:29.703199+01:00",
      "Action": "sample string 43",
      "RightSourceType": "sample string 95",
      "IsDelegatable": true,
      "ValidToDate": "2025-11-06T12:01:29.703199+01:00",
      "IsConsentDelegation": true
    }
  ]
}