Show / Hide Table of Contents

Class TicketRelationItem

A ticket related to another ticket, including counts of how many further relations it has.

Carrier object for TicketRelationItem. Services for the TicketRelationItem Carrier is available from the Ticket Agent.
Inheritance
object
TicketRelationItem
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/12.2.0.0")]
public class TicketRelationItem

Constructors

TicketRelationItem()

Default constructor

Declaration
public TicketRelationItem()
See Also
ITicketAgent

Properties

BaseStatus

The status of the ticket. I.e. active/closed/postponed/deleted

Declaration
[DataMember]
public virtual TicketBaseStatus BaseStatus { get; set; }
Property Value
Type Description
TicketBaseStatus
See Also
ITicketAgent

ChildCount

Number of child relations the related ticket has.

Declaration
[DataMember]
public virtual int ChildCount { get; set; }
Property Value
Type Description
int
See Also
ITicketAgent

ContactId

The company of the person in the cust_id field, if that person belongs to a company

Declaration
[DataMember]
public virtual int ContactId { get; set; }
Property Value
Type Description
int
See Also
ITicketAgent

ContactName

The name of the connected contact

Declaration
[DataMember]
public virtual string ContactName { get; set; }
Property Value
Type Description
string
See Also
ITicketAgent

CustId

The reference to the customer. NULL or -1 if ticket is not connected to customer.

Declaration
[DataMember]
public virtual int CustId { get; set; }
Property Value
Type Description
int
See Also
ITicketAgent

HasParent

Whether the related ticket has a parent relation.

Declaration
[DataMember]
public virtual bool HasParent { get; set; }
Property Value
Type Description
bool
See Also
ITicketAgent

IconHint

Icon representing the ticket's state.

Declaration
[DataMember]
public virtual string IconHint { get; set; }
Property Value
Type Description
string
See Also
ITicketAgent

PersonFullname

Get the full name for the primary person (customer)

Declaration
[DataMember]
public virtual string PersonFullname { get; set; }
Property Value
Type Description
string
See Also
ITicketAgent

RelatedCount

Number of plain related relations the related ticket has.

Declaration
[DataMember]
public virtual int RelatedCount { get; set; }
Property Value
Type Description
int
See Also
ITicketAgent

RelationComment

Free-text comment stored on the relation row.

Declaration
[DataMember]
public virtual string RelationComment { get; set; }
Property Value
Type Description
string
See Also
ITicketAgent

RelationCreatedAt

Registered when in UTC.

Declaration
[DataMember]
public virtual DateTime RelationCreatedAt { get; set; }
Property Value
Type Description
DateTime
See Also
ITicketAgent

RelationType

How this item relates to the source ticket: parent, child, or related.

Declaration
[DataMember]
public virtual TicketRelationType RelationType { get; set; }
Property Value
Type Description
TicketRelationType
See Also
ITicketAgent

TicketCreatedAt

When the ticket was created.

Declaration
[DataMember]
public virtual DateTime TicketCreatedAt { get; set; }
Property Value
Type Description
DateTime
See Also
ITicketAgent

TicketId

The primary key (auto-incremented)

Declaration
[DataMember]
public virtual int TicketId { get; set; }
Property Value
Type Description
int
See Also
ITicketAgent

TicketRelationId

Primary key

Declaration
[DataMember]
public virtual int TicketRelationId { get; set; }
Property Value
Type Description
int
See Also
ITicketAgent

TicketStatus

User defined ticket status

Declaration
[DataMember]
public virtual int TicketStatus { get; set; }
Property Value
Type Description
int
See Also
ITicketAgent

TicketStatusDisplayValue

Get the display name of the ticket status.

Declaration
[DataMember]
public virtual string TicketStatusDisplayValue { get; set; }
Property Value
Type Description
string
See Also
ITicketAgent

Title

The title of the ticket.

Declaration
[DataMember]
public virtual string Title { get; set; }
Property Value
Type Description
string
See Also
ITicketAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

Overrides
object.ToString()
See Also
ITicketAgent

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.

See Also
ITicketAgent

See Also

ITicketAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top