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 63",
    "PartyUUID": "282531e2-5a00-42b0-9e7f-f9ed045edd5e",
    "Name": "sample string 75",
    "Type": "sample string 61",
    "SocialSecurityNumber": "sample string 57",
    "OrganizationNumber": "sample string 13",
    "ParentOrganizationNumber": "sample string 40",
    "OrganizationForm": "sample string 70",
    "Status": "sample string 96"
  },
  "Reportee": {
    "ReporteeId": "sample string 63",
    "PartyUUID": "282531e2-5a00-42b0-9e7f-f9ed045edd5e",
    "Name": "sample string 75",
    "Type": "sample string 61",
    "SocialSecurityNumber": "sample string 57",
    "OrganizationNumber": "sample string 13",
    "ParentOrganizationNumber": "sample string 40",
    "OrganizationForm": "sample string 70",
    "Status": "sample string 96"
  },
  "Rights": [
    {
      "RightID": 1,
      "RightType": "sample string 31",
      "SystemResourceID": "sample string 85",
      "ServiceCode": "sample string 8",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 13",
      "ServiceOwnerCode": "sample string 2",
      "MessageID": "sample string 41",
      "Delegator": "sample string 43",
      "DelegatedTime": "2024-04-19T05:44:56.2892238+02:00",
      "Action": "sample string 25",
      "RightSourceType": "sample string 58",
      "IsDelegatable": true,
      "ValidToDate": "2024-04-19T05:44:56.2892238+02:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 31",
      "SystemResourceID": "sample string 85",
      "ServiceCode": "sample string 8",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 13",
      "ServiceOwnerCode": "sample string 2",
      "MessageID": "sample string 41",
      "Delegator": "sample string 43",
      "DelegatedTime": "2024-04-19T05:44:56.2892238+02:00",
      "Action": "sample string 25",
      "RightSourceType": "sample string 58",
      "IsDelegatable": true,
      "ValidToDate": "2024-04-19T05:44:56.2892238+02:00",
      "IsConsentDelegation": true
    },
    {
      "RightID": 1,
      "RightType": "sample string 31",
      "SystemResourceID": "sample string 85",
      "ServiceCode": "sample string 8",
      "ServiceEditionCode": 1,
      "ServiceOwner": "sample string 13",
      "ServiceOwnerCode": "sample string 2",
      "MessageID": "sample string 41",
      "Delegator": "sample string 43",
      "DelegatedTime": "2024-04-19T05:44:56.2892238+02:00",
      "Action": "sample string 25",
      "RightSourceType": "sample string 58",
      "IsDelegatable": true,
      "ValidToDate": "2024-04-19T05:44:56.2892238+02:00",
      "IsConsentDelegation": true
    }
  ]
}