Show / Hide Table of Contents

Class TicketCategoryEntity

This entity describes the meta data for a ticket category, and provides special operations on it.

Carrier object for TicketCategoryEntity. Services for the TicketCategoryEntity Carrier is available from the List Agent.
Inheritance
object
TicketCategoryEntity
Implements
IExtraFieldCarrier
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.12.0.0")]
public class TicketCategoryEntity : Carrier, IExtraFieldCarrier
Examples

Get TicketCategoryEntity 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new ListAgent();
   var ticketCategoryEntity = agent.GetTicketCategoryEntity( 123 );
}

Constructors

TicketCategoryEntity()

Default constructor

Declaration
public TicketCategoryEntity()
See Also
IListAgent

Properties

AssignmentLag

Number of minutes we shall override the assignment if a customer sends consecutive messages to this category

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

CategoryMaster

The user associated with this category.

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

ClosingStatus

Determines the default status used in the GUI when creating a ticket

Declaration
[DataMember]
public virtual TicketCategoryClosingStatus ClosingStatus { get; set; }
Property Value
Type Description
TicketCategoryClosingStatus
See Also
IListAgent

CustomFields

Udef + Extra fields added to the carrier. Extra fields as defined by changes to database schema + user-defined fields as defined by admin. Custom fields combines user defined fields and extra fields into one bucket. The individual ExtraFields and UserDefinedFields properties are deprecated in favor of this combined collection.

Declaration
[DataMember]
public StringDictionary CustomFields { get; set; }
Property Value
Type Description
StringDictionary
Remarks

The naming convention of the key string is as follows:

Extra field data [Extra field name]

Example:
'x_gorp' = '[I:123]'
User defined field data [Prog-id name]

Example:
'SuperOffice:1' = '[I:123]'

See Also
IListAgent

DefaultMessageStatus

Default status for new messages, if 0 then there is a fallback to a user-dependent value

Declaration
[DataMember]
public virtual TicketStatusEntity DefaultMessageStatus { get; set; }
Property Value
Type Description
TicketStatusEntity
See Also
IListAgent

DefaultTicketStatus

Default status for new tickets, if 0 then there is a fallback to a user-dependent value

Declaration
[DataMember]
public virtual TicketStatusEntity DefaultTicketStatus { get; set; }
Property Value
Type Description
TicketStatusEntity
See Also
IListAgent

DelegateMethod

An integer indicating the delegation method for this category.

Declaration
[DataMember]
public virtual TicketCategoryDelegateMethod DelegateMethod { get; set; }
Property Value
Type Description
TicketCategoryDelegateMethod
See Also
IListAgent

EffectiveReplyTemplateId

Id of reply template to merge into messages, whose ticket belongs to this category. Also takes into account 'Apply to subcategories' on parent categories. This is a calculated, readonly field.

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

ExternalName

The external name for this category, used for the customer frontend.

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

ExtraFields

Deprecated: Use CustomFields instead. Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.

Declaration
[DataMember]
public StringDictionary ExtraFields { get; set; }
Property Value
Type Description
StringDictionary
Remarks

The naming convention of the key string is as follows:

Plug-in data [Plug-in name].[Property name] Example: DocumentPlugin.DocumentType
Foreign key data The device identity is appended directly to the device name if it exists. This is not commonly used, but the database opens for this as a possibility to have several devices with the same name, and hence we would ensure an unique key if this field is used. Example: Audience.SecretService.DefaultCountry
User defined table data [Table name].[Field name] Example: Phunneling.AggregatedSales
Other Other data sources must ensure an unique name. If the key already exists we do not add the data to the dictionary. We also ensure that SuperOffice data are added first, so that existing data doesnt change when more data sources are added (with duplicate data keys).
See Also
IListAgent

Flags

A bitmask representing flags for this category.

Declaration
[DataMember]
public virtual TicketCategoryFlags Flags { get; set; }
Property Value
Type Description
TicketCategoryFlags
See Also
IListAgent

Fullname

The fullname (compiled from parents' names) for this category. E.g. 'norway/product A/support'.

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

MsgClosingStatus

Determines the default status used in the GUI when adding a request to a ticket

Declaration
[DataMember]
public virtual TicketCategoryClosingStatus MsgClosingStatus { get; set; }
Property Value
Type Description
TicketCategoryClosingStatus
See Also
IListAgent

Name

The (short) name of this category. E.g. 'support'.

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

NotificationEmail

Comma separated list of addresses to notify when requests are redelegated to (unassigned) in this category.

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

ParentId

The parent category for this category. -1 if this is a toplevel category.

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

ReplyTemplate

Reply template to merge with messages posted in this category

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

TicketCategoryId

The id of the ticket category. (primary key)

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

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IListAgent

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
IListAgent

Implements

IExtraFieldCarrier

See Also

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