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 0",
    "PartyUUID": "b30c0d8e-cf0c-48ec-abd0-54c9a667889d",
    "Name": "sample string 10",
    "Type": "sample string 74",
    "SocialSecurityNumber": "sample string 22",
    "OrganizationNumber": "sample string 91",
    "ParentOrganizationNumber": "sample string 37",
    "OrganizationForm": "sample string 7",
    "Status": "sample string 31"
  },
  "Reportee": {
    "ReporteeId": "sample string 0",
    "PartyUUID": "b30c0d8e-cf0c-48ec-abd0-54c9a667889d",
    "Name": "sample string 10",
    "Type": "sample string 74",
    "SocialSecurityNumber": "sample string 22",
    "OrganizationNumber": "sample string 91",
    "ParentOrganizationNumber": "sample string 37",
    "OrganizationForm": "sample string 7",
    "Status": "sample string 31"
  },
  "Rights": [
    {
      "RightID": 1,
      "RightType": "sample string 90",
      "SystemResourceID": "sample string 34",
      "ServiceCode": "sample string 0",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 26",
      "ServiceOwnerCode": "sample string 32",
      "MessageID": "sample string 35",
      "Delegator": "sample string 4",
      "DelegatedTime": "2024-11-23T15:08:02.8843799+01:00",
      "Action": "sample string 85",
      "RightSourceType": "sample string 50",
      "IsDelegatable": true,
      "ValidToDate": "2024-11-23T15:08:02.8843799+01:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 90",
      "SystemResourceID": "sample string 34",
      "ServiceCode": "sample string 0",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 26",
      "ServiceOwnerCode": "sample string 32",
      "MessageID": "sample string 35",
      "Delegator": "sample string 4",
      "DelegatedTime": "2024-11-23T15:08:02.8843799+01:00",
      "Action": "sample string 85",
      "RightSourceType": "sample string 50",
      "IsDelegatable": true,
      "ValidToDate": "2024-11-23T15:08:02.8843799+01:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 90",
      "SystemResourceID": "sample string 34",
      "ServiceCode": "sample string 0",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 26",
      "ServiceOwnerCode": "sample string 32",
      "MessageID": "sample string 35",
      "Delegator": "sample string 4",
      "DelegatedTime": "2024-11-23T15:08:02.8843799+01:00",
      "Action": "sample string 85",
      "RightSourceType": "sample string 50",
      "IsDelegatable": true,
      "ValidToDate": "2024-11-23T15:08:02.8843799+01:00",
      "IsConsentDelegation": true
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 54"
    }
  }
}