# Duration

## Program ID

MetraPipeline.MTDurationPlugin.1

## Description

The CallDuration plugin converts the value in RawActuaDuration to minutes.

## Required Input Properties

Tag Name | Value Type | Description
DisconnectTime | DateTime | The ID of the tariff. The list of possible IDs are maintained by the tariff collection. Possible values are 0 and greater.

## Required Output Properties

Tag Name | Value Type | Description
UomID | String | The currency for the tariff.

## Additional Configuration Tags

Tag Name | Value Type | Description
tariffs_file | String | The location of the Tariff collection XML file relative to the root MetraTech configuration directory. This value should be "Tariffs\AllTariffs.xml".

## Configuration Example

<configdata>
<TariffID>tariffID</TariffID>
<UomID>_Currency</UomID>
<tariffs_file>Tariffs\AllTariffs.xml</tariffs_file>
</configdata>