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

# DetailedBatch2

> DetailedBatch2 data type in the ABBYY FlexiCapture Web Services API: expanded batch fields including counts, priority, attachments, error text, and owner.

## What it does

The **DetailedBatch2** data type stores information about a batch. It contains an expanded set of fields.

## Fields

| Name                       | Type                                                                            | Description                                                                                                                           |
| -------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `Id`                       | `int`                                                                           | The ID of the batch.                                                                                                                  |
| `Name`                     | `string`                                                                        | The name of the batch.                                                                                                                |
| `BatchTypeId`              | `int`                                                                           | The ID of the batch type. `0` corresponds to the `Default` batch type.                                                                |
| `Priority`                 | `int`                                                                           | Batch priority. For possible values, see [ProcessingPriority](/flexi-capture/api/structures/t-priority).                              |
| `Description`              | `string`                                                                        | A description of the batch.                                                                                                           |
| `HasAttachments`           | `bool`                                                                          | A flag that shows whether the batch has attachments.                                                                                  |
| `Properties`               | [RegistrationProperty](/flexi-capture/api/structures/registration-property)`[]` | The set of registration parameters for the batch.                                                                                     |
| `PropertiesCount`          | `int`                                                                           | The number of registration parameters.                                                                                                |
| `StageExternalId`          | `int`                                                                           | The ID of the processing stage in which the task is created.                                                                          |
| `CreationDate`             | `long`                                                                          | The date and time when the batch was created, as a FILETIME value. To convert the value, use the conversion example after this table. |
| `DocumentsCount`           | `int`                                                                           | The number of documents in the batch.                                                                                                 |
| `RecognizedDocumentsCount` | `int`                                                                           | The number of recognized documents.                                                                                                   |
| `AssembledDocumentsCount`  | `int`                                                                           | The number of assembled documents.                                                                                                    |
| `VerifiedDocumentsCount`   | `int`                                                                           | The number of verified documents.                                                                                                     |
| `ExportedDocumentsCount`   | `int`                                                                           | The number of exported documents.                                                                                                     |
| `PagesCount`               | `int`                                                                           | The number of pages in the batch.                                                                                                     |
| `RecognizedSymbolsCount`   | `int`                                                                           | The number of recognized characters.                                                                                                  |
| `UncertainSymbolsCount`    | `int`                                                                           | The number of uncertain characters.                                                                                                   |
| `VerificationSymbolsCount` | `int`                                                                           | The number of verified characters.                                                                                                    |
| `ErrorText`                | `string`                                                                        | A description of the batch processing errors. Completed automatically by the Application Server.                                      |
| `OwnerId`                  | `int`                                                                           | The ID of the user or group who owns the project.                                                                                     |

Convert `CreationDate` between `long` and `DateTime` in C# as follows:

```csharp theme={null}
DateTime dTime;
long lTime;
...
// conversion from long to DateTime
dTime = DateTime.FromFileTime(lTime);
...
// conversion from DateTime to long
lTime = dTime.ToFileTime();
```
