Class TicketPriorityEntity
Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Carrier object for TicketPriorityEntity. Services for the TicketPriorityEntity 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.1.0.0")]
public class TicketPriorityEntity : Carrier
Examples
Get TicketPriorityEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var ticketPriorityEntity = agent.GetTicketPriorityEntity( 123 );
}
Constructors
TicketPriorityEntity()
Default constructor
Declaration
public TicketPriorityEntity()
See Also
Properties
ChangedOwner
This field indicates what to do with the escalation chain when the request changes owner (manually)
Declaration
[DataMember]
public virtual TicketPriorityEscalateEvent ChangedOwner { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
See Also
Deadline
Deadline to add if escalated (minutes)
Declaration
[DataMember]
public virtual int Deadline { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
EscalationLevels
Escalation levels bound to the parent priority
Declaration
[DataMember]
public virtual TicketPriorityEscalationLevelEntity[] EscalationLevels { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalationLevelEntity[] |
See Also
Flags
A bitmask of flags.
Declaration
[DataMember]
public virtual TicketPriorityFlags Flags { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityFlags |
See Also
FriStart
The work hour start for Fridays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime FriStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
FriStop
The work hour stop for Fridays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime FriStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
MonStart
The work hour start for Mondays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime MonStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
MonStop
The work hour start for Mondays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime MonStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
Name
The name of the priority.
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
NonDates
Dates which the escalation time should not be running. Note that only the day of the year (day and month) is used. So the year and time part is not used even if this is a DateTime. Exception - it IS possible to include a year here, for dates that should not repeat every year
Declaration
[DataMember]
public virtual DateTime[] NonDates { get; set; }
Property Value
Type | Description |
---|---|
DateTime[] |
See Also
SatStart
The work hour start for Saturdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime SatStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
SatStop
The work hour stop for Saturdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime SatStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
SortOrder
Indicates the sort order for this priority. 1 is first, 100 is last
Declaration
[DataMember]
public virtual int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Status
The status (normal/deleted) of the priority.
Declaration
[DataMember]
public virtual TicketPriorityStatus Status { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityStatus |
See Also
SunStart
The work hour start for Sundays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime SunStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
SunStop
The work hour stop for Sundays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime SunStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
ThuStart
The work hour start for Thursdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime ThuStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
ThuStop
The work hour stop for Thursdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime ThuStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
TicketChangedPriority
This field indicates what to do with the escalation chain when the request is changed into this priority
Declaration
[DataMember]
public virtual TicketPriorityEscalateEvent TicketChangedPriority { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
See Also
TicketClosed
This field indicates what to do with the escalation chain when the request is closed
Declaration
[DataMember]
public virtual TicketPriorityEscalateEvent TicketClosed { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
See Also
TicketNew
This field indicates what to do with the escalation chain when a new request is registered
Declaration
[DataMember]
public virtual TicketPriorityEscalateEvent TicketNew { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
See Also
TicketNewinfo
This field indicates what to do with the escalation chain when the request gets new info
Declaration
[DataMember]
public virtual TicketPriorityEscalateEvent TicketNewinfo { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
See Also
TicketPriorityId
The primary key (auto-incremented)
Declaration
[DataMember]
public virtual int TicketPriorityId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
TicketRead
This field indicates what to do with the escalation chain when the request is read
Declaration
[DataMember]
public virtual TicketPriorityEscalateEvent TicketRead { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
See Also
TueStart
The work hour start for Tuesdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime TueStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
TueStop
The work hour stop for Tuesdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime TueStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
WedStart
The work hour start for Wednesdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime WedStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
WedStop
The work hour stop for Wednesdays. Note that only the time part of the DateTime is used
Declaration
[DataMember]
public virtual DateTime WedStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
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. |