Capabilities
Capabilities | SQL | API |
Connector Capabilities | ||
Read | Yes | Yes |
Backfill | No | No |
Bidirectional Capabilities | ||
Incident Create | No | No |
Incident Update | No | No |
Narrative Update | No | No |
Customers of this CAD may be able to use bidirectional capabilities through IntelliComm. See Bidirectional CAD Integrations.
Overview
SQL Data Mart
The Mark43 Data Agent Connector is a secure middleware solution designed to access and transport data from a SQL data mart. Using a SQL reader account, the agent connects to the data mart to perform read-only operations. The retrieved data is encrypted using advanced encryption standards, ensuring data security during transit. Once encrypted, the data is securely transported to AWS GovCloud, maintaining compliance with strict regulatory requirements for handling sensitive information.
No CAD data is stored on the local server running the data agent.
API
The Data Agent connects directly to the Mark43 CAD API. It signs in with HTTP Basic authentication and makes only read requests.
Standard Data Fields
These are the standard data fields the Data Agent reads from Mark43. The tables below show each GovWorx field and the source it comes from.
Note: Additional fields are considered enhancement requests.
SQL: Incident fields
Source names are columns of the analytics_cad views and cad tables in the data mart. The Data Agent reads incidents by the date of the last event clearing.
GovWorx field | Mark43 source | Notes |
Incident ID |
| |
Incident Number |
| |
Incident Type |
| With the Code - Description setting on, vw_agency_events.call_for_service_code comes first. |
Caller Number |
| |
Caller Name |
| |
Agency |
| |
Agency Type |
| |
Incident Date |
| |
Disposition |
| The primary disposition of the most recently updated event clearing. |
Location |
| |
Priority |
| |
Latitude |
| |
Longitude |
| |
Call Position |
| The station linked to the call taker. |
Call Taker ID |
| The user who created the event. |
Call Taker Name |
| |
Call Source |
| |
Call Received Time |
| Converted to the department time zone. The earliest CAD note timestamp setting replaces this with the earliest note time. |
Closed At |
| The Data Agent reads incidents by this date. |
SQL: Notes
GovWorx field | Mark43 source | Notes |
Note ID |
| The event narrative. Additional information notes use additional_infos.id. |
Note Text |
| Additional information notes use additional_infos.text. |
Note By |
| The user who created the event. Additional information notes use the badge number of the author. |
Note Time |
| Converted to the department time zone. Additional information notes use additional_infos.created_date_utc. |
SQL: Responders and units
Source names are columns of the cad tables in the data mart.
GovWorx field | Mark43 source | Notes |
Unit Name |
| |
Personnel ID |
| The person linked to the unit in the status history. |
Dispatched At |
| The status entry whose unit_states.display_abbreviation matches the dispatched status setting. |
Enroute At |
| Matches the en route status setting. |
Arrived At |
| Matches the arrived status setting. |
Cleared At |
| Matches the cleared status setting. |
API: Incident fields
Source names are fields of each event the Mark43 API returns. The Data Agent uploads an event once it closes, once all its units clear, or once it is older than the Settle Deadline setting.
GovWorx field | Mark43 API source | Notes |
Incident ID |
| Uses cadCommonEventId when mark43Id is empty. The Data Agent skips events with neither. |
Incident Number |
| |
Incident Type |
| With the Code - Description setting on, callForServiceCode comes first. |
Priority |
| |
Caller Number |
| |
Caller Name |
| |
Agency |
| |
Call Source |
| |
Call Position |
| |
Call Taker ID |
| |
Call Taker Name |
| |
Incident Date |
| |
Call Received Time |
| Uses callDateUtc when empty. The earliest CAD note timestamp setting replaces this with the earliest note time. |
Disposition |
| Uses dispositionAbbreviation when empty. |
Radio Channel |
| Joined with commas. |
Related Incident ID |
| The first value. |
Location |
| Built from the street number, street name, apartment, city, state, and zip when empty. |
Location Name |
| |
Street Number |
| |
Street Name |
| |
Apartment |
| Uses externalLocation.subPremise when empty. |
City |
| |
State |
| |
Zip |
| |
County |
| |
Cross Street 1 |
| |
Cross Street 2 |
| |
Latitude |
| |
Longitude |
| |
Closed At |
| Uses the latest unit Cleared At when empty. |
API: Notes
GovWorx field | Mark43 API source | Notes |
Note Text |
| One note for the event narrative, with no author or time. |
Note ID |
| |
Note Text |
| One note for each entry. |
Note By |
| |
Note Time |
|
API: Responders and units
One responder for each unit. The Data Agent skips status entries that Mark43 marks as not related to the event.
GovWorx field | Mark43 API source | Notes |
Unit Name |
| |
Personnel ID |
| The first user on the unit. |
Dispatched At |
| The status whose unitStateCode matches the dispatched status setting. Uses firstUnitDispatchDateUtc for the first unit when empty. |
Enroute At |
| Matches the en route status setting. Uses firstUnitEnrouteDateUtc for the first unit when empty. |
Arrived At |
| Matches the arrived status setting. Uses firstUnitArrivalDateUtc for the first unit when empty. |
Cleared At |
| Matches the cleared status setting. |
Data Agent Settings
To prepare for this connection, we need the following details. These are settings in the GovWorx Data Agent configuration for this connector. A toggle is an on/off switch in that configuration.
SQL Data Mart
Setting | Type | Explanation |
| Text | Host/URL of the reporting database |
| Toggle | Toggle will enable the use of a domain service account that is configured to run the agent service as authentication to SQL server |
| Text | Database user |
| Password | Database password |
| Text | Database Schema to read from |
| Text | Comma Separated list of unit statuses programmed in CAD for "DISPATCHED" Status. Default: DP. |
| Text | Comma Separated list of unit statuses programmed in CAD for "EN ROUTE" Status. Default: ER. |
| Text | Comma Separated list of unit statuses programmed in CAD for "ARRIVED/ON SCENE" Status. Default: OS. |
| Text | Comma Separated list of unit statuses programmed in CAD for "CLEARED" Status. Default: AV. |
| Text | Comma separated list of call for service types. The Data Agent skips incidents with these types. |
| Toggle | Toggle will format Incident Type as the call for service code, a hyphen, and the type. Incidents with no code keep the type alone. |
| Number | How far back the first run looks, when the Data Agent has no earlier run to continue from. Default: 1. |
| Number | Caps how far back a stale cursor can reach so an idle or reconnected connector does not issue an oversized catch-up query. Default: 8. |
| Toggle | Toggle will use the earliest CAD note time as Call Received Time. Use it when the first note marks the start of the call better than the CAD pickup time. Call Pickup Time does not change. When no note has a time, Call Received Time stays as read from CAD. Default: off. This setting is on every CAD connector. |
*: Required
API
Setting | Type | Explanation |
| Text | The base URL of the Mark43 API. The Data Agent builds every request URL from it. |
| Text | Username for HTTP Basic authentication. |
| Password | Token for HTTP Basic authentication. |
| Number | Number of events the Data Agent requests at a time. Mark43 allows 1 to 25. Default: 25. |
| Number | How far back each run looks for events. Default: 24. Values below 2 become 2. |
| Number | The Data Agent holds back an open incident until it closes, until all its units clear, or until it is older than this many hours. Default: 4. This value must be lower than Initial Lookback. The Data Agent lowers it when it is not. |
| Text | Comma separated list of unit status codes for the dispatched time. Default: DP. |
| Text | Comma separated list of unit status codes for the en route time. Default: ER. |
| Text | Comma separated list of unit status codes for the arrived time. Default: OS. |
| Text | Comma separated list of unit status codes for the cleared time. Default: AV. |
| Text | Comma separated list of eventType values. The Data Agent skips events with these types. |
| Toggle | Toggle will format Incident Type as the call for service code, a hyphen, and the type. Events with no code keep the type alone. |
| Toggle | Toggle will use the earliest CAD note time as Call Received Time. Use it when the first note marks the start of the call better than the CAD pickup time. Call Pickup Time does not change. When no note has a time, Call Received Time stays as read from CAD. Default: off. This setting is on every CAD connector. |
*: Required
