GET api/serverMessages?unreadOnly={unreadOnly}
Get a list of the active server messages
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unreadOnly |
Defaults to true, only include messages unread by this user |
boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
List of unexpired, started server messages
Collection of ServerMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Created |
Time when message was created |
date |
Data type: DateTime |
| CreatedBy |
Account id of administrator who created message |
globally unique identifier |
None. |
| Starts |
Time for message to begin appearing |
date |
Data type: DateTime |
| Subject |
Message subject, default: "GaP Announcement" |
string |
Data type: Text |
| Body |
Message body |
string |
Required Data type: MultilineText String length: inclusive between 0 and 1220 |
| Level |
Message importance level |
MessageLevel |
None. |
| Type |
Message type |
MessageType |
None. |
| Expires |
When to stop showing message if not deleted first |
date |
Data type: DateTime |
| GeneralServer |
Indicates if this message is for the server in general or not. |
boolean |
None. |
| Updated |
Last time message was updated |
date |
Data type: DateTime |
| UpdatedBy |
Account id of administrator who last updated message |
globally unique identifier |
None. |
| CreatedByEmail | string |
Relation. This field may not always be loaded or used for updates. |
|
| UpdatedByEmail | string |
Relation. This field may not always be loaded or used for updates. |
|
| MessageLevel | string |
Relation. This field may not always be loaded or used for updates. |
|
| MessageType | string |
Relation. This field may not always be loaded or used for updates. |
|
| TagsDescription | string |
Relation. This field may not always be loaded or used for updates. |
|
| Tags | Collection of globally unique identifier |
Relation. This field may not always be loaded or used for updates. |
Response Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml, text/xml
<ArrayOfMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Messages">
<Message>
<Body>sample string 4</Body>
<Created>2026-06-03T18:36:34.0150715+00:00</Created>
<CreatedBy>bc63104d-4db2-4bb9-9cef-cd00f80fafe5</CreatedBy>
<CreatedByEmail>sample string 10</CreatedByEmail>
<Expires>2026-06-03T18:36:34.0150715+00:00</Expires>
<GeneralServer>true</GeneralServer>
<ID>cceadc44-e820-43fc-a73b-5edbd4b26c17</ID>
<Level>5</Level>
<Starts>2026-06-03T18:36:34.0150715+00:00</Starts>
<Subject>sample string 3</Subject>
<Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>9585f1f5-323a-4551-b918-0335922bf7f4</d3p1:guid>
<d3p1:guid>77960b77-f9fa-4b36-8b79-6d3ab931b724</d3p1:guid>
</Tags>
<TagsDescription>sample string 12</TagsDescription>
<Type>6</Type>
<Updated>2026-06-03T18:36:34.0150715+00:00</Updated>
<UpdatedBy>a10b22e7-511e-4e81-a367-91e657c499f2</UpdatedBy>
<UpdatedByEmail>sample string 11</UpdatedByEmail>
</Message>
<Message>
<Body>sample string 4</Body>
<Created>2026-06-03T18:36:34.0150715+00:00</Created>
<CreatedBy>bc63104d-4db2-4bb9-9cef-cd00f80fafe5</CreatedBy>
<CreatedByEmail>sample string 10</CreatedByEmail>
<Expires>2026-06-03T18:36:34.0150715+00:00</Expires>
<GeneralServer>true</GeneralServer>
<ID>cceadc44-e820-43fc-a73b-5edbd4b26c17</ID>
<Level>5</Level>
<Starts>2026-06-03T18:36:34.0150715+00:00</Starts>
<Subject>sample string 3</Subject>
<Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>9585f1f5-323a-4551-b918-0335922bf7f4</d3p1:guid>
<d3p1:guid>77960b77-f9fa-4b36-8b79-6d3ab931b724</d3p1:guid>
</Tags>
<TagsDescription>sample string 12</TagsDescription>
<Type>6</Type>
<Updated>2026-06-03T18:36:34.0150715+00:00</Updated>
<UpdatedBy>a10b22e7-511e-4e81-a367-91e657c499f2</UpdatedBy>
<UpdatedByEmail>sample string 11</UpdatedByEmail>
</Message>
</ArrayOfMessage>
text/csv
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample not available.
application/vnd.ms-excel
Sample not available.