GET api/v1/{tenant}/audit/events/{aggregateRootId}
Get latest events for specified AR
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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-11-23T06:24:06Z",
"Type": "sample string 2"
},
{
"EventDetails": null,
"CreatedAt": "2025-11-23T06:24:06Z",
"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-11-23T06:24:06.7879431+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-11-23T06:24:06.7879431+02:00</CreatedAt>
<EventDetails xmlns:d3p1="http://mpsapi.healthbridge.com/platform/core/v1/event/" i:nil="true" />
<Type>sample string 2</Type>
</Event>
</ArrayOfEvent>