GET   messages?active={active}&customerId={customerId}

Gets a list of UI messages. UI messages are used for user notifications on announcements/information/warnings.

URL Parameters

NameDescription
active

Set to 'true' to get only active messages, 'false' to get all messages. If not specified then 'true' is the default value.

customerId

Filter by customer ID. Can be any existing customer (for the root administrators) or any of sub-customers or current customer (for customer administrators). If not specified then all available messages will be returned.

Request example

Response body model example and description

Message

[
  {
    "id": 1,
    "text": "sample string 2",
    "message_is_from": "sample string 3",
    "from_date_utc": "2024-09-27T11:08:49",
    "to_date_utc": "2024-09-27T11:08:49",
    "importance": "sample string 6",
    "enabled": true,
    "customer_id": 1,
    "include_sub_customers": true
  },
  {
    "id": 1,
    "text": "sample string 2",
    "message_is_from": "sample string 3",
    "from_date_utc": "2024-09-27T11:08:49",
    "to_date_utc": "2024-09-27T11:08:49",
    "importance": "sample string 6",
    "enabled": true,
    "customer_id": 1,
    "include_sub_customers": true
  },
  {
    "id": 1,
    "text": "sample string 2",
    "message_is_from": "sample string 3",
    "from_date_utc": "2024-09-27T11:08:49",
    "to_date_utc": "2024-09-27T11:08:49",
    "importance": "sample string 6",
    "enabled": true,
    "customer_id": 1,
    "include_sub_customers": true
  }
]
NameType Description
idInteger

The message's numeric identifier.

textString

Text of the message.

message_is_fromString

Text about the message sender.

from_date_utcDateTime

Message activity start date and time.

to_date_utcDateTime

Message activity end date and time.

importanceString

Message importance. Possible values: "L"/"H"/"C" ("Low","High","Critical").

enabledBoolean

Indicates whether the message is enabled or not.

customer_idInteger

Customer Id. Сustomer who’s users will get the message.

include_sub_customersBoolean

Include sub-customers users as targets of the message.