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

# GetBatchTypes

> List all batch types within a project with the GetBatchTypes method of the ABBYY FlexiCapture Web Services API, returning an array of BatchType structures.

## What it does

Gets information about all the batch types within a project.

## Definition

```
BatchType [] GetBatchTypes( int projectId );
```

## Parameters

| **Name**  | **Type** | **Description**                                                                                |
| --------- | -------- | ---------------------------------------------------------------------------------------------- |
| projectId | int      | The ID of the project that contains the batch types about which information is to be retrieved |

## Returned value

| **Type**                                                                | **Description**                                                                                     |
| ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [BatchType](/flexi-capture/api/structures/batch-type-api-structures)\[] | A set of records, each containing information about one of the batch types contained in the project |
