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
| Name | Description | Additional 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 4",
"PartyUUID": "4d1960df-3b57-4879-a1ce-048730be2977",
"Name": "sample string 64",
"Type": "sample string 44",
"SocialSecurityNumber": "sample string 98",
"OrganizationNumber": "sample string 49",
"ParentOrganizationNumber": "sample string 92",
"OrganizationForm": "sample string 34",
"Status": "sample string 22"
},
"Reportee": {
"ReporteeId": "sample string 4",
"PartyUUID": "4d1960df-3b57-4879-a1ce-048730be2977",
"Name": "sample string 64",
"Type": "sample string 44",
"SocialSecurityNumber": "sample string 98",
"OrganizationNumber": "sample string 49",
"ParentOrganizationNumber": "sample string 92",
"OrganizationForm": "sample string 34",
"Status": "sample string 22"
},
"AppRights": [
{
"RuleGuid": "sample string 67",
"AltinnAppId": "sample string 4",
"ResourceId": "sample string 8",
"ResourceValue": "sample string 24",
"Action": "sample string 98",
"RightSourceType": "sample string 76",
"IsDelegatable": true
},
{
"RuleGuid": "sample string 67",
"AltinnAppId": "sample string 4",
"ResourceId": "sample string 8",
"ResourceValue": "sample string 24",
"Action": "sample string 98",
"RightSourceType": "sample string 76",
"IsDelegatable": true
},
{
"RuleGuid": "sample string 67",
"AltinnAppId": "sample string 4",
"ResourceId": "sample string 8",
"ResourceValue": "sample string 24",
"Action": "sample string 98",
"RightSourceType": "sample string 76",
"IsDelegatable": true
}
],
"_links": {
"self": {
"href": "sample string 97"
}
}
}
