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 98" } }, "_embedded": { "sample string 87": [ { "RoleId": 1, "RoleType": "sample string 32", "RoleDefinitionId": 2, "RoleName": "sample string 55", "RoleDescription": "sample string 48", "Delegator": "sample string 39", "DelegatedTime": "2024-04-24T04:01:00.4477773+02:00", "RoleDefinitionCode": "sample string 0", "_links": { "self": { "href": "sample string 58" } } }, { "RoleId": 1, "RoleType": "sample string 32", "RoleDefinitionId": 2, "RoleName": "sample string 55", "RoleDescription": "sample string 48", "Delegator": "sample string 39", "DelegatedTime": "2024-04-24T04:01:00.4477773+02:00", "RoleDefinitionCode": "sample string 0", "_links": { "self": { "href": "sample string 58" } } }, { "RoleId": 1, "RoleType": "sample string 32", "RoleDefinitionId": 2, "RoleName": "sample string 55", "RoleDescription": "sample string 48", "Delegator": "sample string 39", "DelegatedTime": "2024-04-24T04:01:00.4477773+02:00", "RoleDefinitionCode": "sample string 0", "_links": { "self": { "href": "sample string 58" } } } ] } }