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

# TicketInfo

> TicketInfo data type in the ABBYY FlexiCapture Web Services API: fields describing a licensing ticket, including license number, station type, and expiration.

## What it does

The **TicketInfo** data type stores information about the licensing ticket.

## Fields

<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>TicketId</p></td><td><p>int</p></td><td><p>The ID of the ticket</p></td></tr><tr><td><p>LicenseNumber</p></td><td><p>string</p></td><td><p>The license number</p></td></tr><tr><td><p>StationType</p></td><td><p>int</p></td><td><p>The type of the station. See <a href="/flexi-capture/api/structures/t-workstation-type">WorkstationType</a> for possible values.</p><p><strong>Note: </strong> Use the WT\_Verification and the WT\_Validation values instead of the WT\_RemoteDataVerification and the WT\_RemoteVerification ones respectively.</p></td></tr><tr><td><p>ExpirationDate</p></td><td><p>long</p></td><td><p>The date and time when the license expires.</p><p>Use the following methods for conversion (C#):</p><pre><code>DateTime dtTime;
long lTime;
...
// conversion from DateTime to long
dTime = DateTime.FromFileTime(lTime);
...
// conversion from long to DateTime
lTime = dTime.ToFileTime();</code></pre></td></tr><tr><td><p>ExpirationPeriod</p></td><td><p>long</p></td><td><p>The license term (starts upon license activation).</p><p>Use the following methods for conversion (C#):</p><pre><code>DateTime dtTime;
long lTime;
...
// conversion from DateTime to long
dTime = DateTime.FromFileTime(lTime);
...
// conversion from long to DateTime
lTime = dTime.ToFileTime();</code></pre></td></tr><tr><td><p>AvailableModules</p></td><td><p>unsigned int</p></td><td><p>The modules available for the license</p></td></tr><tr><td><p>IssuedForSessionId</p></td><td><p>int</p></td><td><p>The ID of the session during which the ticket was created</p></td></tr><tr><td><p>CustomFeature</p></td><td><p><a href="/flexi-capture/api/structures/license-custom-feature">LicenseCustomFeature</a>\[]</p></td><td><p>The custom license parameters</p></td></tr><tr><td><p>Signature</p></td><td><p>string</p></td><td><p>The signature of the ticket</p></td></tr></tbody></table>
