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 1",
    "PartyUUID": "dbc08169-681d-4c24-af9c-81c2b623d52e",
    "Name": "sample string 49",
    "Type": "sample string 84",
    "SocialSecurityNumber": "sample string 48",
    "OrganizationNumber": "sample string 0",
    "ParentOrganizationNumber": "sample string 72",
    "OrganizationForm": "sample string 75",
    "Status": "sample string 87"
  },
  "Reportee": {
    "ReporteeId": "sample string 1",
    "PartyUUID": "dbc08169-681d-4c24-af9c-81c2b623d52e",
    "Name": "sample string 49",
    "Type": "sample string 84",
    "SocialSecurityNumber": "sample string 48",
    "OrganizationNumber": "sample string 0",
    "ParentOrganizationNumber": "sample string 72",
    "OrganizationForm": "sample string 75",
    "Status": "sample string 87"
  },
  "AppRights": [
    {
      "RuleGuid": "sample string 53",
      "AltinnAppId": "sample string 75",
      "ResourceId": "sample string 31",
      "ResourceValue": "sample string 61",
      "Action": "sample string 33",
      "RightSourceType": "sample string 60",
      "IsDelegatable": true
    },
    {
      "RuleGuid": "sample string 53",
      "AltinnAppId": "sample string 75",
      "ResourceId": "sample string 31",
      "ResourceValue": "sample string 61",
      "Action": "sample string 33",
      "RightSourceType": "sample string 60",
      "IsDelegatable": true
    },
    {
      "RuleGuid": "sample string 53",
      "AltinnAppId": "sample string 75",
      "ResourceId": "sample string 31",
      "ResourceValue": "sample string 61",
      "Action": "sample string 33",
      "RightSourceType": "sample string 60",
      "IsDelegatable": true
    }
  ],
  "_links": {
    "self": {
      "href": "sample string 81"
    }
  }
}