> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.SystemMessage

# <a id="SuperOffice_WebApi_Data_SystemMessage" /> Class SystemMessage

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for SystemMessage.
System Message to be displayed to a user

```csharp theme={null}
public class SystemMessage : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[SystemMessage](SuperOffice.WebApi.Data.SystemMessage.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_SystemMessage__ctor" /> SystemMessage()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public SystemMessage()
```

## Properties

### <a id="SuperOffice_WebApi_Data_SystemMessage_AssociateId" /> AssociateId

The associate that is the target of this message

```csharp theme={null}
public virtual int AssociateId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_SystemMessage_Expire" /> Expire

The date and time the message expires

```csharp theme={null}
public virtual DateTime Expire { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_SystemMessage_MarkdownMessage" /> MarkdownMessage

Markdown message to be displayed to user

```csharp theme={null}
public virtual string MarkdownMessage { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_SystemMessage_MessageId" /> MessageId

Primary key

```csharp theme={null}
public virtual int MessageId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_SystemMessage_OnlineappId" /> OnlineappId

The online app that owns this message

```csharp theme={null}
public virtual int OnlineappId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_SystemMessage_SystemMessageId" /> SystemMessageId

Message identifier, used for message update or removal

```csharp theme={null}
public virtual string SystemMessageId { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_SystemMessage_Type" /> Type

Type of message, example: info, warning, error
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public SystemMessageType? Type { get; set; }
```

#### Property Value

[SystemMessageType](SuperOffice.WebApi.Data.SystemMessageType.md)?

#### See Also

[SystemMessage](SuperOffice.WebApi.Data.SystemMessage.md).[Type\_String](SuperOffice.WebApi.Data.SystemMessage.md#SuperOffice_WebApi_Data_SystemMessage_Type_String)

### <a id="SuperOffice_WebApi_Data_SystemMessage_Type_String" /> Type\_String

Type of message, example: info, warning, error
Raw string enum value.

```csharp theme={null}
[JsonProperty("Type")]
public string Type_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[SystemMessage](SuperOffice.WebApi.Data.SystemMessage.md).[Type](SuperOffice.WebApi.Data.SystemMessage.md#SuperOffice_WebApi_Data_SystemMessage_Type)

## See Also

[DiagnosticsAgent](SuperOffice.WebApi.Agents.DiagnosticsAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.SystemMessageType](/en/api/reference/webapi/SuperOffice.WebApi.Data.SystemMessageType.md)
- [SuperOffice.WebApi.Agents.DiagnosticsAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DiagnosticsAgent.md)
- [SuperOffice.WebApi.Agents.IDiagnosticsAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IDiagnosticsAgent.md)
- [SuperOffice.WebApi.Data.Diagnostics GetSystemMessagesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Diagnostics_GetSystemMessagesRequest.md)
- [SuperOffice.WebApi.Data.Diagnostics RemoveSystemMessageRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Diagnostics_RemoveSystemMessageRequest.md)
- [SuperOffice.WebApi.Data.Diagnostics SendSystemMessageRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Diagnostics_SendSystemMessageRequest.md)
