GET api/serverMessages?unreadOnly={unreadOnly}

Get a list of the active server messages

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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

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:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<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-06-14T07:08:33.0296176+00:00</Created>
    <CreatedBy>853a2038-d359-424e-ab3d-6313eb4fe805</CreatedBy>
    <CreatedByEmail>sample string 9</CreatedByEmail>
    <Expires>2025-06-14T07:08:33.0296176+00:00</Expires>
    <ID>ba9aaed0-2699-45b5-b59e-85450b4513ac</ID>
    <Level>5</Level>
    <Starts>2025-06-14T07:08:33.0296176+00:00</Starts>
    <Subject>sample string 3</Subject>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>12bc6ffc-6b4f-4dde-8150-130c52de6c35</d3p1:guid>
      <d3p1:guid>8d719c09-7845-4f20-8b01-dcbc725c3d2a</d3p1:guid>
    </Tags>
    <TagsDescription>sample string 11</TagsDescription>
    <Type>6</Type>
    <Updated>2025-06-14T07:08:33.0296176+00:00</Updated>
    <UpdatedBy>a7e3826d-8562-45fb-beb8-69d8159dd450</UpdatedBy>
    <UpdatedByEmail>sample string 10</UpdatedByEmail>
  </Message>
  <Message>
    <Body>sample string 4</Body>
    <Created>2025-06-14T07:08:33.0296176+00:00</Created>
    <CreatedBy>853a2038-d359-424e-ab3d-6313eb4fe805</CreatedBy>
    <CreatedByEmail>sample string 9</CreatedByEmail>
    <Expires>2025-06-14T07:08:33.0296176+00:00</Expires>
    <ID>ba9aaed0-2699-45b5-b59e-85450b4513ac</ID>
    <Level>5</Level>
    <Starts>2025-06-14T07:08:33.0296176+00:00</Starts>
    <Subject>sample string 3</Subject>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>12bc6ffc-6b4f-4dde-8150-130c52de6c35</d3p1:guid>
      <d3p1:guid>8d719c09-7845-4f20-8b01-dcbc725c3d2a</d3p1:guid>
    </Tags>
    <TagsDescription>sample string 11</TagsDescription>
    <Type>6</Type>
    <Updated>2025-06-14T07:08:33.0296176+00:00</Updated>
    <UpdatedBy>a7e3826d-8562-45fb-beb8-69d8159dd450</UpdatedBy>
    <UpdatedByEmail>sample string 10</UpdatedByEmail>
  </Message>
</ArrayOfMessage>

text/csv

Sample:

Sample not available.

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:

Sample not available.

application/vnd.ms-excel

Sample:

Sample not available.