GET {who}/authorization/Delegations/{receiverId}/roles?language={language}
Gets all roles for a given receiver
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
who | Who the retrieved roles are offered by. 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. |
receiverId | The id of the right holder to retrieve roles for. This can be the reportee id or an organization number. |
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. |
language | Language the roles should be returned in |
Define this parameter in the request URI. |
Response Information
All roles given to the receiver from who
Response body formats
application/hal+xml
Sample:
Sample not available.
application/hal+json
Sample:
{ "_links": { "self": { "href": "sample string 43" } }, "_embedded": { "sample string 82": [ { "RoleId": 1, "RoleType": "sample string 98", "RoleDefinitionId": 3, "RoleName": "sample string 19", "RoleDescription": "sample string 95", "Delegator": "sample string 98", "DelegatedTime": "2025-02-06T23:27:59.2984698+01:00", "RoleDefinitionCode": "sample string 31", "_links": { "self": { "href": "sample string 64" } } }, { "RoleId": 1, "RoleType": "sample string 98", "RoleDefinitionId": 3, "RoleName": "sample string 19", "RoleDescription": "sample string 95", "Delegator": "sample string 98", "DelegatedTime": "2025-02-06T23:27:59.2984698+01:00", "RoleDefinitionCode": "sample string 31", "_links": { "self": { "href": "sample string 64" } } }, { "RoleId": 1, "RoleType": "sample string 98", "RoleDefinitionId": 3, "RoleName": "sample string 19", "RoleDescription": "sample string 95", "Delegator": "sample string 98", "DelegatedTime": "2025-02-06T23:27:59.2984698+01:00", "RoleDefinitionCode": "sample string 31", "_links": { "self": { "href": "sample string 64" } } } ] } }