GET api/v1/user/notifications

Geth the last user notifications

Request Information

URI Parameters

None.

Requires Authorization!

Roles:

Body Parameters

None.

Response Information

Resource Description

ResultOfListOfNotificationDto
NameDescriptionTypeAdditional information
Data

Collection of NotificationDto

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "NotificationDate": "2025-04-29T11:34:15.0358334-03:00",
      "Title": "sample string 2",
      "MessageText": "sample string 3",
      "NotificationClass": "Security",
      "NotificationPriority": "High",
      "NotificationType": "sample string 4"
    },
    {
      "NotificationDate": "2025-04-29T11:34:15.0358334-03:00",
      "Title": "sample string 2",
      "MessageText": "sample string 3",
      "NotificationClass": "Security",
      "NotificationPriority": "High",
      "NotificationType": "sample string 4"
    }
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResultOfArrayOfNotificationDtop36I_Swao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lar.Entities.Ep">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Lar.SicopPlus.Entities.DTOs">
    <d2p1:NotificationDto>
      <d2p1:MessageText>sample string 3</d2p1:MessageText>
      <d2p1:NotificationClass>Security</d2p1:NotificationClass>
      <d2p1:NotificationDate>2025-04-29T11:34:15.0358334-03:00</d2p1:NotificationDate>
      <d2p1:NotificationPriority>High</d2p1:NotificationPriority>
      <d2p1:NotificationType>sample string 4</d2p1:NotificationType>
      <d2p1:Title>sample string 2</d2p1:Title>
    </d2p1:NotificationDto>
    <d2p1:NotificationDto>
      <d2p1:MessageText>sample string 3</d2p1:MessageText>
      <d2p1:NotificationClass>Security</d2p1:NotificationClass>
      <d2p1:NotificationDate>2025-04-29T11:34:15.0358334-03:00</d2p1:NotificationDate>
      <d2p1:NotificationPriority>High</d2p1:NotificationPriority>
      <d2p1:NotificationType>sample string 4</d2p1:NotificationType>
      <d2p1:Title>sample string 2</d2p1:Title>
    </d2p1:NotificationDto>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
</ResultOfArrayOfNotificationDtop36I_Swao>