GET api/Alert/Subscriptions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetAlertSubscriptionResponse
NameDescriptionTypeAdditional information
AlertSubscriptions

Array of Alerts

Collection of AlertSubscription

None.

Messages

Array of messages

Collection of Message

None.

ServerInformation

Relevant information regarding the Server

ServerInformation

None.

VersionInformation

Relevant information regarding the API's version

VersionInformation

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "AlertSubscriptions": [
    {
      "ID": 1,
      "Enabled": true,
      "Username": "sample string 3",
      "ObjectName": "sample string 4",
      "ObjectID": 5,
      "ObjectType": 10,
      "AlertTypeThreshold": 0,
      "IncludeChildObjects": true,
      "ReceiveEmail": true,
      "ReceiveSMS": true
    },
    {
      "ID": 1,
      "Enabled": true,
      "Username": "sample string 3",
      "ObjectName": "sample string 4",
      "ObjectID": 5,
      "ObjectType": 10,
      "AlertTypeThreshold": 0,
      "IncludeChildObjects": true,
      "ReceiveEmail": true,
      "ReceiveSMS": true
    }
  ],
  "Messages": [
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    },
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    }
  ],
  "ServerInformation": {
    "CurrentTimeUTC": "2025-11-09T21:32:34.4025128+10:00",
    "BuildDateUTC": "2025-11-09T21:32:34.4025128+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 3,
    "Hotfix": 7,
    "Beta": false,
    "Version": "1.3.7"
  }
}

application/xml, text/xml

Sample:
<GetAlertSubscriptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RimikAPI.Models.Responses">
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services">
    <d2p1:Common.Message>
      <d2p1:CodeDesc>2</d2p1:CodeDesc>
      <d2p1:MessageCode>1</d2p1:MessageCode>
      <d2p1:MessageText>sample string 3</d2p1:MessageText>
      <d2p1:RecordNumber>4</d2p1:RecordNumber>
      <d2p1:Severity>Information</d2p1:Severity>
    </d2p1:Common.Message>
    <d2p1:Common.Message>
      <d2p1:CodeDesc>2</d2p1:CodeDesc>
      <d2p1:MessageCode>1</d2p1:MessageCode>
      <d2p1:MessageText>sample string 3</d2p1:MessageText>
      <d2p1:RecordNumber>4</d2p1:RecordNumber>
      <d2p1:Severity>Information</d2p1:Severity>
    </d2p1:Common.Message>
  </Messages>
  <ServerInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services.Metadata">
    <d2p1:BuildDateUTC>2025-11-09T21:32:34.4025128+10:00</d2p1:BuildDateUTC>
    <d2p1:CurrentTimeUTC>2025-11-09T21:32:34.4025128+10:00</d2p1:CurrentTimeUTC>
  </ServerInformation>
  <VersionInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services.Metadata" />
  <AlertSubscriptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Models">
    <d2p1:APIStructs.AlertSubscription>
      <d2p1:AlertTypeThreshold>Message</d2p1:AlertTypeThreshold>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IncludeChildObjects>true</d2p1:IncludeChildObjects>
      <d2p1:ObjectID>5</d2p1:ObjectID>
      <d2p1:ObjectName>sample string 4</d2p1:ObjectName>
      <d2p1:ObjectType>Device</d2p1:ObjectType>
      <d2p1:ReceiveEmail>true</d2p1:ReceiveEmail>
      <d2p1:ReceiveSMS>true</d2p1:ReceiveSMS>
      <d2p1:Username>sample string 3</d2p1:Username>
    </d2p1:APIStructs.AlertSubscription>
    <d2p1:APIStructs.AlertSubscription>
      <d2p1:AlertTypeThreshold>Message</d2p1:AlertTypeThreshold>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IncludeChildObjects>true</d2p1:IncludeChildObjects>
      <d2p1:ObjectID>5</d2p1:ObjectID>
      <d2p1:ObjectName>sample string 4</d2p1:ObjectName>
      <d2p1:ObjectType>Device</d2p1:ObjectType>
      <d2p1:ReceiveEmail>true</d2p1:ReceiveEmail>
      <d2p1:ReceiveSMS>true</d2p1:ReceiveSMS>
      <d2p1:Username>sample string 3</d2p1:Username>
    </d2p1:APIStructs.AlertSubscription>
  </AlertSubscriptions>
</GetAlertSubscriptionResponse>