Create infrastructure LoS target
create_infrastructure_los_targetSet the technical Level of Service target for one infrastructure feature class and metric. One base target per feature class and metric, set once for the organization; a duplicate returns 409, so update the existing row instead. Each network of that class is held to a version adjusted by the network's criticality (unrated counts as medium): a lower-is-better target is multiplied by the tier's modifier, a higher-is-better one keeps its distance from a perfect score multiplied by it (condition 70 becomes 82 at a Critical network, 58 at a Low one). Derived targets never leave the metric's scale. All three metrics run 0-100: asset_condition_avg is higher-is-better and uses the fixed condition bands; fci and asset_past_useful_life_pct are percentages, lower-is-better. Average risk is not available for infrastructure. Not money. Requires los_targets:write scope, and the organization's plan must include both Level of Service and Infrastructure. Resolve feature_class first via list_infrastructure_feature_classes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Whether the target is scored (default true) | |
| metric | Yes | Metric the target tracks (required) | |
| base_target | Yes | Base target, 0-100 (required) | |
| feature_class | Yes | Feature class code (required) - must exist; resolve first via list_infrastructure_feature_classes |