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

# API使用例

> 銀行申込書の自動バッチ処理と、カスタムの手動データ処理ステージの追加を扱う ABBYY FlexiCapture Web サービス API の実践的な例です。

このセクションでは、API の使用例を示します。

<div id="automatic-processing">
  ### [自動処理](/ja/flexi-capture/unattended-example)
</div>

この例では、銀行口座の申込書をサーバーにアップロードし、顧客のデータを抽出する方法を示します。

<div id="the-example-code-performs-the-following-steps">
  ## サンプルコードでは、次の手順を実行します：
</div>

* サービスに接続します

* セッションを開始します

* プロジェクトを開きます

* 新しいバッチを作成します

* バッチに画像を追加します

* バッチの処理を開始します

* 結果を取得し、抽出したデータを表示します

* セッションを閉じます

<div id="manual-processing">
  ### [手動処理](/ja/flexi-capture/user-service-step)
</div>

この例では、データを手動で処理するための追加ステージを作成する方法を示します。

## サンプルコードでは、次の手順を実行します。

* 接続を設定する
* プロジェクトを開く
* タスクのリストを取得して処理する
* サービスステージで各タスクを処理する
* ファイルをサーバーにアップロードする
* セッションを閉じる
