Documentation Index
Fetch the complete documentation index at: https://benzinga-2-locadex-parallel-main.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
< رجوع
- getV21 - جلب الطروحات العامة الأولية (IPOs) V2.1
- get - جلب الطروحات العامة الأولية (IPOs) V2
يُرجع بيانات الاكتتابات العامة الأولية (IPOs)
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIposV21Request;
import org.benzinga.BZClient.models.operations.GetIposV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetIposV21Request req = GetIposV21Request.builder()
.build();
GetIposV21Response res = sdk.ipos().getV21()
.request(req)
.call();
if (res.modelsIPOJSON().isPresent()) {
// معالجة الاستجابة
}
}
}
| المعامل | النوع | مطلوب | الوصف |
|---|
request | GetIposV21Request | :heavy_check_mark: | كائن الطلب المستخدم لهذا الاستدعاء. |
GetIposV21Response
| نوع الخطأ | رمز الحالة | نوع المحتوى |
|---|
| models/errors/APIException | 4XX, 5XX | / |
يعيد بيانات الاكتتابات العامة الأولية (IPOs)
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIposV2Request;
import org.benzinga.BZClient.models.operations.GetIposV2Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetIposV2Request req = GetIposV2Request.builder()
.build();
GetIposV2Response res = sdk.ipos().get()
.request(req)
.call();
if (res.modelsIPOJSON().isPresent()) {
// معالجة الرد
}
}
}
| المعامل | النوع | مطلوب | الوصف |
|---|
request | GetIposV2Request | :heavy_check_mark: | كائن الطلب الذي سيتم استخدامه. |
GetIposV2Response
| نوع الخطأ | رمز الحالة | نوع المحتوى |
|---|
| models/errors/APIException | 4XX, 5XX | / |