GET {who}/authorization/Delegations?serviceCode={serviceCode}&serviceEdition={serviceEdition}&app={app}
Gets a list of entities that has been delegated rights and/or roles from the given who
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
who | Who to retrieve right holders for. 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. |
queryOptions | OData Query details. This object is created by the Framework based on parameters in the url. |
None. |
serviceCode | (Optional) ServiceCode to filter the result on. Cannot be used simultaneously as app filter. |
Define this parameter in the request URI. |
serviceEdition | (Optional) ServiceEdition to filter the result on. Cannot be used simultaneously as app filter. |
Define this parameter in the request URI. |
app | (Optional) Altinn app identifier to filter the result on in the format: {org}/{appName}. Cannot be used simultaneously as filter on service codes. |
Define this parameter in the request URI. |
Response Information
List of entities that has been delegated rights and/or roles from the given who
Response body formats
application/hal+xml
Sample:
Sample not available.
application/hal+json
Sample:
{ "_links": { "self": { "href": "sample string 25" } }, "_embedded": { "sample string 0": [ { "RightHolderId": "sample string 71", "Name": "sample string 97", "LastName": "sample string 31", "UserName": "sample string 2", "Email": "sample string 80", "SocialSecurityNumber": "sample string 1", "OrganizationNumber": "sample string 27", "DelegationContext": "sample string 88", "Roles": { "_links": { "self": { "href": "sample string 5" } }, "_embedded": { "sample string 57": [ { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" }, { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" }, { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 10" } }, "_embedded": { "sample string 44": [ { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true }, { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true }, { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 28" } } }, { "RightHolderId": "sample string 71", "Name": "sample string 97", "LastName": "sample string 31", "UserName": "sample string 2", "Email": "sample string 80", "SocialSecurityNumber": "sample string 1", "OrganizationNumber": "sample string 27", "DelegationContext": "sample string 88", "Roles": { "_links": { "self": { "href": "sample string 5" } }, "_embedded": { "sample string 57": [ { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" }, { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" }, { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 10" } }, "_embedded": { "sample string 44": [ { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true }, { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true }, { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 28" } } }, { "RightHolderId": "sample string 71", "Name": "sample string 97", "LastName": "sample string 31", "UserName": "sample string 2", "Email": "sample string 80", "SocialSecurityNumber": "sample string 1", "OrganizationNumber": "sample string 27", "DelegationContext": "sample string 88", "Roles": { "_links": { "self": { "href": "sample string 5" } }, "_embedded": { "sample string 57": [ { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" }, { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" }, { "RoleId": 1, "RoleType": "sample string 33", "RoleDefinitionId": 2, "RoleName": "sample string 42", "RoleDescription": "sample string 18", "Delegator": "sample string 56", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "RoleDefinitionCode": "sample string 56" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 10" } }, "_embedded": { "sample string 44": [ { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 70", "SystemResourceID": "sample string 66", "ServiceCode": "sample string 79", "ServiceEditionCode": 1, "ServiceOwner": "sample string 74", "ServiceOwnerCode": "sample string 77", "MessageID": "sample string 1", "Delegator": "sample string 95", "DelegatedTime": "2024-04-27T20:00:43.2088528+02:00", "Action": "sample string 40", "RightSourceType": "sample string 76", "IsDelegatable": true, "ValidToDate": "2024-04-27T20:00:43.2088528+02:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true }, { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true }, { "RuleGuid": "sample string 6", "AltinnAppId": "sample string 77", "ResourceId": "sample string 24", "ResourceValue": "sample string 48", "Action": "sample string 92", "RightSourceType": "sample string 76", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 28" } } } ] } }