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

# GetProcessingStages

> GetProcessingStages in the ABBYY FlexiCapture Web Services API returns ProcessingStage records filtered by project, batch type, stage type, and stage name.

## What it does

Gets information about processing stages.

## Definition

```
ProcessingStage [] GetProcessingStages( int projectId, int batchTypeId, int stageType, string stageName );
```

## Parameters

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Type</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>The ID of the project</p></td></tr><tr><td><p>batchTypeId</p></td><td><p>int</p></td><td><p>The ID of the batch type. The following values are also possible:</p><ul><li><strong>0</strong> - default batch type;</li><li><strong>-1</strong> - all the batch types.</li></ul></td></tr><tr><td><p>stageType</p></td><td><p>int</p></td><td><p>The ID of the stage type. See <a href="/flexi-capture/api/structures/t-processing-stage-type">ProcessingStage</a> for possible values. Use '-1' value to get processing stages of all types.</p></td></tr><tr><td><p>stageName</p></td><td><p>string</p></td><td><p>The name of the processing stage. Use an empty string ("") to get all the processing stages.</p></td></tr></tbody></table>

## Returned value

| **Type**                                                             | **Description**                                                        |
| -------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [ProcessingStage](/flexi-capture/api/structures/processing-stage)\[] | A set of records, each containing information about a processing stage |
