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 76"
    }
  },
  "_embedded": {
    "sample string 9": [
      {
        "RightHolderId": "sample string 21",
        "Name": "sample string 12",
        "LastName": "sample string 35",
        "UserName": "sample string 17",
        "Email": "sample string 52",
        "SocialSecurityNumber": "sample string 58",
        "OrganizationNumber": "sample string 43",
        "DelegationContext": "sample string 73",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 80"
            }
          },
          "_embedded": {
            "sample string 24": [
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 60"
            }
          },
          "_embedded": {
            "sample string 30": [
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 4"
          }
        }
      },
      {
        "RightHolderId": "sample string 21",
        "Name": "sample string 12",
        "LastName": "sample string 35",
        "UserName": "sample string 17",
        "Email": "sample string 52",
        "SocialSecurityNumber": "sample string 58",
        "OrganizationNumber": "sample string 43",
        "DelegationContext": "sample string 73",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 80"
            }
          },
          "_embedded": {
            "sample string 24": [
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 60"
            }
          },
          "_embedded": {
            "sample string 30": [
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 4"
          }
        }
      },
      {
        "RightHolderId": "sample string 21",
        "Name": "sample string 12",
        "LastName": "sample string 35",
        "UserName": "sample string 17",
        "Email": "sample string 52",
        "SocialSecurityNumber": "sample string 58",
        "OrganizationNumber": "sample string 43",
        "DelegationContext": "sample string 73",
        "Roles": {
          "_links": {
            "self": {
              "href": "sample string 80"
            }
          },
          "_embedded": {
            "sample string 24": [
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              },
              {
                "RoleId": 1,
                "RoleType": "sample string 92",
                "RoleDefinitionId": 2,
                "RoleName": "sample string 31",
                "RoleDescription": "sample string 47",
                "Delegator": "sample string 98",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "RoleDefinitionCode": "sample string 96"
              }
            ]
          }
        },
        "Rights": {
          "_links": {
            "self": {
              "href": "sample string 60"
            }
          },
          "_embedded": {
            "sample string 30": [
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              },
              {
                "RightID": 1,
                "RightType": "sample string 7",
                "SystemResourceID": "sample string 65",
                "ServiceCode": "sample string 27",
                "ServiceEditionCode": 1,
                "ServiceOwner": "sample string 5",
                "ServiceOwnerCode": "sample string 29",
                "MessageID": "sample string 68",
                "Delegator": "sample string 73",
                "DelegatedTime": "2020-09-26T23:54:03.6750211+02:00",
                "Action": "sample string 36",
                "RightSourceType": "sample string 28",
                "IsDelegatable": true,
                "ValidToDate": "2020-09-26T23:54:03.6750211+02:00",
                "IsConsentDelegation": true
              }
            ]
          }
        },
        "_links": {
          "self": {
            "href": "sample string 4"
          }
        }
      }
    ]
  }
}