Class TicketRelationAction
Relation-driven actions applicable to a ticket, indicating whether to offer closing the parent or whether open children are blocking the ticket from being closed.
Carrier object for TicketRelationAction. Services for the TicketRelationAction 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 TicketRelationAction
Constructors
TicketRelationAction()
Default constructor
Declaration
public TicketRelationAction()
See Also
Properties
CanCloseCurrentTicket
True if the ticket may be closed. False if unclosed children are blocking it.
Declaration
[DataMember]
public virtual bool CanCloseCurrentTicket { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Children
Ids of unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
Declaration
[DataMember]
public virtual int[] Children { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
See Also
IsParentRequired
True if a parent relation is mandatory for this ticket type.
Declaration
[DataMember]
public virtual bool IsParentRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
TicketIdToClose
ID of the parent ticket to offer closing when all its children are closed. 0 if not applicable.
Declaration
[DataMember]
public virtual int TicketIdToClose { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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. |