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

# GetDocumentResultsList

> GetDocumentResultsList in the ABBYY FlexiCapture web services API returns the files a document was exported into when results are stored on the server.

## What it does

Gets a list of files into which the document processing results were exported. Makes sense only if export results are saved on the Application Server.

The method can be used when exporting results to FlexiCapture database. When exporting to a file storage, **null** is returned.

## Definition

```
string[] GetDocumentResultsList( int sessionId, int batchId, int documentId );
```

## Parameters

| **Name**   | **Type** | **Description**                                                   |
| ---------- | -------- | ----------------------------------------------------------------- |
| sessionId  | int      | The ID of the connection to the Application Server                |
| batchId    | int      | The ID of the batch that contains the document                    |
| documentId | int      | The ID of the document about which information is to be retrieved |

## Returned value

| **Type**  | **Description**                                                            |
| --------- | -------------------------------------------------------------------------- |
| string\[] | The list of files into which the document processing results were exported |
