Skip to main content

Class TicketMessage

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for TicketMessage. The TicketMessage carrier is used for representing a service ticket message

Inheritance

objectCarrierTicketMessage

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Examples

Get TicketMessage 123 using the WebApi client:
var configuration = new WebApiConfiguration(url);
var agent = new TicketAgent(configuration);
var ticketMessage = agent.GetTicketMessage( 123 );

Constructors

TicketMessage()

Default constructor - defaults any enum props to 0.

Properties

Author

A string representing the author of the message. Could be a user's name, or a persons email address.

Property Value

string

Badge

Badge to explicitly determine how a message was generated NULL if unknown enum value.

Property Value

BadgeType?

See Also

TicketMessage.Badge_String

Badge_String

Badge to explicitly determine how a message was generated Raw string enum value.

Property Value

string

See Also

TicketMessage.Badge

ChangedAt

When the message was changed.

Property Value

DateTime

ContactDepartment

Department

Property Value

string

ContactId

Primary key

Property Value

int

ContactName

Contact name

Property Value

string

CreatedAt

When the message was posted.

Property Value

DateTime

CreatedBy

The id of the user who posted the message. The value 1 (system user) for externally posted messages.

Property Value

int

EmailHeader

The email header is saved in this field as raw text

Property Value

string

Important

If this message is important or not.

Property Value

bool

Language

The language this message is in, based on some kind of analysis

Property Value

string

MessageHeaders

Contains the message headers, like To, Cc, Bcc information, or custom headers

Property Value

TicketMessageHeader[]

NumAttachments

Number of attachments in the message

Property Value

int

PersonFullName

Get the persons full name (internal name used in clients for employees).

Property Value

string

PersonId

Primary key

Property Value

int

Sentiment

Sentiment index, 100 = completely happy; -100 = suicidally unhappy; 0 = no idea

Property Value

int

SentimentConfidence

Confidence of sentiment index, 0 = no idea, 100 = completely sure

Property Value

int

Slevel

The securitylevel of the message. NULL if unknown enum value.

Property Value

TicketSecurityLevel?

See Also

TicketMessage.Slevel_String

Slevel_String

The securitylevel of the message. Raw string enum value.

Property Value

string

See Also

TicketMessage.Slevel

TicketMessageId

The primary key (auto-incremented)

Property Value

int

See Also

TicketAgent