GET {who}/authorization/Delegations?serviceCode={serviceCode}&serviceEdition={serviceEdition}

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

Define this parameter in the request URI.

serviceEdition (Optional) ServiceEdition to filter the result on

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 37"
    }
  },
  "_embedded": {
    "sample string 28": [
      {
        "RightHolderId": "sample string 92",
        "Name": "sample string 3",
        "LastName": "sample string 73",
        "UserName": "sample string 13",
        "Email": "sample string 11",
        "SocialSecurityNumber": "sample string 77",
        "OrganizationNumber": "sample string 84",
        "DelegationContext": "sample string 23",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 6"
            }
          },
          "_embedded": {
            "sample string 67": [
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 59"
            }
          },
          "_embedded": {
            "sample string 62": [
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        }
      },
      {
        "RightHolderId": "sample string 92",
        "Name": "sample string 3",
        "LastName": "sample string 73",
        "UserName": "sample string 13",
        "Email": "sample string 11",
        "SocialSecurityNumber": "sample string 77",
        "OrganizationNumber": "sample string 84",
        "DelegationContext": "sample string 23",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 6"
            }
          },
          "_embedded": {
            "sample string 67": [
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 59"
            }
          },
          "_embedded": {
            "sample string 62": [
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        }
      },
      {
        "RightHolderId": "sample string 92",
        "Name": "sample string 3",
        "LastName": "sample string 73",
        "UserName": "sample string 13",
        "Email": "sample string 11",
        "SocialSecurityNumber": "sample string 77",
        "OrganizationNumber": "sample string 84",
        "DelegationContext": "sample string 23",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 6"
            }
          },
          "_embedded": {
            "sample string 67": [
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 44",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 30",
                "RoleDescription": "sample string 75",
                "Delegator": "sample string 83",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "RoleDefinitionCode": "sample string 52"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 59"
            }
          },
          "_embedded": {
            "sample string 62": [
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 76",
                "SystemResourceID": "sample string 4",
                "ServiceCode": "sample string 85",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 74",
                "ServiceOwnerCode": "sample string 10",
                "MessageID": "sample string 72",
                "Delegator": "sample string 20",
                "DelegatedTime": "2021-07-21T21:23:12.1785918+02:00",
                "Action": "sample string 94",
                "RightSourceType": "sample string 81",
                "IsDelegatable": true,
                "ValidToDate": "2021-07-21T21:23:12.1785918+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        }
      }
    ]
  }
}