> ## 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.

# Ipos

> ipos()

[\< 뒤로 가기](/ko/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>

IPO 데이터를 반환합니다.

<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">
  ## get
</div>

IPO 관련 데이터를 반환합니다.

<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 | */*    |
