GET {who}/authorization/Delegations/{receiverId}/apprights
[Removed] Gets all apprights for a given right holder
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| who | Who the retrieved app rights are offered by. Valid values are "my", or an organization number of an organization the user can represent, or <Reportee.ReporteeId>, where the identified reportee may be a person or organization. |
Define this parameter in the request URI. |
| receiverId | The id of the right holder to retrieve apprights for. This can be the reportee id or an organization number. |
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
All apprights given to the receiver from who
Response body formats
application/hal+xml
Sample:
Sample not available.
application/hal+json
Sample:
{
"_links": {
"self": {
"href": "sample string 62"
}
},
"_embedded": {
"sample string 47": [
{
"RuleGuid": "sample string 33",
"AltinnAppId": "sample string 67",
"ResourceId": "sample string 87",
"ResourceValue": "sample string 2",
"Action": "sample string 51",
"RightSourceType": "sample string 1",
"IsDelegatable": true,
"_links": {
"self": {
"href": "sample string 8"
}
}
},
{
"RuleGuid": "sample string 33",
"AltinnAppId": "sample string 67",
"ResourceId": "sample string 87",
"ResourceValue": "sample string 2",
"Action": "sample string 51",
"RightSourceType": "sample string 1",
"IsDelegatable": true,
"_links": {
"self": {
"href": "sample string 8"
}
}
},
{
"RuleGuid": "sample string 33",
"AltinnAppId": "sample string 67",
"ResourceId": "sample string 87",
"ResourceValue": "sample string 2",
"Action": "sample string 51",
"RightSourceType": "sample string 1",
"IsDelegatable": true,
"_links": {
"self": {
"href": "sample string 8"
}
}
}
]
}
}
