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

# GetAvailableTasks

> ABBYY FlexiCapture Web Services API の GetAvailableTasks メソッドを使用して、指定した型の処理ステージで利用可能なタスクを Task 配列として取得します。

<div id="what-it-does">
  ## 機能
</div>

指定した型の処理ステージで利用可能なタスクのリストを取得します。

<Note>
  ステージで web-stations の使用が許可されている場合、前処理済みのタスクのみがリストに追加されます。
</Note>

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

```
Task [] GetAvailableTasks( int sessionId, int projectId, int processingStage, bool onlyPrivateBatches);
```

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

<table width="100%"><tbody><tr><td><p><strong>名前</strong></p></td><td><p><strong>型</strong></p></td><td><p><strong>説明</strong></p></td></tr><tr><td><p>sessionId</p></td><td><p>int</p></td><td><p>Application Server への接続の ID</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>タスク一覧を取得する対象プロジェクトの ID</p></td></tr><tr><td><p>processingStage</p></td><td><p>int</p></td><td><p>ステージ型の ID。指定可能な値については、<a href="/ja/flexi-capture/api/structures/t-processing-stage-type">ProcessingStage</a> を参照してください。</p></td></tr><tr><td><p>onlyPrivateBatches</p></td><td><p>bool</p></td><td><p>利用可能なバッチの範囲を決定するフラグ。指定可能な値:</p><ul><li><strong>True</strong> - 現在のユーザーまたはユーザーグループに属するバッチのみ利用可能です。</li><li><strong>False</strong> - すべてのバッチが利用可能です。</li></ul></td></tr></tbody></table>

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

| **型**                                            | **説明**      |
| ------------------------------------------------ | ----------- |
| [Task](/ja/flexi-capture/api/structures/task)\[] | 利用可能なタスクの一覧 |
