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 4"
    }
  },
  "_embedded": {
    "sample string 51": [
      {
        "RightHolderId": "sample string 77",
        "Name": "sample string 77",
        "LastName": "sample string 66",
        "UserName": "sample string 15",
        "Email": "sample string 26",
        "SocialSecurityNumber": "sample string 1",
        "OrganizationNumber": "sample string 9",
        "DelegationContext": "sample string 35",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 59"
            }
          },
          "_embedded": {
            "sample string 77": [
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 74"
            }
          },
          "_embedded": {
            "sample string 27": [
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "AppRights": [
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 43"
          }
        }
      },
      {
        "RightHolderId": "sample string 77",
        "Name": "sample string 77",
        "LastName": "sample string 66",
        "UserName": "sample string 15",
        "Email": "sample string 26",
        "SocialSecurityNumber": "sample string 1",
        "OrganizationNumber": "sample string 9",
        "DelegationContext": "sample string 35",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 59"
            }
          },
          "_embedded": {
            "sample string 77": [
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 74"
            }
          },
          "_embedded": {
            "sample string 27": [
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "AppRights": [
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 43"
          }
        }
      },
      {
        "RightHolderId": "sample string 77",
        "Name": "sample string 77",
        "LastName": "sample string 66",
        "UserName": "sample string 15",
        "Email": "sample string 26",
        "SocialSecurityNumber": "sample string 1",
        "OrganizationNumber": "sample string 9",
        "DelegationContext": "sample string 35",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 59"
            }
          },
          "_embedded": {
            "sample string 77": [
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 52",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 44",
                "RoleDescription": "sample string 33",
                "Delegator": "sample string 55",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "RoleDefinitionCode": "sample string 98"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 74"
            }
          },
          "_embedded": {
            "sample string 27": [
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 85",
                "SystemResourceID": "sample string 18",
                "ServiceCode": "sample string 35",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 16",
                "ServiceOwnerCode": "sample string 65",
                "MessageID": "sample string 38",
                "Delegator": "sample string 44",
                "DelegatedTime": "2024-06-12T09:48:02.196699+02:00",
                "Action": "sample string 39",
                "RightSourceType": "sample string 85",
                "IsDelegatable": true,
                "ValidToDate": "2024-06-12T09:48:02.196699+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "AppRights": [
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          },
          {
            "RuleGuid": "sample string 5",
            "AltinnAppId": "sample string 63",
            "ResourceId": "sample string 24",
            "ResourceValue": "sample string 7",
            "Action": "sample string 87",
            "RightSourceType": "sample string 35",
            "IsDelegatable": true
          }
        ],
        "_links": {
          "self": {
            "href": "sample string 43"
          }
        }
      }
    ]
  }
}