Custom Connector

Polisen Events Connector

Sweden

The Polisen Connector facilitates seamless integration with Polisen events, enabling access to event-related data for analytics, visualization, and incident monitoring. It acts as a proxy to streamline data retrieval, supporting event enumeration with optional filtering by date, location, and event type.

Type
Virtual machines, Single VM, BYOL
Runs on
Google Compute Engine
Last update
24 Oct 2024
Category
Integration
Overview

Integration Overview

This document provides a detailed guide for the integration point, its purpose, configuration, and workflow support using the Polisen API Connector.

  • getEvents. Retrieves a list of events from the Polisen API with optional filtering by date, location, and event type.
Documentation

Detailed Integration Documentation

Events Retrieval

ActiongetEvents
PurposeRetrieves a list of events from the Polisen API — the primary entry point for event data, with filtering by datetime, location, and event type.
ConfigurationConfigure the base URL via CONNECTOR_ENV_POLISEN_BASE_URL (default https://polisen.se). The port is configurable via CONNECTOR_ENV_PORT (default 8081).
ParametersRequired: None. Optional:
DateTime — filter by date/time (e.g. 2025-09-01T15:00:00); locationname — filter by location (e.g. Stockholm); type — filter by type (e.g. incident, accident). Custom headers (default application/json).
OutputSuccessful: JSON object with event data as provided by the Polisen API. Failure: JSON error (e.g. {“error”:“Failed to connect to upstream API”}) with a 500 status code.
Workflow exampleExecute getEvents with DateTime=2025-09-01T15:00:00&locationname=Stockholm, then display or analyze event data.

Example Workflow: Fetching & Filtering Events

Retrieve eventsUse getEvents to fetch events — e.g. /api/events?locationname=Stockholm&type=incident for incidents in Stockholm.
Process event dataParse the JSON response to extract event details (event ID, timestamp, location).
Analyze or visualizeUse the data for analysis (incident trends) or visualization (mapping events).
Support

For technical support, contact custom-connectors-support@isolutions.sa.

free consultation

Schedule a Free Consultation With Our Specialists

Book a free demo
request

Begin Your Adventure With Experienced Professionals

Send request
help desk

Do You Have Questions or Want More Information? Call Now.

Contact support