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.Inherited Members
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
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
ChildCount
Number of child relations the related ticket has.
Declaration
[DataMember]
public virtual int ChildCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
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
ContactName
The name of the connected contact
Declaration
[DataMember]
public virtual string ContactName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
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
HasParent
Whether the related ticket has a parent relation.
Declaration
[DataMember]
public virtual bool HasParent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
IconHint
Icon representing the ticket's state.
Declaration
[DataMember]
public virtual string IconHint { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
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
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
RelationComment
Free-text comment stored on the relation row.
Declaration
[DataMember]
public virtual string RelationComment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
RelationCreatedAt
Registered when in UTC.
Declaration
[DataMember]
public virtual DateTime RelationCreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
See Also
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
TicketCreatedAt
When the ticket was created.
Declaration
[DataMember]
public virtual DateTime TicketCreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
See Also
TicketId
The primary key (auto-incremented)
Declaration
[DataMember]
public virtual int TicketId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
TicketRelationId
Primary key
Declaration
[DataMember]
public virtual int TicketRelationId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
TicketStatus
User defined ticket status
Declaration
[DataMember]
public virtual int TicketStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
TicketStatusDisplayValue
Get the display name of the ticket status.
Declaration
[DataMember]
public virtual string TicketStatusDisplayValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Title
The title of the ticket.
Declaration
[DataMember]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
Overrides
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. |