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 82" } }, "_embedded": { "sample string 71": [ { "RightHolderId": "sample string 91", "Name": "sample string 95", "LastName": "sample string 97", "UserName": "sample string 63", "Email": "sample string 32", "SocialSecurityNumber": "sample string 75", "OrganizationNumber": "sample string 71", "DelegationContext": "sample string 11", "Roles": { "_links": { "self": { "href": "sample string 64" } }, "_embedded": { "sample string 1": [ { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" }, { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" }, { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 37" } }, "_embedded": { "sample string 44": [ { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true }, { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true }, { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 73" } } }, { "RightHolderId": "sample string 91", "Name": "sample string 95", "LastName": "sample string 97", "UserName": "sample string 63", "Email": "sample string 32", "SocialSecurityNumber": "sample string 75", "OrganizationNumber": "sample string 71", "DelegationContext": "sample string 11", "Roles": { "_links": { "self": { "href": "sample string 64" } }, "_embedded": { "sample string 1": [ { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" }, { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" }, { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 37" } }, "_embedded": { "sample string 44": [ { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true }, { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true }, { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 73" } } }, { "RightHolderId": "sample string 91", "Name": "sample string 95", "LastName": "sample string 97", "UserName": "sample string 63", "Email": "sample string 32", "SocialSecurityNumber": "sample string 75", "OrganizationNumber": "sample string 71", "DelegationContext": "sample string 11", "Roles": { "_links": { "self": { "href": "sample string 64" } }, "_embedded": { "sample string 1": [ { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" }, { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" }, { "RoleId": 1, "RoleType": "sample string 11", "RoleDefinitionId": 2, "RoleName": "sample string 14", "RoleDescription": "sample string 7", "Delegator": "sample string 78", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "RoleDefinitionCode": "sample string 66" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 37" } }, "_embedded": { "sample string 44": [ { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 14", "SystemResourceID": "sample string 65", "ServiceCode": "sample string 75", "ServiceEditionCode": 1, "ServiceOwner": "sample string 81", "ServiceOwnerCode": "sample string 26", "MessageID": "sample string 64", "Delegator": "sample string 66", "DelegatedTime": "2025-04-26T08:47:02.5395355+02:00", "Action": "sample string 13", "RightSourceType": "sample string 7", "IsDelegatable": true, "ValidToDate": "2025-04-26T08:47:02.5395355+02:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true }, { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true }, { "RuleGuid": "sample string 59", "AltinnAppId": "sample string 27", "ResourceId": "sample string 71", "ResourceValue": "sample string 11", "Action": "sample string 61", "RightSourceType": "sample string 58", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 73" } } } ] } }