GET api/consumer/v1/users/audit

Get all user's events

Request Information

URI Parameters

None

Body Parameters

None

Response Information

Resource Description

The events

AuditUnreadUserEventsDto
NameDescriptionTypeAdditional information
TotalUnreadEvents

integer

None

Events

Collection of AuditMinDto

None

Response Formats

application/json, text/json

Sample:
{
  "TotalUnreadEvents": 1,
  "Events": [
    {
      "Id": "9a72380b-dac3-4ab2-856b-735b057531cf",
      "MessageShort": "sample string 2",
      "MessageFull": "sample string 3",
      "CreationDate": "2024-11-01T19:44:34.818594+01:00",
      "EntityId": 5,
      "EntityType": 6,
      "Author": {
        "Login": "sample string 1",
        "FullName": "sample string 2",
        "Avatar": "sample string 3",
        "Id": 4
      }
    },
    {
      "Id": "9a72380b-dac3-4ab2-856b-735b057531cf",
      "MessageShort": "sample string 2",
      "MessageFull": "sample string 3",
      "CreationDate": "2024-11-01T19:44:34.818594+01:00",
      "EntityId": 5,
      "EntityType": 6,
      "Author": {
        "Login": "sample string 1",
        "FullName": "sample string 2",
        "Avatar": "sample string 3",
        "Id": 4
      }
    }
  ]
}

application/xml, text/xml

Sample:
<AuditUnreadUserEventsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <Events>
    <AuditMinDto>
      <Author>
        <Id>4</Id>
        <Avatar>sample string 3</Avatar>
        <FullName>sample string 2</FullName>
        <Login>sample string 1</Login>
      </Author>
      <CreationDate>2024-11-01T19:44:34.818594+01:00</CreationDate>
      <EntityId>5</EntityId>
      <EntityType>6</EntityType>
      <Id>9a72380b-dac3-4ab2-856b-735b057531cf</Id>
      <MessageFull>sample string 3</MessageFull>
      <MessageShort>sample string 2</MessageShort>
    </AuditMinDto>
    <AuditMinDto>
      <Author>
        <Id>4</Id>
        <Avatar>sample string 3</Avatar>
        <FullName>sample string 2</FullName>
        <Login>sample string 1</Login>
      </Author>
      <CreationDate>2024-11-01T19:44:34.818594+01:00</CreationDate>
      <EntityId>5</EntityId>
      <EntityType>6</EntityType>
      <Id>9a72380b-dac3-4ab2-856b-735b057531cf</Id>
      <MessageFull>sample string 3</MessageFull>
      <MessageShort>sample string 2</MessageShort>
    </AuditMinDto>
  </Events>
  <TotalUnreadEvents>1</TotalUnreadEvents>
</AuditUnreadUserEventsDto>