Skip to main content

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity”></a> Class TicketMessageEntity

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for TicketMessageEntity. The ticket messages are e-mails, SMS or other messages attached to a ticket (aka request).

Inheritance

objectCarrierTicketMessageEntity

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 TicketMessageEntity 123 using the WebApi client: <pre><code class=“lang-csharp”>var configuration = new WebApiConfiguration(url); var agent = new TicketAgent(configuration); var ticketMessageEntity = agent.GetTicketMessageEntity( 123 );</code></pre>

Remarks

Use <xref href=“SuperOffice.CRM.Services.ArchiveAgent?text=Archive+agent” data-throw-if-not-resolved=“false”></xref>: All TicketMessageEntity: <pre><code class=“lang-csharp”>“TicketMessage”</code></pre>

Constructors

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity__ctor”></a> TicketMessageEntity()

Default constructor - defaults any enum props to 0.

Properties

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_AttachmentsInfo”></a> AttachmentsInfo

Message attachments information

Property Value

AttachmentEntity[]

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Author”></a> Author

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

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Badge”></a> Badge

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

Property Value

BadgeType?

See Also

TicketMessageEntity.Badge_String

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Badge_String”></a> Badge_String

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

Property Value

string

See Also

TicketMessageEntity.Badge

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Body”></a> Body

The textbody for the message.

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_CreatedAt”></a> CreatedAt

When the message was posted.

Property Value

DateTime

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_CreatedBy”></a> CreatedBy

The associate who created this ticket message

Property Value

Associate

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_CustomFields”></a> 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 <xref href=“SuperOffice.WebApi.Data.TicketMessageEntity.ExtraFields” data-throw-if-not-resolved=“false”></xref> and UserDefinedFields properties are deprecated in favor of this combined collection. The value string is the encoded value: “[I:123]” or “[DT:2019-09-11]”.

Property Value

StringDictionary

Remarks

The naming convention of the key string is as follows: <table><tbody><tr><td class=“term”>Extra field data</td><td class=“description”> [Extra field name]<p></p> Example: <pre><code class=“lang-csharp”>‘x_gorp’ = ‘[I:123]’</code></pre> </td></tr><tr><td class=“term”>User defined field data</td><td class=“description”> [Prog-id name]<p></p> Example: <pre><code class=“lang-csharp”>‘SuperOffice:1’ = ‘[I:123]’</code></pre><p></p> </td></tr></tbody></table>

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_DebugInfo”></a> DebugInfo

The debug info for the message.

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_EjMessageId”></a> EjMessageId

The primary key (auto-incremented)

Property Value

int

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_EmailHeader”></a> EmailHeader

The email header is saved in this field as raw text

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_ExtraFields”></a> ExtraFields

Deprecated: Use <xref href=“SuperOffice.WebApi.Data.TicketMessageEntity.CustomFields” data-throw-if-not-resolved=“false”></xref> instead. Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc. The value string is the encoded value: “[I:123]” or “[DT:2019-09-11]”.

Property Value

StringDictionary

Remarks

The naming convention of the key string is as follows: <table><tbody><tr><td class=“term”>Plug-in data</td><td class=“description”> [Plug-in name].[Property name] Example: DocumentPlugin.DocumentType </td></tr><tr><td class=“term”>Foreign key data</td><td class=“description”> 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 </td></tr><tr><td class=“term”>User defined table data</td><td class=“description”> [Table name].[Field name] Example: Phunneling.AggregatedSales </td></tr><tr><td class=“term”>Other</td><td class=“description”> 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). </td></tr></tbody></table>

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_HtmlBody”></a> HtmlBody

The html body for the message (if any).

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Important”></a> Important

If this message is important or not.

Property Value

bool

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Language”></a> Language

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

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_MailSorter”></a> MailSorter

The name of the mail sorter used when the email was imported. Note: We must use name instead of id since the id&apos;s change every time one changes the mail sorter. :-0

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_MessageCategory”></a> MessageCategory

Defines what kind of message this is. NULL if unknown enum value.

Property Value

TicketMessageCategory?

See Also

TicketMessageEntity.MessageCategory_String

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_MessageCategory_String”></a> MessageCategory_String

Defines what kind of message this is. Raw string enum value.

Property Value

string

See Also

TicketMessageEntity.MessageCategory

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_MessageHeaders”></a> MessageHeaders

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

Property Value

TicketMessageHeader[]

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_MessageId”></a> MessageId

The Message-Id header value from the email. Used for threading, i.e. connecting messages to existing tickets.

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Person”></a> Person

If this is an incoming message, this will contain the person <p>Use MDO List name “person_new” to get list items.</p>

Property Value

Person

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_SearchTitle”></a> SearchTitle

A copy of the title of the ticket, for search optimisation and simpler reporting.

Property Value

string

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Sentiment”></a> Sentiment

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

Property Value

int

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_SentimentConfidence”></a> SentimentConfidence

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

Property Value

int

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Slevel”></a> Slevel

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

Property Value

TicketSecurityLevel?

See Also

TicketMessageEntity.Slevel_String

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Slevel_String”></a> Slevel_String

The securitylevel of the message. Raw string enum value.

Property Value

string

See Also

TicketMessageEntity.Slevel

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Ticket”></a> Ticket

The connected ticket

Property Value

Ticket

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_TimeSpent”></a> TimeSpent

The time spent (minutes) for this message.

Property Value

int

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Type”></a> Type

The type of the message (plaintext/html). NULL if unknown enum value.

Property Value

TicketMessageType?

See Also

TicketMessageEntity.Type_String

<a id=“SuperOffice_WebApi_Data_TicketMessageEntity_Type_String”></a> Type_String

The type of the message (plaintext/html). Raw string enum value.

Property Value

string

See Also

TicketMessageEntity.Type

See Also

TicketAgent, ArchiveAgent,