GET api/v1/alerts?start={start}&limit={limit}

Get the alerts.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
start

integer

Default value is 0

limit

integer

Default value is 100

Body Parameters

None.

Response Information

Resource Description

AlertsViewModel
NameDescriptionTypeAdditional information
CriticalCount

integer

None.

ErrorCount

integer

None.

WarningCount

integer

None.

InfoCount

integer

None.

ActionRequiredCount

integer

None.

Alerts

Collection of AlertViewModel

None.

Response Formats

application/json, text/json, application/senml+json

Sample:
{
  "CriticalCount": 1,
  "ErrorCount": 2,
  "WarningCount": 3,
  "InfoCount": 4,
  "ActionRequiredCount": 5,
  "Alerts": [
    {
      "Id": "d1d7eb20-640b-4c8f-8ac3-770753d37a28",
      "Url": "sample string 2",
      "Message": "sample string 3",
      "ActionRequired": true,
      "Level": "Warning",
      "Distribution": "All",
      "Cleared": true,
      "DateAdded": "2024-11-20T23:52:13.9276014+00:00",
      "LastUpdated": "2024-11-20T23:52:13.9276014+00:00",
      "RaisedById": "a7aaf496-1b1e-498a-aaba-e5f50987e688",
      "RaisedByUser": {
        "Id": "5120cedd-e3af-4c06-9b81-8824dc8d7e58",
        "Url": "sample string 2",
        "AccountId": "sample string 3",
        "Name": "sample string 4",
        "UserName": "sample string 5",
        "FullUserName": "sample string 6",
        "DisplayName": "sample string 7",
        "Avatar": {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        "TimeLine": {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        "Profile": {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        "Tags": [
          "sample string 1",
          "sample string 2"
        ],
        "Links": [
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          },
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          }
        ],
        "Actions": [
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          },
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          }
        ]
      },
      "MoreLink": {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      "Links": [
        {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        }
      ],
      "AssignedToUserId": "f10072b1-e48f-40fc-a34e-6b352fb6acdf",
      "RaisedByUserId": "15dc3cc2-c614-4cf7-b94a-a7ca27205350",
      "PostedOn": "2024-11-20T23:52:13.9276014+00:00",
      "Tags": [
        "sample string 1",
        "sample string 2"
      ],
      "Private": true
    },
    {
      "Id": "d1d7eb20-640b-4c8f-8ac3-770753d37a28",
      "Url": "sample string 2",
      "Message": "sample string 3",
      "ActionRequired": true,
      "Level": "Warning",
      "Distribution": "All",
      "Cleared": true,
      "DateAdded": "2024-11-20T23:52:13.9276014+00:00",
      "LastUpdated": "2024-11-20T23:52:13.9276014+00:00",
      "RaisedById": "a7aaf496-1b1e-498a-aaba-e5f50987e688",
      "RaisedByUser": {
        "Id": "5120cedd-e3af-4c06-9b81-8824dc8d7e58",
        "Url": "sample string 2",
        "AccountId": "sample string 3",
        "Name": "sample string 4",
        "UserName": "sample string 5",
        "FullUserName": "sample string 6",
        "DisplayName": "sample string 7",
        "Avatar": {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        "TimeLine": {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        "Profile": {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        "Tags": [
          "sample string 1",
          "sample string 2"
        ],
        "Links": [
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          },
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          }
        ],
        "Actions": [
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          },
          {
            "Href": "sample string 1",
            "Rel": "sample string 2",
            "Action": "sample string 3"
          }
        ]
      },
      "MoreLink": {
        "Href": "sample string 1",
        "Rel": "sample string 2",
        "Action": "sample string 3"
      },
      "Links": [
        {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        },
        {
          "Href": "sample string 1",
          "Rel": "sample string 2",
          "Action": "sample string 3"
        }
      ],
      "AssignedToUserId": "f10072b1-e48f-40fc-a34e-6b352fb6acdf",
      "RaisedByUserId": "15dc3cc2-c614-4cf7-b94a-a7ca27205350",
      "PostedOn": "2024-11-20T23:52:13.9276014+00:00",
      "Tags": [
        "sample string 1",
        "sample string 2"
      ],
      "Private": true
    }
  ]
}

application/xml, text/xml

Sample:
<AlertsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Alerts">
  <ActionRequiredCount>5</ActionRequiredCount>
  <Alerts>
    <AlertViewModel>
      <ActionRequired>true</ActionRequired>
      <AssignedToUserId>f10072b1-e48f-40fc-a34e-6b352fb6acdf</AssignedToUserId>
      <Cleared>true</Cleared>
      <DateAdded>2024-11-20T23:52:13.9276014+00:00</DateAdded>
      <Distribution>All</Distribution>
      <Id>d1d7eb20-640b-4c8f-8ac3-770753d37a28</Id>
      <LastUpdated>2024-11-20T23:52:13.9276014+00:00</LastUpdated>
      <Level>Warning</Level>
      <Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
        <d4p1:LinkViewModel>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:LinkViewModel>
        <d4p1:LinkViewModel>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:LinkViewModel>
      </Links>
      <Message>sample string 3</Message>
      <MoreLink xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
        <d4p1:Action>sample string 3</d4p1:Action>
        <d4p1:Href>sample string 1</d4p1:Href>
        <d4p1:Rel>sample string 2</d4p1:Rel>
      </MoreLink>
      <PostedOn>2024-11-20T23:52:13.9276014+00:00</PostedOn>
      <Private>true</Private>
      <RaisedById>a7aaf496-1b1e-498a-aaba-e5f50987e688</RaisedById>
      <RaisedByUser xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
        <d4p1:AccountId>sample string 3</d4p1:AccountId>
        <d4p1:Actions>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
        </d4p1:Actions>
        <d4p1:Avatar>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:Avatar>
        <d4p1:DisplayName>sample string 7</d4p1:DisplayName>
        <d4p1:FullUserName>sample string 6</d4p1:FullUserName>
        <d4p1:Id>5120cedd-e3af-4c06-9b81-8824dc8d7e58</d4p1:Id>
        <d4p1:Links>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
        </d4p1:Links>
        <d4p1:Name>sample string 4</d4p1:Name>
        <d4p1:Profile>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:Profile>
        <d4p1:Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d4p1:Tags>
        <d4p1:TimeLine>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:TimeLine>
        <d4p1:Url>sample string 2</d4p1:Url>
        <d4p1:UserName>sample string 5</d4p1:UserName>
      </RaisedByUser>
      <RaisedByUserId>15dc3cc2-c614-4cf7-b94a-a7ca27205350</RaisedByUserId>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Tags>
      <Url>sample string 2</Url>
    </AlertViewModel>
    <AlertViewModel>
      <ActionRequired>true</ActionRequired>
      <AssignedToUserId>f10072b1-e48f-40fc-a34e-6b352fb6acdf</AssignedToUserId>
      <Cleared>true</Cleared>
      <DateAdded>2024-11-20T23:52:13.9276014+00:00</DateAdded>
      <Distribution>All</Distribution>
      <Id>d1d7eb20-640b-4c8f-8ac3-770753d37a28</Id>
      <LastUpdated>2024-11-20T23:52:13.9276014+00:00</LastUpdated>
      <Level>Warning</Level>
      <Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
        <d4p1:LinkViewModel>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:LinkViewModel>
        <d4p1:LinkViewModel>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:LinkViewModel>
      </Links>
      <Message>sample string 3</Message>
      <MoreLink xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
        <d4p1:Action>sample string 3</d4p1:Action>
        <d4p1:Href>sample string 1</d4p1:Href>
        <d4p1:Rel>sample string 2</d4p1:Rel>
      </MoreLink>
      <PostedOn>2024-11-20T23:52:13.9276014+00:00</PostedOn>
      <Private>true</Private>
      <RaisedById>a7aaf496-1b1e-498a-aaba-e5f50987e688</RaisedById>
      <RaisedByUser xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
        <d4p1:AccountId>sample string 3</d4p1:AccountId>
        <d4p1:Actions>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
        </d4p1:Actions>
        <d4p1:Avatar>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:Avatar>
        <d4p1:DisplayName>sample string 7</d4p1:DisplayName>
        <d4p1:FullUserName>sample string 6</d4p1:FullUserName>
        <d4p1:Id>5120cedd-e3af-4c06-9b81-8824dc8d7e58</d4p1:Id>
        <d4p1:Links>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
          <d4p1:LinkViewModel>
            <d4p1:Action>sample string 3</d4p1:Action>
            <d4p1:Href>sample string 1</d4p1:Href>
            <d4p1:Rel>sample string 2</d4p1:Rel>
          </d4p1:LinkViewModel>
        </d4p1:Links>
        <d4p1:Name>sample string 4</d4p1:Name>
        <d4p1:Profile>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:Profile>
        <d4p1:Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d4p1:Tags>
        <d4p1:TimeLine>
          <d4p1:Action>sample string 3</d4p1:Action>
          <d4p1:Href>sample string 1</d4p1:Href>
          <d4p1:Rel>sample string 2</d4p1:Rel>
        </d4p1:TimeLine>
        <d4p1:Url>sample string 2</d4p1:Url>
        <d4p1:UserName>sample string 5</d4p1:UserName>
      </RaisedByUser>
      <RaisedByUserId>15dc3cc2-c614-4cf7-b94a-a7ca27205350</RaisedByUserId>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Tags>
      <Url>sample string 2</Url>
    </AlertViewModel>
  </Alerts>
  <CriticalCount>1</CriticalCount>
  <ErrorCount>2</ErrorCount>
  <InfoCount>4</InfoCount>
  <WarningCount>3</WarningCount>
</AlertsViewModel>