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

# الاكتتابات العامة الأولية (IPOs)

> ipos()

[\< رجوع](/ar/sdks/languages/java#ipos)

<div id="overview">
  ## نظرة عامة
</div>

<div id="available-operations">
  ### العمليات المتاحة
</div>

* [getV21](#getv21) - جلب الطروحات العامة الأولية (IPOs) V2.1
* [get](#get) - جلب الطروحات العامة الأولية (IPOs) V2

<div id="getv21">
  ## getV21
</div>

يُرجع بيانات الاكتتابات العامة الأولية (IPOs)

<div id="example-usage">
  ### مثال على الاستخدام
</div>

```java theme={null}
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()) {
            // معالجة الاستجابة
        }
    }
}
```

<div id="parameters">
  ### المعاملات
</div>

| المعامل   | النوع                                                             | مطلوب                | الوصف                               |
| --------- | ----------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `request` | [GetIposV21Request](../../models/operations/GetIposV21Request.md) | :heavy\_check\_mark: | كائن الطلب المستخدم لهذا الاستدعاء. |

<div id="response">
  ### الاستجابة
</div>

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

<div id="errors">
  ### الأخطاء
</div>

| نوع الخطأ                  | رمز الحالة | نوع المحتوى |
| -------------------------- | ---------- | ----------- |
| models/errors/APIException | 4XX, 5XX   | */*         |

<div id="get">
  ## جلب
</div>

يعيد بيانات الاكتتابات العامة الأولية (IPOs)

<div id="example-usage">
  ### مثال على الاستخدام
</div>

```java theme={null}
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()) {
            // معالجة الرد
        }
    }
}
```

<div id="parameters">
  ### المعاملات
</div>

| المعامل   | النوع                                                           | مطلوب                | الوصف                          |
| --------- | --------------------------------------------------------------- | -------------------- | ------------------------------ |
| `request` | [GetIposV2Request](../../models/operations/GetIposV2Request.md) | :heavy\_check\_mark: | كائن الطلب الذي سيتم استخدامه. |

<div id="response">
  ### الاستجابة
</div>

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

<div id="errors">
  ### الأخطاء
</div>

| نوع الخطأ                  | رمز الحالة | نوع المحتوى |
| -------------------------- | ---------- | ----------- |
| models/errors/APIException | 4XX, 5XX   | */*         |
