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

# GetRequests

> GetRequests method in the ABBYY FlexiCapture Web Services API: returns the array of Application Server requests for a batch and task in the current session.

Gets a list of Application Server requests in the current session.

## Definition

```csharp theme={null}
ServerRequest[] GetRequests( int batchId, int taskId, int sessionId );
```

## Parameters

| Name | Type | Description |
| - | - | - |
| `batchId` | `int` | The ID of the batch. |
| `taskId` | `int` | The ID of the task. |
| `sessionId` | `int` | The ID of the connection to the Application Server. |

## Returned value

| Type | Description |
| - | - |
| [ServerRequest](/flexi-capture/api/structures/server-request)\[] | The list of Application Server requests in the current session. |
