3rd Party Integration

This section provides an overview on the current integration options available to 3rd party applications from the Metrix Asset Management system. Additional integrations are always being developed, and will only be documented once they have been thoroughly tested. If there is a 3rd party platform with which you would like to integrate with your Metrix Asset Management system, please contact support@metrixassets.com. The integrations discussed in this section are:

Subsections of 3rd Party Integration

QGIS Integration

The Metrix Asset Management system QGIS Plugin enables users to swiftly and easily access their Asset Records directly within the QGIS interface. This provides the capacity to:

  • Edit Geometries using QGIS’s powerful editing suite of tools,
  • Create detailed maps with custom styling and layouts,
  • Overlay other user data for custom integrations

Install

Info

QGIS 3.16 or above is required to use this Integration

To install the QGIS Plugin we will use the Plugin Manager to add new plugin repository in order to make sure you can receive the latest plugin versions updates when they are released.

  1. Select ‘Plugins -> Manage and Install plugins..’

  2. Select ‘Settings’

  3. In the ‘Plugin’ Repositories section select ‘Add’

  4. Use the following details

  5. Click ‘Ok’ to add the new repository

You should now have two plugin ‘Plugin Repositories’ shown; the official one and the Metrix Assets one

  1. Select the ‘All’ side menu item to show all available plugins

  2. Search for ‘Metrix Assets’ and select ‘Install’

Setting Up a Connection

To begin using the QGIS plugin for Metrix Assets we first have to create a connection to the Cloud Portal. To do this:

  1. Right click on the Metrix Assets node in your QGIS Browser.

  2. Select ‘Connection Settings…’ from the dialogue menu.

    NOTE: These options are also available from the Plugin’s Menu Bar.

  3. In the resulting dialogue box, set the ‘Client ID’ based on your normal Metrix Assets Portal URL. For example; for a Metrix Assets Portal of http://demo.Metrixassets.com the ‘Client ID’ will be demo.

  4. The next step is to setup the Authentication parameters (username and password).

  5. Click the ‘+’ icon to begin adding your Authentication parameters.

    NOTE: QGIS maintains its own secure Authentication Parameter store. If you have never setup Authentication Parameters in QGIS before, you will be prompted for a Master Password that secures and encrypts the Parameter Store on your local machine.

  6. In the resulting dialogue box, set the following:

    • Name: This is simply a name that can be used to edit this Authentication Parameter at a later date - set it to whatever works best.
    • Username: The email address you sign into Metrix Assets with.
    • Password: The password you use to sign into Metrix Assets with.
  7. Click Save once the above parameters are set.

  8. You will be taken back to the ‘Connection Settings’ dialogue box with all the required settings now established. To connect to your data, simply click ‘Connect’ with the Authentication Configuration you defined in the ‘Authentication Configuration’ menu.

Loading Data using the Metrix Assets QGIS Plugin

Once you have setup a connection to your Metrix Assets environment, accessing your available layers can be achieved using the QGIS Browser Panel node ‘Metrix Assets’. To do this:

  1. If not already connected, right click on the ‘Metrix Assets’ node in the QGIS Browser Panel and click ‘Connect’.

  2. Once connected, expand the ‘Metrix Assets’ node in the QGIS Browser Panel to display the layers available. Each layer is constructed by a complete Asset Class.

  3. To add a layer to the map, simply double-click the layer, or drag it into the map.

  4. From this point, the geometries in the layer can be manipulated just like any other layer in QGIS. That is, to make an alteration to the layer, toggle editing for the layer and process your changes from there, using any native QGIS tools.

    NOTE: Attribute management is NOT currently supported by the tool.

  5. Just like standard QGIS methodology, when you have finished making your alterations, simply toggle editing and Save the changes. At this point, your changes have been saved to a local cache on your local machine.

  6. The final step is to synchronise these changes with the Cloud. To do this, navigate to the Plugin’s Menu bar and expand the ‘Synchronise’ sub-menu. From this sub-menu, select ‘Push All Local Changes…’

  7. Your changes will then be processed up to the Cloud and reflected there immediatley.

Using the Panel Interface

The Metrix Assets QGIS Plugin also has support for a Panel interface to view the status of your changes per layer. To use this:

  1. In the Plugin’s menu bar, ensure ‘Status’ is enabled (ticked).

  2. When enabled, you will have access to the Metrix Asset’s control panel which shows the sync status of your changes per layer.

Linking to the Cloud Portal

At any time whilst using the Metrix Assets QGIS Plugin, you can view one or many selected assets in the Cloud Portal with a simple click of a button. To do this:

  1. Select one or many assets in your layer.

  2. From the Plugin’s menu, select ‘View Selection in Metrix Assets’.

  3. This will open your default Internet Browser and show you the selected asset(s) in the portal.

Metrix Sync

Metrix Sync enables administrators to schedule the download of component data locally (on-premise) into a local database. The local data can then be ingested into 3rd party software such as Intramaps/QGIS for viewing purposes only.

For edit capabilities, refer to the QGIS Plugin.

NB. Users can alternatively manually download Reports that can contain more information than Metrix Sync supports such as conditions/financials/treatments.

Features

  • Able to be scheduled via Task Scheduler
  • Downloads component attribution
  • Built-in Search lookup
  • Security details are encrypted
  • User-defined Database connection parameters
  • User-defined Attributes to download
  • User-defined Search attributes
  • Built-in Metadata
  • Asset-based and component-based views per geometry type
  • Data loads in popular GIS software such as Intramaps/QGIS
  • Support for commonly used database flavors - Microsoft SQL Server
  • Self-updating

Requirements

  • Windows Operating System
  • .NET Framework 4.6.1
  • SQL Server 2014+

Installation

Request a Metrix consultant to roll this out for you. Refer to Metrix Sync Admin.

Example Screenshots

Schedule data to sync to a local SQL Server instance and detect changes made since the last sync.

Setup data in 3rd party software with select, search, layer toggle and integration capabilities

Subsections of Metrix Sync

How To: Implementing Metrix Sync

Download

Download the latest version:

Installation

  • Get an API Key from Metrix -> My Profile -> API Keys
  • Login to SQL Server Management Studio
  • Create an assets_cache database
  • Nominate a SQL Server user that Metrix Sync will use. Ensure that it has read/write/admin/owner permissions to the assets_cache database. If this user is a domain (AD) user, then Task Scheduler will need to Run As this user.
  • Unzip and put on customer network. e.g. \\SERVER_GIS_DIR\Application\Metrix\Metrix_Sync
  • Open the Config.ini in a Text Editor
  • Configure the Database Connection Details
  • Configure the Debug Mode: debug_mode=true
  • Configure the Encryption Mode: mode=encrypt
  • Configure the Apikey: apikey_unencrypted=APIKEY
  • Configure optional parameters
    • api_url=https://api.metrixassets.com/api/v1
      Only useful if the api url changes by the Metrix team.
    • api_attributes=attribute1,attribute2
      A comma delimited list of attributes to download. Refer to Metrix API.
    • search_attributes=attribute1,attribute2
      A comma delimited list of attributes that should be populated in the dbo.cache_lookup_for_search for search reasons. If unset, the ids and description will be searchable.
    • update_mode=true
      Set this to false if there are proxy or IT limitations that prevent the self-updater from functioning.
  • Run Metrix_Sync.exe
  • Copy the encrypted apikey
    Note that if you cannot copy the apikey, right click the top of the cmd window, click Edit and click Mark. You should then be able to interact with the window and highlight the text. Click the ENTER key to copy.
  • Open the Config.ini in a Text Editor
  • Configure the Apikey: apikey=ENCRYPTED_APIKEY
  • Delete the Unencypted APIKey line: apikey_unencrypted=APIKEY
  • Delete the Encryption Mode line: mode=encrypt
  • Run Metrix Sync
  • Check for any errors in the log files
  • Configure the Debug Mode: debug_mode=false
  • Open Task Scheduler
  • Create a new scheduled task to run nightly (or weekly) using the user defined above or a service account.

Implementation into Intramaps (Optional)

  • In Intramaps MapManager, create a map file called Assets (preferably) or if such exists, call it Infrastructure
  • Setup 3 live SQL Server layers to the assets_cache.dbo.*_vw views in MM
    Note: Ensure all three are setup. If you get errors due to empty views, set them up in the MM text
  • Call the layers:
    Metrix Point
    Metrix Line
    Metrix Polygon
  • Setup classes per layer that are based on the theme_name (if it exists) or classification.
    Note: You can get a distinct list of required themes via:
  • Setup an Other class per layer.
  • Setup 3 Tables in the Spatial tab of Intramaps ConfigManager pointing to the 3 component views
  • Setup 3 Selection Layers in the Spatial tab whose mapkey is the component_record_id and whose names are:
    Metrix Polygon SQL
    Metrix Line SQL
    Metrix Point SQL
  • Setup the following Info1 whose name is Info in all 3 Selection Layers. Ensure you change the URL!
  • For IM 9.10 and onwards, remove the following: +’|Click here'
  • Setup a new Database in the Databases tab called SQL (Assets MultiLayer) pointing to one of the 3 selection layers
  • Setup a new Auto-Complete Combobox query named Assets Descr AUTO
  • Setup a Multi-layer search named Metrix Asset with 1 field whose name is @keyword and whose Label is Asset with a width of 50 pointing to the above combobox

How to Purge Metrix Sync Data

  • Rename the cache_metadata to cache_metadata_backup
  • Rename the cache_metadata_backup PK from PK_cache_metadata to PK_cache_metadata_backup
  • Rename the cache_metadata_backup constraint from DF_cache_metadata_last_processed to DF_cache_metadata_backup_last_processed
  • Run Metrix Sync
  • Restore the backed up cache_metadata by deleting the newly created cache_metadata, renaming the backed up one and renaming it’s PK back to PK_cache_metadata and constraint back to DF_cache_metadata_last_processed

Site Integrations

Metrix Site Integrations enable administrators to establish URL-based links to any 3rd-party environment that supports hyperlinking ‘into’. When an end user triggers a site integration link, Metrix will build the target URL (based on the defined parameters of the integration) and redirect the user to that URL in a new browser tab.

There are no restrictions on the shape of the integrating URL aside from those stipulated by the rules of HTTP redirection, being:

  • Only GET endpoints are supported,
  • Custom request headers cannot be set, since browsers do not allow them for standard link navigation, and
  • Request bodies are not supported, (as GET requests do not include a body).

Features

Site integration links support the following features:

  • Fully customisable URL endpoint specifications
  • Dynamic value injection, including:
    • User click location: latitude/longitude and zoom level of where the user clicked.
    • Active record location: latitude/longitude of the user’s currently active record.
    • Dynamic record values: field values from the user’s currently active record.
    • Static values: to assist with URL re-usability across integration specifications.
Info

As stated above, site integrations do not support custom headers within the browser redirect flow. If authorization is required, contact our support team to discuss server-to-server approaches using temporary tokens and the like. In most cases however, existing session cookies or similar browser-based authentication will be sufficient for the target integration.

Read More

See the following guides for more information on Site Integrations:

Subsections of Site Integrations

Subsections of How To Guides

Create a Site Integration Link

To set up a new Site Integration link, navigate to the System Admin menu from the profile menu, and then follow the steps below:

Info

If you do not see a profile menu item titled ‘System Admin’, and you are a System Administrator, please contact the Metrix Support team for assistance.

  1. Select the ‘Site Integrations’ sections from the left-hand side navigation pane within the System Admin page. A list of current Site Integrations will be shown (if any exist).

  2. Select an option between ‘New Info Panel Integration’ and ‘New Map Tool Integration’ to initialise a new (blank) integration configuration. See Integration Types for more information on integration types.

  3. Firstly, provide a Name for the integration. This name MUST be unique to any other Site Integrations you may have set up. Furthermore, the integration Name will be displayed to the end user as the button text for initiating the link.

  4. Next, mark the Site Integration as either ‘Active’ or ‘Inactive’. By default, new setups are set to inactive until an administrator explicitly sets it as active. This setting can be toggled at any time to control the availability of the Site Integration for end users.

  5. Enter the URL for the new Site Integration. Any dynamic fields MUST be wrapped by two (2) curly braces and preceded by a period, as per the following:

    • {{.placeholder}} - indicates a dynamic field by the name ‘placeholder’.
    • {{.1invalid placeholder}} - is an invalid placeholder name. Placeholders cannot start with a number or contains spaces or special characters.

    Once you have supplied the URL, click ‘Validate’. This will parse and verify your provided URL as well as identify any placeholders that may exist within the string.

    Example

    As an example, the following URL has three (4) placeholder values:

    https://{{.client}}.com/see_data?lat={{.lat_value}}&lon={{.long_value}}&orgKey={{.my_org_key}}

    They are:

    • client: this placeholder has been situated within the core URL path,
    • lat_value: this placeholder is being used as the ‘value’ for the URL query parameter ’lat’,
    • long_value: this placeholder is being used as the ‘value’ for the URL query parameter ’long’, and
    • my_org_key: this placeholder is being used as the ‘value’ for the URL query parameter ‘orgKey’.
  6. For any placeholders that were identified within the URL, you will then need to configure how Metrix is to assign their value. Following validation, a table will be populated with the discovered placeholders. For each of the placeholders, select a valid ‘Key Type’ and, if required, supply a ‘Value’ that corresponds with the chosen ‘Key Type’.

    See Dynamic Field Types for more information on these key types.

    Warning

    If you have modified a pre-existing URL value (and subsequently performed another ‘Validation’), some of your placeholders may be ‘flagged for removal’. This means that the Site Integration URL previously contained a placeholder by the respective name, but that placeholder is no longer present.

    You will not be able to proceed with saving the Site Integration until you explicitly remove these orphaned placeholders by clicking the ‘delete’ option on the respective row.

  7. For ‘Info Panel Integrations’, it is possible to OPTIONALLY constrain the integration’s availability. That is, you can specify that it only appears to an end user who has clicked on an asset/component:

    • that is of one or more Asset/Component Classifications, or
    • that is assigned to one or more Report Category Options.

    To set up constraints for your Integration, see Constraining Integration Links for additional steps to follow.

  8. Once you have completed all the above (as is relevant), simply click ‘Save’ at the top of the form. The Site Integration, if marked as Active in step 4, will appear immediately following a browser refresh for end users.

Constraining Site Integration Links

To constrain the presence of a new or existing Info Panel Integration link, perform the following steps whilst editing (or creating a new) Site Integration Link:

  1. From the Info Panel Integration Link edit form, click ‘Manage Integration Constraints’. A panel will appear with constraint options for the Integration.

    Info

    If you are editing an existing Info Panel Integration that is already constrained, this button will read either:

    • ‘Manage Classification Constraints’, or
    • ‘Manage Report Category Constraints’.

    For Map Tool Integrations, this button will not display at all.

  2. For unconstrained Integrations the default state for this panel is ‘Classification’ based constraints. If the intention is to constrain the Integration via assignment to one or more Report Category Options, simply click ‘Use Category Constraints’.

    Info

    It is not possible to use both ‘Classification’ and ‘Report Category’ constraints on the same Integration configuration. Furthermore, if any constraints (of a specific type) have been applied previously to the Integration, then these will need to be fully removed before switching to the alternate constraint type.

  3. For each of the constraints you wish to assign to the Integration, simply click ‘Assign’ next to the relevant option.

    For Classification Constraints
    The panel will be split into two halves. The upper-half lists Asset Classifications whilst the lower-half lists Component Classifications.

    Constraining an Integration to one or more Asset Classifications means that the current Integration will only appear in the Asset Info Panel for Assets of that/those types.

    Constraining an Integration to one or more Component Classifications means that the current Integration will only appear in the Component Info Panel for Components of that/those types.

    It is allowed to specify BOTH Asset and Component Classifications as constraints to any one Integration configuration.

    For Report Category Option Constraints The panel will show a single list of available Report Category Options.

    Constraining an Integration to one or more Report Category Options means that the current Integration will only appear in the Component Info Panel for Components that have been assigned to that/those category options.

  4. To remove a constraint, simply click ‘Unassign’ next to the relevant option.

  5. Once finished, simply click ‘Done’ at the top of the panel to stage your changes and close the panel.

    Warning

    The changes to Integration Constraints only take effect if you subsequently ‘Save’ the Integration after the constraints panel closes. Up until such point, the changes to constraints are merely staged for commit.

Subsections of About

Integration Types

There are two (2) Integration Types supported by the Metrix Asset Management system.

  • Info Panel Integrations: will appear in a (relevant) info panel when a user selects a record in the main Assets page.
  • Map Tool Integrations: will appear as an option in the ‘Integrations’ menu within main Asset page’s map window. Note: if no map tool integrations exist, the ‘Integrations’ menu will not show in the map window.

The following explains the above Integration Types in further detail.

Info Panel Integrations

These integrations will appear as a button within relevant info panels when an end user selects a record in the main Assets page. Info Panel Integrations support several Dynamic Field Types as well as options for Constraining Integration Links.

Dynamic Fields Available for Info Panel Integrations

  • Record Value: a value that is pulled from the selected record in the main Assets page. When using this dynamic field type, administrators will need to specify (as a ‘value’) which field value to pull from the selected record.
  • Record Location: the latitude and/or longitude coordinates (WGS84) of the selected record in the main Assets page. No ‘value’ specification is required when using one of these location types of dynamic fields.
  • Static Value: a value that is set by the administrator when creating the integration link and does not change. When using this dynamic field type, administrators will need to specify (as a ‘value’) the static value that they want to be injected into the Integration Link.

Constraining Info Panel Integrations

  • Record Classification: the Asset and/or Component Classification(s) of the selected record in the main Assets page.
  • Record Report Category: whether the selected record in the main Assets page has a Report Category assigned or not.

Map Tool Integrations

These integrations will appear as an option in the ‘Integrations’ menu within main Asset page’s map window. End users will choose an Integration from the menu and then proceed to CLICK the map to activate the integration link. The click location and the current zoom level of the map will be supplied as dynamic field values to the Integration Link.

Dynamic Fields Available for Map Tool Integrations

  • Click Location: the latitude and longitude coordinates (WGS84) of the user’s click on the map. No ‘value’ specification is required when using this dynamic field type.
  • Map Zoom Level: the current zoom level of the map when the user clicks on the map to activate the integration link. No ‘value’ specification is required when using this dynamic field type.
  • Static Value: a value that is set by the administrator when creating the integration link and does not change. When using this dynamic field type, administrators will need to specify (as a ‘value’) the static value that they want to be injected into the Integration Link.

Constraining Map Tool Integrations

Constraining Map Tool Integrations is not supported.

Dynamic Field Types

There are several Dynamic Field Types that can be specified when configuring placeholder values within a Site Integration Link. The following list details the Dynamic Field Types that are currently supported by the Metrix Asset Management system:

Static Values

Availability Value Specification Required
Info Panel and Map Tool Integrations Yes, the static value to be injected into the integration link

A value that is set by the administrator when creating the integration link and does not change. When using this dynamic field type, administrators will need to specify (as a ‘value’) the static value that they want to be injected into the Integration Link.

The use case for these types of dynamic fields (as opposed to simply hardcoding the value into the URL itself) is to allow administrators to easily re-use the same URL for multiple integration links, and simply update the static value for each link as required.

Feature Attribute Values

Availability Value Specification Required
Info Panel Integrations Only Yes, the name of the field to be extracted from the record

A value that is derived from the end user’s active record. As such, this dynamic field type is only available for Info Panel Integrations. When using this dynamic field type, administrators will need to specify (as a ‘value’) which field value to pull from the selected record in the main Assets page.

At present, the following field names are supported for this dynamic field type:

  • record_id: the Cloud Record ID for the Asset/Component record.
  • description: the Description field value for the Asset/Component record.

NOTE: Any custom field can also be used as a Feature Attribute. This will retrieve the specified custom attribute value from the Asset/Component record (if it exists). For these fields, the ‘value’ to specify should be the ID/CODE of the specific Custom Attribute. These can be found in the relevant Form Specification.

Click Location Latitude Values

Availability Value Specification Required
Map Tool Integrations Only No

The latitude coordinate (WGS84) of where the end user clicks on the map the activate the integration.

No ‘value’ specification is required when using this dynamic field type.

Click Location Longitude Values

Availability Value Specification Required
Map Tool Integrations Only No

The longitude coordinate (WGS84) of where the end user clicks on the map the activate the integration.

No ‘value’ specification is required when using this dynamic field type.

Map Zoom Level Values

Availability Value Specification Required
Map Tool Integrations Only No

The current zoom level of the map when the end user clicks on the map to activate the integration. The zoom level is specified as a number between 0 and 25 (as per Web Map Tile Zoom Levels).

No ‘value’ specification is required when using this dynamic field type.

Record Location Latitude Values

Availability Value Specification Required
Info Panel Integrations Only No

The latitude coordinate (WGS84) of the selected record in the main Assets page.

No ‘value’ specification is required when using this dynamic field type.

Record Location Longitude Values

Availability Value Specification Required
Info Panel Integrations Only No

The longitude coordinate (WGS84) of the selected record in the main Assets page.

No ‘value’ specification is required when using this dynamic field type.

Report Runner Tool

The Report Runner tool available for sites using the Metrix Asset Management system allows users to automate the running and subsequent download of any CSV report available through the system. This can be useful for sites that wish to store spreadsheet versions of their asset data in a local file system for use by other applications or the like.

Getting the Report Runner Tool

To get the Report Runner tool, simply contact our support team. We will provide you with the latest stable version of the tool. The tool is a simple executable file that can be run on any Windows machine.

Setting up the Report Runner Tool

The Report Runner tool leverages a simple configuration file to instruct it on which report(s) to fetch, where to store the downloaded CSV file(s), and how to authenticate with Metrix in order to perform each request. The following outlines the required configuration parameters. Also shown, is an example configuration file.

  • token: a valid API token (with asset:read scope) generated within your Metrix Asset Management environment. This token is used to authenticate the Report Runner tool with your Metrix environment.

  • log_file: the file path to which the Report Runner tool should write its log output to. This can be useful for debugging and monitoring purposes.

  • reports: an ARRAY of report objects that the Report Runner tool should fetch and download. Each report object should contain the following parameters:

    • template_id: the unique identifier of the report template you wish to run. This can be seen in the URL when you open any report template within the Metrix Asset Management system. For example, for a report template with a URL of …/reports/template/RTO_E3MWCDP the template id will be RTO_E3MWCDP.

    • name: the name of the CSV file you wish to have the report saved as. This should be a simple string value and should NOT include any file path or extension details.

    • output_location: the file path to which the Report Runner tool should save the downloaded CSV file to. This should be a valid file path on the machine that the Report Runner tool is being executed on.

    • max_status_retries: the maximum number of times the Report Runner tool should retry checking the status of a report run before it gives up on downloading it and moves on to the next report. This can be useful for handling cases where report runs may take a long time to complete. A safe standard value for this field is, 5.

    • config: an object containing key-value pairs that represent the configuration parameters for the report you wish to run. For specific advice on what configuration parameters are required for various report templates, see the section below. For any reports that are not listed below, please contact our support team.

Example Configuration File

{
   "token": "super-secure-api-token",
   "log_file": "C:/report-runner/logs/report-runner.log",
   "reports": [
      {
         "template_id": "RTO_E3MWCDP",
         "name": "component_information",
         "output_location": "C:/report-runner/outputs",
         "max_status_retries": 5,
         "config": {
            "selected_date": "${end-of-day}",
            "append_asset_data": false,
            "append_component_data": false,
            "fields_to_include": [ "finance_category", "gross_value", "depreciable_value" ],
            "filter": "$DEFAULT",
            "selected_report_categories": []
         }
      },
      {
         "template_id": "RTB_EFYWCDPP",
         "name": "raw_finance_data_export",
         "output_location": "C:/report-runner/outputs",
         "max_status_retries": 5,
         "config": {
            "selected_date": "${end-of-day}"
         }
      }
   ]
}

Note: in the above example, the keyword ${end-of-day} is used as a special/dynamic value for the selected_date configuration parameter. When the Report Runner tool encounters this keyword, it will automatically replace it with the current date at 11:59:59 PM. This can be useful for ensuring that your reports always run with the most up-to-date data without having to manually update the configuration file each time.

Running the Report Runner Tool

To run the Report Runner tool, simply execute it by calling the following from a command line interface:

report-runner.exe config_file.json

Note: in the above command, the terminal’s current working directory is within the folder that contains both the report-runner.exe file and the config_file.json file.

Report Template Configuration Parameters

The following outlines the required configuration parameters for some of the most commonly used report templates within the Metrix Asset Management system. For any report templates not listed below, please contact our support team.

Component Data Export

Template ID: RTO_E3MWCDP

The Component Data Export report template allows you to export a comprehensive dataset containing information about all of your assets and their components. The report takes the following configuration parameters:

  • selected_date: the date for which you want to run the report for. This should be in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ) and specified at UTC. Being a date, users can also leverage the dynamic keyword ${end-of-day} for this configuration parameter.
  • filter: a string value that references the filter to apply to your asset network when running this report. This can either be the ID of a valid filter you have defined, or set to one of the following:
    • $DEFAULT: this is the standard default filter that includes all asset types, but excludes disposed and proposed assets.
    • $ALL_ASSETS: this is the same as default, but includes disposed and proposed assets as well.
  • append_asset_data: a boolean value indicating whether you want the report to include asset-level custom attribute data. This option is currently only available when the filter configuration parameter is NOT set to $DEFAULT.
  • append_component_data: a boolean value indicating whether you want the report to include component-level custom attribute data.
  • fields_to_include: an array of string values that specify which standard fields you want to include in the report output. The full list of available fields is as follows:
    • component_id,
    • asset_id,
    • component_description,
    • asset_description,
    • asset_barcode_value,
    • barcode_value,
    • asset_class,
    • asset_type,
    • asset_subtype,
    • asset_group,
    • comp_group,
    • depreciable,
    • carries_value,
    • requires_condition,
    • finance_category,
    • gross_value,
    • depreciable_value,
    • designated_period_depreciation,
    • accumulated_depreciation_value,
    • carrying_value,
    • estimated_annual_depreciation,
    • last_depreciation_date,
    • construction_date,
    • intervention_date,
    • latest_condition,
    • latest_condition_date,
    • intervention_treatment,
    • intervention_useful_life,
    • intervention_residual_life,
    • residual_life_offset,
    • expected_residual_life,
    • cost_units,
    • intervention_cost_rate,
    • intervention_cost_method,
    • next_treatment,
    • next_treatment_rate,
    • next_treatment_cost_units,
    • next_treatment_description,
    • next_treatment_reason,
    • next_treatment_expected_date,
    • status,
    • effective_date,
    • shape_id,
    • shape_wkt,
    • shape_x,
    • shape_y,
    • shape_projection,
    • shape_longitude,
    • shape_latitude,
    • shape_source,
    • shape_source_text,
    • shape_confidence,
    • component_import_reference,
    • asset_import_reference,
    • asset_record_id,
    • component_record_id (automatically injected, need not specify),
    • mod_user,
    • mod_date
  • selected_report_categories: an array of string values that specify which report categories you want to include in the report output. The string value to use will be the Report Category label as defined for your site. E.g. “Special Schedule 7”.
Raw Finance Data Export

Template ID: RTB_EFYWCDPP

The Raw Finance Data Export report template allows you to export a dataset containing complete dump of financial transactions from your environment. The report takes the following configuration parameters:

  • selected_date: the date for which you want to run the report for. This should be in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ) and specified at UTC. Being a date, users can also leverage the dynamic keyword ${end-of-day} for this configuration parameter.
Asset Data Export

Template ID: REP_A75909GJD

The Asset Data Export provides a comprehensive dataset with one asset per row. Each component is fanned out to columns of the same row. The report takes the following configuration parameters: fields_to_include: an array of string values that specify which standard fields you want to include in the report output. The full list of available fields is as follows:

  • Construction_Date,
  • Intervention_Date,
  • Useful_Life,
  • Residual_Life,
  • Cost_Units,
  • Condition,
  • Condition_Date,
  • Treatment,
  • Treatment_Unit_Rate,
  • Treatment_UOM append_custom_data: a boolean value indicating whether you want the report to include asset-level custom attribute data. selected_report_categories: an array of string values that specify which report categories you want to include in the report output. The string value to use will be the Report Category label as defined for your site. E.g. “Special Schedule 7”. filter: a string value that references the filter to apply to your asset network when running this report. This can either be the ID of a valid filter you have defined, or set to one of the following:
  • $DEFAULT: this is the standard default filter that includes all asset types, but excludes disposed and proposed assets.
  • $ALL_ASSETS: this is the same as default, but includes disposed and proposed assets as well.