GET serviceowner/organizations/{organizationNumber}/personalcontacts/{who}/roles

Gets a list of all roles a given personal contact / reportee has on behalf of the given organization

Request Information

Parameters

NameDescriptionAdditional information
organizationNumber The organization number of the current unit for which the personal contact belongs.

Define this parameter in the request URI.

who Who to get roles for.

Define this parameter in the request URI.

queryOptions The supplied ODataQueryOptions (if any).

None.

Response Information

The list of roles a specified person has in the organization.

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "_links": {
    "self": {
      "href": "sample string 0"
    }
  },
  "_embedded": {
    "sample string 23": [
      {
        "RoleId": 1,
        "RoleType": "sample string 28",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 67",
        "RoleDescription": "sample string 65",
        "Delegator": "sample string 7",
        "DelegatedTime": "2025-06-20T00:07:30.1298329+02:00",
        "RoleDefinitionCode": "sample string 54",
        "_links": {
          "self": {
            "href": "sample string 89"
          }
        }
      },
      {
        "RoleId": 1,
        "RoleType": "sample string 28",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 67",
        "RoleDescription": "sample string 65",
        "Delegator": "sample string 7",
        "DelegatedTime": "2025-06-20T00:07:30.1298329+02:00",
        "RoleDefinitionCode": "sample string 54",
        "_links": {
          "self": {
            "href": "sample string 89"
          }
        }
      },
      {
        "RoleId": 1,
        "RoleType": "sample string 28",
        "RoleDefinitionId": 2,
        "RoleName": "sample string 67",
        "RoleDescription": "sample string 65",
        "Delegator": "sample string 7",
        "DelegatedTime": "2025-06-20T00:07:30.1298329+02:00",
        "RoleDefinitionCode": "sample string 54",
        "_links": {
          "self": {
            "href": "sample string 89"
          }
        }
      }
    ]
  }
}