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 36" } }, "_embedded": { "sample string 48": [ { "RoleId": 1, "RoleType": "sample string 74", "RoleDefinitionId": 2, "RoleName": "sample string 52", "RoleDescription": "sample string 15", "Delegator": "sample string 1", "DelegatedTime": "2024-04-26T05:55:28.1297693+02:00", "RoleDefinitionCode": "sample string 68", "_links": { "self": { "href": "sample string 90" } } }, { "RoleId": 1, "RoleType": "sample string 74", "RoleDefinitionId": 2, "RoleName": "sample string 52", "RoleDescription": "sample string 15", "Delegator": "sample string 1", "DelegatedTime": "2024-04-26T05:55:28.1297693+02:00", "RoleDefinitionCode": "sample string 68", "_links": { "self": { "href": "sample string 90" } } }, { "RoleId": 1, "RoleType": "sample string 74", "RoleDefinitionId": 2, "RoleName": "sample string 52", "RoleDescription": "sample string 15", "Delegator": "sample string 1", "DelegatedTime": "2024-04-26T05:55:28.1297693+02:00", "RoleDefinitionCode": "sample string 68", "_links": { "self": { "href": "sample string 90" } } } ] } }