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 10",
    "PartyUUID": "9fd0a698-acdb-460a-8fb5-c76ae86c6043",
    "Name": "sample string 28",
    "Type": "sample string 26",
    "SocialSecurityNumber": "sample string 88",
    "OrganizationNumber": "sample string 89",
    "ParentOrganizationNumber": "sample string 58",
    "OrganizationForm": "sample string 90",
    "Status": "sample string 74"
  },
  "Reportee": {
    "ReporteeId": "sample string 10",
    "PartyUUID": "9fd0a698-acdb-460a-8fb5-c76ae86c6043",
    "Name": "sample string 28",
    "Type": "sample string 26",
    "SocialSecurityNumber": "sample string 88",
    "OrganizationNumber": "sample string 89",
    "ParentOrganizationNumber": "sample string 58",
    "OrganizationForm": "sample string 90",
    "Status": "sample string 74"
  },
  "AppRights": [
    {
      "AltinnAppId": "sample string 52",
      "RuleGuid": "sample string 57",
      "ResourceId": "sample string 78",
      "ResourceValue": "sample string 15",
      "Action": "sample string 14",
      "RightSourceType": "sample string 79",
      "IsDelegatable": true
    },
    {
      "AltinnAppId": "sample string 52",
      "RuleGuid": "sample string 57",
      "ResourceId": "sample string 78",
      "ResourceValue": "sample string 15",
      "Action": "sample string 14",
      "RightSourceType": "sample string 79",
      "IsDelegatable": true
    },
    {
      "AltinnAppId": "sample string 52",
      "RuleGuid": "sample string 57",
      "ResourceId": "sample string 78",
      "ResourceValue": "sample string 15",
      "Action": "sample string 14",
      "RightSourceType": "sample string 79",
      "IsDelegatable": true
    }
  ]
}