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

[Removed] Gets apprights 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 59",
    "PartyUUID": "116abf5c-1b33-467f-8fc2-13a172883844",
    "Name": "sample string 33",
    "Type": "sample string 48",
    "SocialSecurityNumber": "sample string 13",
    "OrganizationNumber": "sample string 85",
    "ParentOrganizationNumber": "sample string 96",
    "OrganizationForm": "sample string 28",
    "Status": "sample string 35"
  },
  "Reportee": {
    "ReporteeId": "sample string 59",
    "PartyUUID": "116abf5c-1b33-467f-8fc2-13a172883844",
    "Name": "sample string 33",
    "Type": "sample string 48",
    "SocialSecurityNumber": "sample string 13",
    "OrganizationNumber": "sample string 85",
    "ParentOrganizationNumber": "sample string 96",
    "OrganizationForm": "sample string 28",
    "Status": "sample string 35"
  },
  "AppRights": [
    {
      "RuleGuid": "sample string 61",
      "AltinnAppId": "sample string 43",
      "ResourceId": "sample string 46",
      "ResourceValue": "sample string 44",
      "Action": "sample string 51",
      "RightSourceType": "sample string 7",
      "IsDelegatable": true
    },
    {
      "RuleGuid": "sample string 61",
      "AltinnAppId": "sample string 43",
      "ResourceId": "sample string 46",
      "ResourceValue": "sample string 44",
      "Action": "sample string 51",
      "RightSourceType": "sample string 7",
      "IsDelegatable": true
    },
    {
      "RuleGuid": "sample string 61",
      "AltinnAppId": "sample string 43",
      "ResourceId": "sample string 46",
      "ResourceValue": "sample string 44",
      "Action": "sample string 51",
      "RightSourceType": "sample string 7",
      "IsDelegatable": true
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 44"
    }
  }
}