GET Users/GetNotifications?userID={userID}

Returns notifications for the current user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of NotificationDTO
NameDescriptionTypeAdditional information
Timestamp

Gets or set the date time

date

None.

Event

Event

string

None.

Message

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "Timestamp": "2024-05-14T17:07:33Z",
      "Event": "sample string 2",
      "Message": "sample string 3"
    },
    {
      "Timestamp": "2024-05-14T17:07:33Z",
      "Event": "sample string 2",
      "Message": "sample string 3"
    }
  ]
}

text/javascript

Sample:
{"results":[{"Timestamp":"2024-05-14T17:07:33Z","Event":"sample string 2","Message":"sample string 3"},{"Timestamp":"2024-05-14T17:07:33Z","Event":"sample string 2","Message":"sample string 3"}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<ArrayOfNotificationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <NotificationDTO>
    <Event>sample string 2</Event>
    <Message>sample string 3</Message>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-05-14T21:07:33.2425894Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </Timestamp>
  </NotificationDTO>
  <NotificationDTO>
    <Event>sample string 2</Event>
    <Message>sample string 3</Message>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-05-14T21:07:33.2425894Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </Timestamp>
  </NotificationDTO>
</ArrayOfNotificationDTO>