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

# GetAvailableTasksByStageIdExt

> ABBYY FlexiCapture Web Services API の GetAvailableTasksByStageIdExt メソッドは、指定した処理ステージで利用可能なタスクを一覧表示します。

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

指定した処理ステージで利用可能なタスクの一覧を取得します。利用可能なBatchesを制限することもできます。

<Note>
  ステージで Web stations を使用できる場合は、前処理済みのタスクのみが一覧に追加されます。
</Note>

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

```csharp theme={null}
TaskListExt GetAvailableTasksByStageIdExt(int sessionId, int projectId, int[] stageIds, int stageID_count, bool onlyPrivateBatches);
```

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

| 名前                   | 型       | 説明                                                                                                                      |
| -------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `sessionId`          | `int`   | Application Server への接続の ID。                                                                                            |
| `projectId`          | `int`   | タスクの List を取得する Project の ID。                                                                                           |
| `stageIds`           | `int[]` | タスクの取得元となる [処理ステージ](/ja/flexi-capture/api/structures/processing-stage) の ID。                                            |
| `stageID_count`      | `int`   | 処理ステージ の数。                                                                                                              |
| `onlyPrivateBatches` | `bool`  | 利用可能な Batches の set を決定する Flag。`True` の場合、現在の User またはユーザー グループに属する Batches のみが利用可能です。`False` の場合、すべての Batches が利用可能です。 |

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

| 型                                                             | 説明           |
| ------------------------------------------------------------- | ------------ |
| [TaskListExt](/ja/flexi-capture/api/structures/task-list-ext) | 利用可能なタスクの一覧。 |
