> ## Documentation Index
> Fetch the complete documentation index at: https://docs.benzinga.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transacciones de iniciados

> insiderTransactions()

[\< VOLVER](/es/sdks/languages/java#insidertransactions)

<div id="overview">
  ## Descripción general
</div>

<div id="available-operations">
  ### Operaciones disponibles
</div>

* [getOwner](#getowner) - Obtener titular de operación de insider

<div id="getowner">
  ## getOwner
</div>

Obtener titular de transacción con información privilegiada

<div id="example-usage">
  ### Ejemplo de uso
</div>

```java theme={null}
package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.ApiErrorResponse;
import org.benzinga.BZClient.models.operations.GetInsiderTransactionOwnerRequest;
import org.benzinga.BZClient.models.operations.GetInsiderTransactionOwnerResponse;

public class Application {

    public static void main(String[] args) throws ApiErrorResponse, Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetInsiderTransactionOwnerRequest req = GetInsiderTransactionOwnerRequest.builder()
                .build();

        GetInsiderTransactionOwnerResponse res = sdk.insiderTransactions().getOwner()
                .request(req)
                .call();

        if (res.modelsInsiderTransactionFilingJSON().isPresent()) {
            // gestionar respuesta
        }
    }
}
```

<div id="parameters">
  ### Parámetros
</div>

| Parámetro | Tipo                                                                                              | Obligatorio          | Descripción                                              |
| --------- | ------------------------------------------------------------------------------------------------- | -------------------- | -------------------------------------------------------- |
| `request` | [GetInsiderTransactionOwnerRequest](../../models/operations/GetInsiderTransactionOwnerRequest.md) | :heavy\_check\_mark: | El objeto de solicitud que se utilizará en la operación. |

<div id="response">
  ### Respuesta
</div>

**[GetInsiderTransactionOwnerResponse](../../models/operations/GetInsiderTransactionOwnerResponse.md)**

<div id="errors">
  ### Errores
</div>

| Tipo de error                  | Código de estado | Tipo de contenido |
| ------------------------------ | ---------------- | ----------------- |
| models/errors/ApiErrorResponse | 400, 500         | application/json  |
| models/errors/APIException     | 4XX, 5XX         | */*               |
