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

# GetDocuments2

> ABBYY FlexiCapture Web Services API の GetDocuments2 メソッドは、拡張されたフィールドセットを含むドキュメントのリストを返します。

<div id="what-it-does">
  ## 実行内容
</div>

フィールドセットを拡張したドキュメントの一覧を取得します。

<div id="definition">
  ## 定義
</div>

```csharp theme={null}
Document2[] GetDocuments2(int batchId);
```

<div id="parameters">
  ## Parameters
</div>

| 名前        | 型     | 説明                           |
| --------- | ----- | ---------------------------- |
| `batchId` | `int` | 情報を取得する対象のドキュメントが含まれるバッチのID。 |

<div id="returned-value">
  ## 戻り値
</div>

| 型                                                           | 説明                                            |
| ----------------------------------------------------------- | --------------------------------------------- |
| [Document2](/ja/flexi-capture/api/structures/document2)`[]` | 拡張されたフィールド セットを持つドキュメントに関する情報をそれぞれ含むレコードのセット。 |
