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.
< VOLVER
- getOwner - Obtener titular de operación de insider
Obtener titular de transacción con información privilegiada
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
}
}
}
| Parámetro | Tipo | Obligatorio | Descripción |
|---|
request | GetInsiderTransactionOwnerRequest | :heavy_check_mark: | El objeto de solicitud que se utilizará en la operación. |
GetInsiderTransactionOwnerResponse
| Tipo de error | Código de estado | Tipo de contenido |
|---|
| models/errors/ApiErrorResponse | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |