Dividendos
dividends()
< VOLVER
Devuelve una lista de dividendos
GetDividendsV22Response
Devuelve una lista de dividendos
GetDividendsResponse
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
dividends()
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetDividendsV22Request;
import org.benzinga.BZClient.models.operations.GetDividendsV22Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetDividendsV22Request req = GetDividendsV22Request.builder()
.build();
GetDividendsV22Response res = sdk.dividends().getV22()
.request(req)
.call();
if (res.modelsDividendJSON().isPresent()) {
// manejar la respuesta
}
}
}
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
request | GetDividendsV22Request | :heavy_check_mark: | Objeto de solicitud que se utilizará en la petición. |
| Tipo de error | Código de estado | Tipo de contenido |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetDividendsRequest;
import org.benzinga.BZClient.models.operations.GetDividendsResponse;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetDividendsRequest req = GetDividendsRequest.builder()
.build();
GetDividendsResponse res = sdk.dividends().get()
.request(req)
.call();
if (res.modelsDividendJSON().isPresent()) {
// gestionar respuesta
}
}
}
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
request | GetDividendsRequest | :heavy_check_mark: | El objeto de solicitud que se utilizará para la operación. |
| Tipo de error | Código de estado | Tipo de contenido |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
Was this page helpful?