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

# GetBatchTypeTemplates

> Use GetBatchTypeTemplates in the ABBYY FlexiCapture API to return the IDs of Document Definitions attached to a specific batch type in a project.

Returns the set of IDs for Document Definitions attached to the batch type. If `null` is returned, either the **Use all Document Definitions** option is enabled in the batch type properties or no Document Definition is selected.

## Definition

```csharp theme={null}
int[] GetBatchTypeTemplates(int projectId, int batchTypeId);
```

## Parameters

| Name | Type | Description |
| - | - | - |
| `projectId` | `int` | The ID of the project. |
| `batchTypeId` | `int` | The ID of the batch type. |

## Returned value

| Type | Description |
| - | - |
| `int[]` | Document Definitions attached to the batch type. |
