Class TicketStatusEntity
Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.
Carrier object for TicketStatusEntity. Services for the TicketStatusEntity Carrier is available from the List Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class TicketStatusEntity : Carrier
Examples
Get TicketStatusEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var ticketStatusEntity = agent.GetTicketStatusEntity( 123 );
}
Constructors
TicketStatusEntity()
Default constructor
Declaration
public TicketStatusEntity()
See Also
Properties
IsDefault
Indicates if status is default one as there might be more than one status with same internal status
Declaration
[DataMember]
public virtual bool IsDefault { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Name
Name of user defined ticket status
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
NoEmailReopen
Whether inbound emails can reopen requests with this status or not
Declaration
[DataMember]
public virtual bool NoEmailReopen { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Status
The 'classic' ticket status. I.e. active/closed/postponed/deleted
Declaration
[DataMember]
public virtual TicketBaseStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| TicketBaseStatus |
See Also
TicketStatusId
The primary key (auto-incremented)
Declaration
[DataMember]
public virtual int TicketStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
TimeCounter
Which field in ticket we count time spent on (queue, internal, external)
Declaration
[DataMember]
public virtual TicketStatusTimeCounter TimeCounter { get; set; }
Property Value
| Type | Description |
|---|---|
| TicketStatusTimeCounter |
See Also
UsedInQueue
If set, status is used in GetNext calculations
Declaration
[DataMember]
public virtual bool UsedInQueue { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |