GET api/v1/{tenant}/audit/events/{aggregateRootId}

Get latest events for specified AR

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenant

string

Required

aggregateRootId

AR id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

return all events for provided AR

Collection of Com.Healthbridge.Hhas.Audit.Interface.ValueObjects.EventVo
NameDescriptionTypeAdditional information
EventDetails

Details

Com.Healthbridge.Core.CommonDomain.Interface.Event

None.

CreatedAt

Creation Date

date

None.

Type

Type of event

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EventDetails": null,
    "CreatedAt": "2025-04-17T02:31:02Z",
    "Type": "sample string 2"
  },
  {
    "EventDetails": null,
    "CreatedAt": "2025-04-17T02:31:02Z",
    "Type": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mpsapi.healthbridge.com/platform/audit/v1/audit/">
  <Event>
    <CreatedAt>2025-04-17T02:31:02.7133421+02:00</CreatedAt>
    <EventDetails xmlns:d3p1="http://mpsapi.healthbridge.com/platform/core/v1/event/" i:nil="true" />
    <Type>sample string 2</Type>
  </Event>
  <Event>
    <CreatedAt>2025-04-17T02:31:02.7133421+02:00</CreatedAt>
    <EventDetails xmlns:d3p1="http://mpsapi.healthbridge.com/platform/core/v1/event/" i:nil="true" />
    <Type>sample string 2</Type>
  </Event>
</ArrayOfEvent>