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

NameDescriptionAdditional 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 95"
    }
  },
  "_embedded": {
    "sample string 72": [
      {
        "RightHolderId": "sample string 8",
        "Name": "sample string 1",
        "LastName": "sample string 39",
        "UserName": "sample string 0",
        "Email": "sample string 92",
        "SocialSecurityNumber": "sample string 41",
        "OrganizationNumber": "sample string 39",
        "DelegationContext": "sample string 99",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 54"
            }
          },
          "_embedded": {
            "sample string 54": [
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 3"
            }
          },
          "_embedded": {
            "sample string 49": [
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "AppRights": [
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 71"
          }
        }
      },
      {
        "RightHolderId": "sample string 8",
        "Name": "sample string 1",
        "LastName": "sample string 39",
        "UserName": "sample string 0",
        "Email": "sample string 92",
        "SocialSecurityNumber": "sample string 41",
        "OrganizationNumber": "sample string 39",
        "DelegationContext": "sample string 99",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 54"
            }
          },
          "_embedded": {
            "sample string 54": [
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 3"
            }
          },
          "_embedded": {
            "sample string 49": [
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "AppRights": [
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 71"
          }
        }
      },
      {
        "RightHolderId": "sample string 8",
        "Name": "sample string 1",
        "LastName": "sample string 39",
        "UserName": "sample string 0",
        "Email": "sample string 92",
        "SocialSecurityNumber": "sample string 41",
        "OrganizationNumber": "sample string 39",
        "DelegationContext": "sample string 99",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 54"
            }
          },
          "_embedded": {
            "sample string 54": [
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 48",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 9",
                "RoleDescription": "sample string 69",
                "Delegator": "sample string 46",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "RoleDefinitionCode": "sample string 27"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 3"
            }
          },
          "_embedded": {
            "sample string 49": [
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 99",
                "SystemResourceID": "sample string 47",
                "ServiceCode": "sample string 98",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 39",
                "MessageID": "sample string 14",
                "Delegator": "sample string 11",
                "DelegatedTime": "2024-04-19T16:24:52.3629272+02:00",
                "Action": "sample string 66",
                "RightSourceType": "sample string 84",
                "IsDelegatable": true,
                "ValidToDate": "2024-04-19T16:24:52.3629272+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "AppRights": [
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 9",
            "AltinnAppId": "sample string 2",
            "ResourceId": "sample string 50",
            "ResourceValue": "sample string 32",
            "Action": "sample string 30",
            "RightSourceType": "sample string 38",
            "IsDelegatable": true
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 71"
          }
        }
      }
    ]
  }
}