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 ServerMessageName | 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>2025-10-05T00:01:00.8953041+00:00</Created> <CreatedBy>76eb0b85-556a-44d6-a778-9e4229cb5e09</CreatedBy> <CreatedByEmail>sample string 10</CreatedByEmail> <Expires>2025-10-05T00:01:00.8953041+00:00</Expires> <GeneralServer>true</GeneralServer> <ID>22e3e787-2efd-4bf3-8dbe-cc4143868d41</ID> <Level>5</Level> <Starts>2025-10-05T00:01:00.8953041+00:00</Starts> <Subject>sample string 3</Subject> <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>6931bb99-86cb-46fd-a1fe-21c96d33839c</d3p1:guid> <d3p1:guid>164a6099-0759-4a49-8ea4-a35f67992dff</d3p1:guid> </Tags> <TagsDescription>sample string 12</TagsDescription> <Type>6</Type> <Updated>2025-10-05T00:01:00.8953041+00:00</Updated> <UpdatedBy>250a67b6-9d11-4df3-8470-984f80d3b7d1</UpdatedBy> <UpdatedByEmail>sample string 11</UpdatedByEmail> </Message> <Message> <Body>sample string 4</Body> <Created>2025-10-05T00:01:00.8953041+00:00</Created> <CreatedBy>76eb0b85-556a-44d6-a778-9e4229cb5e09</CreatedBy> <CreatedByEmail>sample string 10</CreatedByEmail> <Expires>2025-10-05T00:01:00.8953041+00:00</Expires> <GeneralServer>true</GeneralServer> <ID>22e3e787-2efd-4bf3-8dbe-cc4143868d41</ID> <Level>5</Level> <Starts>2025-10-05T00:01:00.8953041+00:00</Starts> <Subject>sample string 3</Subject> <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>6931bb99-86cb-46fd-a1fe-21c96d33839c</d3p1:guid> <d3p1:guid>164a6099-0759-4a49-8ea4-a35f67992dff</d3p1:guid> </Tags> <TagsDescription>sample string 12</TagsDescription> <Type>6</Type> <Updated>2025-10-05T00:01:00.8953041+00:00</Updated> <UpdatedBy>250a67b6-9d11-4df3-8470-984f80d3b7d1</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.