> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.TicketStatusEntity

# <a id="SuperOffice_WebApi_Data_TicketStatusEntity" /> Class TicketStatusEntity

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for TicketStatusEntity.
Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

```csharp theme={null}
public class TicketStatusEntity : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[TicketStatusEntity](SuperOffice.WebApi.Data.TicketStatusEntity.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Examples

Get TicketStatusEntity 123 using the WebApi client:
<pre><code class="lang-csharp">var configuration = new WebApiConfiguration(url);
var agent = new ListAgent(configuration);
var ticketStatusEntity = agent.GetTicketStatusEntity( 123 );</code></pre>

## Constructors

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity__ctor" /> TicketStatusEntity()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public TicketStatusEntity()
```

## Properties

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_IsDefault" /> IsDefault

Indicates if status is default one as there might be more than one status with same internal status

```csharp theme={null}
public virtual bool IsDefault { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_Name" /> Name

Name of user defined ticket status

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_NoEmailReopen" /> NoEmailReopen

Whether inbound emails can reopen requests with this status or not

```csharp theme={null}
public virtual bool NoEmailReopen { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_Status" /> Status

The \&apos;classic\&apos; ticket status. I.e. active/closed/postponed/deleted
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public TicketBaseStatus? Status { get; set; }
```

#### Property Value

[TicketBaseStatus](SuperOffice.WebApi.Data.TicketBaseStatus.md)?

#### See Also

[TicketStatusEntity](SuperOffice.WebApi.Data.TicketStatusEntity.md).[Status\_String](SuperOffice.WebApi.Data.TicketStatusEntity.md#SuperOffice_WebApi_Data_TicketStatusEntity_Status_String)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_Status_String" /> Status\_String

The \&apos;classic\&apos; ticket status. I.e. active/closed/postponed/deleted
Raw string enum value.

```csharp theme={null}
[JsonProperty("Status")]
public string Status_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[TicketStatusEntity](SuperOffice.WebApi.Data.TicketStatusEntity.md).[Status](SuperOffice.WebApi.Data.TicketStatusEntity.md#SuperOffice_WebApi_Data_TicketStatusEntity_Status)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_TicketStatusId" /> TicketStatusId

The primary key (auto-incremented)

```csharp theme={null}
public virtual int TicketStatusId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_TimeCounter" /> TimeCounter

Which field in ticket we count time spent on (queue, internal, external)
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public TicketStatusTimeCounter? TimeCounter { get; set; }
```

#### Property Value

[TicketStatusTimeCounter](SuperOffice.WebApi.Data.TicketStatusTimeCounter.md)?

#### See Also

[TicketStatusEntity](SuperOffice.WebApi.Data.TicketStatusEntity.md).[TimeCounter\_String](SuperOffice.WebApi.Data.TicketStatusEntity.md#SuperOffice_WebApi_Data_TicketStatusEntity_TimeCounter_String)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_TimeCounter_String" /> TimeCounter\_String

Which field in ticket we count time spent on (queue, internal, external)
Raw string enum value.

```csharp theme={null}
[JsonProperty("TimeCounter")]
public string TimeCounter_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[TicketStatusEntity](SuperOffice.WebApi.Data.TicketStatusEntity.md).[TimeCounter](SuperOffice.WebApi.Data.TicketStatusEntity.md#SuperOffice_WebApi_Data_TicketStatusEntity_TimeCounter)

### <a id="SuperOffice_WebApi_Data_TicketStatusEntity_UsedInQueue" /> UsedInQueue

If set, status is used in GetNext calculations

```csharp theme={null}
public virtual bool UsedInQueue { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## See Also

[ListAgent](SuperOffice.WebApi.Agents.ListAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.IListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IListAgent.md)
- [SuperOffice.WebApi.Agents.ListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ListAgent.md)
- [SuperOffice.WebApi.Data.TicketEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketEntity.md)
- [SuperOffice.WebApi.Data.TicketCategoryEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketCategoryEntity.md)
- [SuperOffice.WebApi.Data.Carrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.Carrier.md)
- [SuperOffice.WebApi.Data.TicketTypeEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketTypeEntity.md)
