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 39",
    "PartyUUID": "84a0239f-c5e7-4a3e-8321-05ce989a27ad",
    "Name": "sample string 93",
    "Type": "sample string 55",
    "SocialSecurityNumber": "sample string 86",
    "OrganizationNumber": "sample string 16",
    "ParentOrganizationNumber": "sample string 13",
    "OrganizationForm": "sample string 24",
    "Status": "sample string 53"
  },
  "Reportee": {
    "ReporteeId": "sample string 39",
    "PartyUUID": "84a0239f-c5e7-4a3e-8321-05ce989a27ad",
    "Name": "sample string 93",
    "Type": "sample string 55",
    "SocialSecurityNumber": "sample string 86",
    "OrganizationNumber": "sample string 16",
    "ParentOrganizationNumber": "sample string 13",
    "OrganizationForm": "sample string 24",
    "Status": "sample string 53"
  },
  "Rights": [
    {
      "RightID": 1,
      "RightType": "sample string 61",
      "SystemResourceID": "sample string 97",
      "ServiceCode": "sample string 58",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 65",
      "ServiceOwnerCode": "sample string 15",
      "MessageID": "sample string 20",
      "Delegator": "sample string 96",
      "DelegatedTime": "2024-06-06T22:52:22.0688283+02:00",
      "Action": "sample string 48",
      "RightSourceType": "sample string 18",
      "IsDelegatable": true,
      "ValidToDate": "2024-06-06T22:52:22.0688283+02:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 61",
      "SystemResourceID": "sample string 97",
      "ServiceCode": "sample string 58",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 65",
      "ServiceOwnerCode": "sample string 15",
      "MessageID": "sample string 20",
      "Delegator": "sample string 96",
      "DelegatedTime": "2024-06-06T22:52:22.0688283+02:00",
      "Action": "sample string 48",
      "RightSourceType": "sample string 18",
      "IsDelegatable": true,
      "ValidToDate": "2024-06-06T22:52:22.0688283+02:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 61",
      "SystemResourceID": "sample string 97",
      "ServiceCode": "sample string 58",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 65",
      "ServiceOwnerCode": "sample string 15",
      "MessageID": "sample string 20",
      "Delegator": "sample string 96",
      "DelegatedTime": "2024-06-06T22:52:22.0688283+02:00",
      "Action": "sample string 48",
      "RightSourceType": "sample string 18",
      "IsDelegatable": true,
      "ValidToDate": "2024-06-06T22:52:22.0688283+02:00",
      "IsConsentDelegation": true
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 78"
    }
  }
}