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-04-03T06:24:27.6485205+00:00</Created>
<CreatedBy>b824a861-800e-4a28-996a-c80b2cee1052</CreatedBy>
<CreatedByEmail>sample string 10</CreatedByEmail>
<Expires>2026-04-03T06:24:27.6485205+00:00</Expires>
<GeneralServer>true</GeneralServer>
<ID>bea4dacc-73fd-482a-914d-b1a59f64fa5d</ID>
<Level>5</Level>
<Starts>2026-04-03T06:24:27.6485205+00:00</Starts>
<Subject>sample string 3</Subject>
<Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>3178998e-ddf5-446a-aebd-59b2d64110a3</d3p1:guid>
<d3p1:guid>28749f98-6632-461f-89da-b531bdeaa53f</d3p1:guid>
</Tags>
<TagsDescription>sample string 12</TagsDescription>
<Type>6</Type>
<Updated>2026-04-03T06:24:27.6485205+00:00</Updated>
<UpdatedBy>5fa9696d-b692-431a-b7eb-7f8130bf5537</UpdatedBy>
<UpdatedByEmail>sample string 11</UpdatedByEmail>
</Message>
<Message>
<Body>sample string 4</Body>
<Created>2026-04-03T06:24:27.6485205+00:00</Created>
<CreatedBy>b824a861-800e-4a28-996a-c80b2cee1052</CreatedBy>
<CreatedByEmail>sample string 10</CreatedByEmail>
<Expires>2026-04-03T06:24:27.6485205+00:00</Expires>
<GeneralServer>true</GeneralServer>
<ID>bea4dacc-73fd-482a-914d-b1a59f64fa5d</ID>
<Level>5</Level>
<Starts>2026-04-03T06:24:27.6485205+00:00</Starts>
<Subject>sample string 3</Subject>
<Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>3178998e-ddf5-446a-aebd-59b2d64110a3</d3p1:guid>
<d3p1:guid>28749f98-6632-461f-89da-b531bdeaa53f</d3p1:guid>
</Tags>
<TagsDescription>sample string 12</TagsDescription>
<Type>6</Type>
<Updated>2026-04-03T06:24:27.6485205+00:00</Updated>
<UpdatedBy>5fa9696d-b692-431a-b7eb-7f8130bf5537</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.