概要
利用可能な操作
- get - 合併・買収情報を取得
get
使用例
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetMaRequest;
import org.benzinga.BZClient.models.operations.GetMaResponse;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetMaRequest req = GetMaRequest.builder()
.build();
GetMaResponse res = sdk.ma().get()
.request(req)
.call();
if (res.modelsAcquisitionJSON().isPresent()) {
// レスポンスを処理する
}
}
}
パラメータ
| Parameter | Type | Required | Description |
|---|---|---|---|
request | GetMaRequest | :heavy_check_mark: | このリクエストで使用するリクエストオブジェクト。 |
レスポンス
エラー
| エラータイプ | ステータスコード | Content-Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |