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

# AddNewBatchExt

> AddNewBatchExt Web Services API メソッドを使用して、FlexiCapture プロジェクトにバッチを追加し、その所有者を設定します。

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

プロジェクトに新しい バッチ を追加し、その所有者 (ユーザーまたはグループ) を指定できます。

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

```csharp theme={null}
int AddNewBatchExt(int sessionId, int projectId, Batch batch, ownerId int);
```

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

| 名前          | 型                                                              | 説明                          |
| ----------- | -------------------------------------------------------------- | --------------------------- |
| `sessionId` | `int`                                                          | Application Server への接続の ID |
| `projectId` | `int`                                                          | バッチを追加するプロジェクトの ID          |
| `batch`     | [Batch](/ja/flexi-capture/api/structures/batch-api-structures) | 追加するバッチのパラメーター              |
| `ownerId`   | `int`                                                          | プロジェクトを所有するユーザーまたはグループの ID  |

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

| 型     | 説明           |
| ----- | ------------ |
| `int` | 作成されたバッチの ID |
