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

# SetDocumentPriority

> Die Methode SetDocumentPriority in der ABBYY FlexiCapture Web Services API ändert die Dokumentpriorität mithilfe eines Werts aus der Priority-Aufzählung.

<div id="what-it-does">
  ## Funktion
</div>

Ermöglicht das Ändern der Dokumentpriorität.

<div id="definition">
  ## Definition
</div>

```
void SetDocumentPriority( int sessionId, int batchId, int documentId, int priority );
```

<div id="parameters">
  ## Parameter
</div>

| **Name**   | **Typ** | **Beschreibung**                                                                                           |
| ---------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| sessionId  | int     | Die ID der Verbindung zum Application Server                                                               |
| batchId    | int     | Die ID des Batches, der das Dokument enthält                                                               |
| documentId | int     | Die ID des Dokuments, dessen Priorität geändert werden muss                                                |
| priority   | int     | Dokumentpriorität. Mögliche Werte finden Sie unter [Priority](/de/flexi-capture/api/structures/t-priority) |

<div id="returned-value">
  ## Rückgabewert
</div>

Keiner.
