# Role info by fund ID

Returns the authenticated user's party roles for a specific fund, identified by its unique fund ID (GUID).
**Party roles** represent the user's relationship to the fund (e.g. `ADVISOR`, `ADMIN`, `TRUSTINDIVIDUAL`, `TRUSTCORPORATE`, `MEMBER`). A user can hold multiple party roles on the same fund.
The fund ID (GUID) can be obtained from the `fund-data/fund-list` endpoint response.
An empty `PartyRoles` array indicates that the authenticated user is not set up as a related party on the specified fund.

Endpoint: GET /u/connect/roleinfobyfundid
Version: 1.0
Security: Class_oAuth

## Query parameters:

  - `fundId` (string, required)
    The unique identifier (GUID) of the fund. This can be obtained from the `fund-data/fund-list` endpoint.

## Response 200 fields (application/json):

  - `Errors` (array)
    A list of errors returned by the API. An empty array indicates a successful response.

  - `Errors.Code` (string)
    A machine-readable error code identifying the type of error.
    Example: API_PARAMETER_REQUIRED

  - `Errors.Message` (string)
    A human-readable description of the error.
    Example: Parameter 'scopeUrl' is required

## Response 400 fields (application/json):

  - `Errors` (array)
    A list of validation or request errors.

  - `Errors.Code` (string)
    A machine-readable error code.
    Example: API_PARAMETER_REQUIRED

  - `Errors.Message` (string)
    A human-readable description of the error.
    Example: Parameter 'scopeUrl' is required

## Response 401 fields (application/json):

  - `Errors` (array)
    A list of authorization errors.

  - `Errors.Code` (string)
    A machine-readable error code.
    Example: UNAUTHORIZED

  - `Errors.Message` (string)
    A human-readable description of the error.
    Example: The access token is missing, expired, or invalid.

## Response 403 fields (application/json):

  - `Errors` (array)
    A list of forbidden access errors.

  - `Errors.Code` (string)
    A machine-readable error code.
    Example: FORBIDDEN

  - `Errors.Message` (string)
    A human-readable description of the error.
    Example: The authenticated user does not have access to this resource.

## Response 404 fields (application/json):

  - `Errors` (array)
    A list of resource not found errors.

  - `Errors.Code` (string)
    A machine-readable error code.
    Example: RESOURCE_NOT_FOUND

  - `Errors.Message` (string)
    A human-readable description of the error.
    Example: The requested resource was not found or is not accessible.

## Response 500 fields (application/json):

  - `Errors` (array)
    A list of internal server errors.

  - `Errors.Code` (string)
    A machine-readable error code.
    Example: INTERNAL_ERROR

  - `Errors.Message` (string)
    A human-readable description of the error.
    Example: An unexpected error occurred. Please try again later.

## Response default fields (application/json):

  - `Errors` (array)
    A list of unexpected errors.

  - `Errors.Code` (string)
    A machine-readable error code.
    Example: INTERNAL_ERROR

  - `Errors.Message` (string)
    A human-readable description of the error.
    Example: An unexpected error occurred. Please try again later.

