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

# 営業比率

> operationRatios()

[\< 戻る](/ja/sdks/languages/java#operationratios)

<div id="overview">
  ## 概要
</div>

<div id="available-operations">
  ### 利用可能な操作
</div>

* [get](#get) - オペレーション比率 v2.1 を取得

<div id="get">
  ## get
</div>

指定したシンボルリストのオペレーション比率を取得します

<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.GetOperationRatiosV21Response;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetOperationRatiosV21Response res = sdk.operationRatios().get()
                .symbols("<value>")
                .asOf("<value>")
                .period("<value>")
                .reportType("<value>")
                .call();

        if (res.string().isPresent()) {
            // レスポンスを処理
        }
    }
}
```

<div id="parameters">
  ### パラメータ
</div>

| Parameter    | Type                | Required             | Description   |
| ------------ | ------------------- | -------------------- | ------------- |
| `symbols`    | *String*            | :heavy\_check\_mark: | カンマ区切りのシンボル一覧 |
| `asOf`       | *Optional\<String>* | :heavy\_minus\_sign: | 基準日           |
| `period`     | *Optional\<String>* | :heavy\_minus\_sign: | 会計期間          |
| `reportType` | *Optional\<String>* | :heavy\_minus\_sign: | レポート種別        |

<div id="response">
  ### レスポンス
</div>

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

<div id="errors">
  ### エラー
</div>

| エラータイプ                     | ステータスコード | コンテンツタイプ |
| -------------------------- | -------- | -------- |
| models/errors/APIException | 4XX, 5XX | */*      |
