POST api/v1/POA/EventLog

Detaljerad händelselogg för en given fullmakt. Ange om alla versioner av fullmakten ska inkluderas, vilka typer av händelser som ska returnas och om svaret bara ska avse ett givet tidsintervall.

Allowed Roles

  • BKP
  • Fullmaktshavare

Request Information

POAEventLogRequest
NameDescriptionTypeAdditional information
POAId

Fullmaktens unika ID.

globally unique identifier

None.

FilterByTimeStamp

Datum för filtrera händelser. Filtret säkerställer att event som har skett inom angiven minut hämtas.

date

None.

TimeSpanStart

Tidpunkt för start av tidsspann inom vilket händelser ska sökas fram.

date

None.

TimeSpanEnd

Tidpunkt för slut av tidsspann inom vilket händelser ska sökas fram.

date

None.

IncludePoaFamily

Inkluderar samtliga händelser för alla besläktade fullmakter. När IncludePoaFamily är satt till true inkluderar svaret information från ersatta och ersättande fullakter. Om denna flagga inte anges så är defaultvärdet false.

boolean

None.

Filter

Lista med händelsetyper som ska redovisas i resultatet.

Collection of POALogEventType

None.

Request Formats

application/xml, text/xml

Sample:
<POAEventLogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
  <POAId>4b6359cd-d27f-46a8-9cd5-8db380573e17</POAId>
  <FilterByTimeStamp>2025-07-29T05:46:43.8259426+00:00</FilterByTimeStamp>
  <TimeSpanStart>2025-07-29T05:46:43.8259426+00:00</TimeSpanStart>
  <TimeSpanEnd>2025-07-29T05:46:43.8259426+00:00</TimeSpanEnd>
  <IncludePoaFamily>true</IncludePoaFamily>
  <Filter>
    <POALogEventType>POACreated</POALogEventType>
    <POALogEventType>POACreated</POALogEventType>
  </Filter>
</POAEventLogRequest>

Response Information

Resource Description

EventLogResponse
NameDescriptionTypeAdditional information
POAId

Fullmaktens unika ID.

globally unique identifier

None.

POALogEvents

Lista med händelser för fullmakten.

Collection of POALogEvent

None.

Response Formats

application/xml, text/xml

Sample:
<EventLogResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
  <POAId>f4d31303-861d-45f0-99c0-4bad788e6f17</POAId>
  <POALogEvents>
    <POALogEvent>
      <EventPOAId>cf28d58b-a69b-4992-828c-18736d5fd944</EventPOAId>
      <TimeStamp>2025-07-29T05:46:43.8367174+00:00</TimeStamp>
      <Description>sample string 1</Description>
      <POALogEventType>POACreated</POALogEventType>
    </POALogEvent>
    <POALogEvent>
      <EventPOAId>cf28d58b-a69b-4992-828c-18736d5fd944</EventPOAId>
      <TimeStamp>2025-07-29T05:46:43.8367174+00:00</TimeStamp>
      <Description>sample string 1</Description>
      <POALogEventType>POACreated</POALogEventType>
    </POALogEvent>
  </POALogEvents>
</EventLogResponse>