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

# GetBatchesExt

> Get extended information about all batches in a FlexiCapture project with the GetBatchesExt Web Services API method.

## What it does

Gets extended information about all the batches in a project.

## Definition

```csharp theme={null}
Batch [] GetBatchesExt(int projectId, int sessionId, int batches_count);
```

## Parameters

| Name            | Type  | Description                                                                                |
| --------------- | ----- | ------------------------------------------------------------------------------------------ |
| `projectId`     | `int` | The ID of the project that contains the batches about which information is to be retrieved |
| `sessionId`     | `int` | The ID of the connection to the Application Server                                         |
| `batches_count` | `int` | The number of batches in the project                                                       |

## Returned value

| Type                                                           | Description                                                                                                                                                          |
| -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Batch](/flexi-capture/api/structures/batch-api-structures)\[] | A set of records, each containing information about one of the batches in the project. The returned set does not include batches created in the Web Capture Station. |
