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 83",
    "PartyUUID": "e886c573-61b4-4468-befe-6d5ba48a47bd",
    "Name": "sample string 47",
    "Type": "sample string 41",
    "SocialSecurityNumber": "sample string 81",
    "OrganizationNumber": "sample string 36",
    "ParentOrganizationNumber": "sample string 31",
    "OrganizationForm": "sample string 42",
    "Status": "sample string 52"
  },
  "Reportee": {
    "ReporteeId": "sample string 83",
    "PartyUUID": "e886c573-61b4-4468-befe-6d5ba48a47bd",
    "Name": "sample string 47",
    "Type": "sample string 41",
    "SocialSecurityNumber": "sample string 81",
    "OrganizationNumber": "sample string 36",
    "ParentOrganizationNumber": "sample string 31",
    "OrganizationForm": "sample string 42",
    "Status": "sample string 52"
  },
  "Rights": [
    {
      "RightID": 1,
      "RightType": "sample string 51",
      "SystemResourceID": "sample string 48",
      "ServiceCode": "sample string 51",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 90",
      "ServiceOwnerCode": "sample string 71",
      "MessageID": "sample string 20",
      "Delegator": "sample string 33",
      "DelegatedTime": "2025-05-03T15:09:50.5195965+02:00",
      "Action": "sample string 1",
      "RightSourceType": "sample string 89",
      "IsDelegatable": true,
      "ValidToDate": "2025-05-03T15:09:50.5195965+02:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 51",
      "SystemResourceID": "sample string 48",
      "ServiceCode": "sample string 51",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 90",
      "ServiceOwnerCode": "sample string 71",
      "MessageID": "sample string 20",
      "Delegator": "sample string 33",
      "DelegatedTime": "2025-05-03T15:09:50.5195965+02:00",
      "Action": "sample string 1",
      "RightSourceType": "sample string 89",
      "IsDelegatable": true,
      "ValidToDate": "2025-05-03T15:09:50.5195965+02:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 51",
      "SystemResourceID": "sample string 48",
      "ServiceCode": "sample string 51",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 90",
      "ServiceOwnerCode": "sample string 71",
      "MessageID": "sample string 20",
      "Delegator": "sample string 33",
      "DelegatedTime": "2025-05-03T15:09:50.5195965+02:00",
      "Action": "sample string 1",
      "RightSourceType": "sample string 89",
      "IsDelegatable": true,
      "ValidToDate": "2025-05-03T15:09:50.5195965+02:00",
      "IsConsentDelegation": true
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 20"
    }
  }
}