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

# GetNewTicket

> Verwenden Sie GetNewTicket in der ABBYY FlexiCapture API, um ein Lizenzticket für eine Sitzung und einen Stationstyp abzurufen; zurückgegeben wird es als TicketInfo-Objekt.

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

Gibt ein Lizenzticket zurück.

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

```
bool GetNewTicket( int sessionId, int stationType, out TicketInfo ticketInfo );
```

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

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Typ</strong></p></td><td><p><strong>Beschreibung</strong></p></td></tr><tr><td><p>sessionId</p></td><td><p>int</p></td><td><p>Die ID der Verbindung zum Application Server</p></td></tr><tr><td><p>stationType</p></td><td><p>int</p></td><td><p>Der Typ der Station, für die das Ticket abgerufen werden muss. Die möglichen Werte finden Sie unter <a href="/de/flexi-capture/api/structures/t-workstation-type">WorkstationType</a>.</p><p><strong>Hinweis: </strong> Verwenden Sie die Werte WT\_Verification und WT\_Validation statt WT\_RemoteDataVerification bzw. WT\_RemoteVerification.</p></td></tr></tbody></table>

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

| **Typ**                                                    | **Beschreibung**                                   |
| ---------------------------------------------------------- | -------------------------------------------------- |
| bool                                                       | Das Flag, das angibt, ob das Ticket erhalten wurde |
| [TicketInfo](/de/flexi-capture/api/structures/ticket-info) | Lizenzticket                                       |
