POST api/v1/POA/Events
Hämta ut händelseinformation för fullmakter (ersatt av EventLog).
Allowed Roles
- BKP
- Fullmaktshavare
Request Information
EventsSearchRequestName | Description | Type | Additional information |
---|---|---|---|
Filter |
Filter |
string |
String length: inclusive between 0 and 255 |
Direction |
Sorteringsordning |
POASearchDirection |
Required |
OrderBy |
Sortera på |
EventSearchOrderBy |
Required |
StartDate |
Startdatum (UTC) |
date |
None. |
EndDate |
Slutdatum (UTC) |
date |
None. |
Count |
Antal svar att hämta |
integer |
Required |
Skip |
Antal att hoppa över |
integer |
Required |
FilterEventTypes |
Typer av event att hämta |
Collection of POAEventType |
None. |
Request Formats
application/xml, text/xml
Sample:
<EventsSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <Filter>sample string 1</Filter> <Direction>Ascending</Direction> <OrderBy>Date</OrderBy> <StartDate>2025-07-25T08:36:06.335697+00:00</StartDate> <EndDate>2025-07-25T08:36:06.335697+00:00</EndDate> <Count>2</Count> <Skip>3</Skip> <FilterEventTypes> <POAEventType>Unknown</POAEventType> <POAEventType>Unknown</POAEventType> </FilterEventTypes> </EventsSearchRequest>
Response Information
Resource Description
EventsSearchResponseName | Description | Type | Additional information |
---|---|---|---|
Events |
Lista med events |
Collection of POAEvent |
None. |
TotalCount |
Totalt antal träffar |
integer |
None. |
Throttled |
Har sökningen fler svar än vad som returnerats |
boolean |
None. |
Response Formats
application/xml, text/xml
Sample:
<EventsSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <Events> <POAEvent> <Date>2025-07-25T08:36:06.3513142+00:00</Date> <Name>sample string 2</Name> <Number>sample string 3</Number> <AgentName>sample string 4</AgentName> <POAId>9ea81efe-39d0-4e75-b272-b5f53d6eadd3</POAId> <Data>sample string 6</Data> <StatusTypeId>Unknown</StatusTypeId> </POAEvent> <POAEvent> <Date>2025-07-25T08:36:06.3513142+00:00</Date> <Name>sample string 2</Name> <Number>sample string 3</Number> <AgentName>sample string 4</AgentName> <POAId>9ea81efe-39d0-4e75-b272-b5f53d6eadd3</POAId> <Data>sample string 6</Data> <StatusTypeId>Unknown</StatusTypeId> </POAEvent> </Events> <TotalCount>1</TotalCount> <Throttled>true</Throttled> </EventsSearchResponse>
Other Responses
401 Unauthorized
403 Forbidden
- ERRFOR0001: A digital signature is required for this method.
400 Bad Request
- GENERR0005: Argument {0} cannot be null.