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 21",
    "PartyUUID": "3c2556b5-0a68-4124-a27d-920c478051d1",
    "Name": "sample string 74",
    "Type": "sample string 24",
    "SocialSecurityNumber": "sample string 55",
    "OrganizationNumber": "sample string 88",
    "ParentOrganizationNumber": "sample string 25",
    "OrganizationForm": "sample string 87",
    "Status": "sample string 71"
  },
  "Reportee": {
    "ReporteeId": "sample string 21",
    "PartyUUID": "3c2556b5-0a68-4124-a27d-920c478051d1",
    "Name": "sample string 74",
    "Type": "sample string 24",
    "SocialSecurityNumber": "sample string 55",
    "OrganizationNumber": "sample string 88",
    "ParentOrganizationNumber": "sample string 25",
    "OrganizationForm": "sample string 87",
    "Status": "sample string 71"
  },
  "AppRights": [
    {
      "AltinnAppId": "sample string 92",
      "RuleGuid": "sample string 58",
      "ResourceId": "sample string 41",
      "ResourceValue": "sample string 65",
      "Action": "sample string 83",
      "RightSourceType": "sample string 62",
      "IsDelegatable": true
    },
    {
      "AltinnAppId": "sample string 92",
      "RuleGuid": "sample string 58",
      "ResourceId": "sample string 41",
      "ResourceValue": "sample string 65",
      "Action": "sample string 83",
      "RightSourceType": "sample string 62",
      "IsDelegatable": true
    },
    {
      "AltinnAppId": "sample string 92",
      "RuleGuid": "sample string 58",
      "ResourceId": "sample string 41",
      "ResourceValue": "sample string 65",
      "Action": "sample string 83",
      "RightSourceType": "sample string 62",
      "IsDelegatable": true
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 92"
    }
  }
}