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 5" } }, "_embedded": { "sample string 37": [ { "RightHolderId": "sample string 91", "Name": "sample string 49", "LastName": "sample string 25", "UserName": "sample string 92", "Email": "sample string 99", "SocialSecurityNumber": "sample string 60", "OrganizationNumber": "sample string 67", "DelegationContext": "sample string 86", "Roles": { "_links": { "self": { "href": "sample string 86" } }, "_embedded": { "sample string 17": [ { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" }, { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" }, { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 38" } }, "_embedded": { "sample string 43": [ { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true }, { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true }, { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 22" } } }, { "RightHolderId": "sample string 91", "Name": "sample string 49", "LastName": "sample string 25", "UserName": "sample string 92", "Email": "sample string 99", "SocialSecurityNumber": "sample string 60", "OrganizationNumber": "sample string 67", "DelegationContext": "sample string 86", "Roles": { "_links": { "self": { "href": "sample string 86" } }, "_embedded": { "sample string 17": [ { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" }, { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" }, { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 38" } }, "_embedded": { "sample string 43": [ { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true }, { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true }, { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 22" } } }, { "RightHolderId": "sample string 91", "Name": "sample string 49", "LastName": "sample string 25", "UserName": "sample string 92", "Email": "sample string 99", "SocialSecurityNumber": "sample string 60", "OrganizationNumber": "sample string 67", "DelegationContext": "sample string 86", "Roles": { "_links": { "self": { "href": "sample string 86" } }, "_embedded": { "sample string 17": [ { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" }, { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" }, { "RoleId": 1, "RoleType": "sample string 77", "RoleDefinitionId": 2, "RoleName": "sample string 37", "RoleDescription": "sample string 80", "Delegator": "sample string 46", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "RoleDefinitionCode": "sample string 84" } ] } }, "Rights": { "_links": { "self": { "href": "sample string 38" } }, "_embedded": { "sample string 43": [ { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true }, { "RightID": 1, "RightType": "sample string 59", "SystemResourceID": "sample string 92", "ServiceCode": "sample string 61", "ServiceEditionCode": 1, "ServiceOwner": "sample string 21", "ServiceOwnerCode": "sample string 3", "MessageID": "sample string 92", "Delegator": "sample string 82", "DelegatedTime": "2024-03-28T06:57:40.4825229+01:00", "Action": "sample string 81", "RightSourceType": "sample string 16", "IsDelegatable": true, "ValidToDate": "2024-03-28T06:57:40.4825229+01:00", "IsConsentDelegation": true } ] } }, "AppRights": [ { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true }, { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true }, { "RuleGuid": "sample string 21", "AltinnAppId": "sample string 33", "ResourceId": "sample string 85", "ResourceValue": "sample string 80", "Action": "sample string 83", "RightSourceType": "sample string 31", "IsDelegatable": true } ], "_links": { "self": { "href": "sample string 22" } } } ] } }