Input metrics
The inputMetric object include metrics that are calculated from data included in the input dataset.
This can be useful for troubleshooting unexpected results by making sure that the inputs, for instance, number of visits, matches the number of visits that were supposed to be included in the input dataset.
{
"inputMetrics": {
"vehicles": 1,
"vehicleShifts": 1,
"visits": 3,
"mandatoryVisits": 3,
"optionalVisits": 0,
"pinnedVisits": 0,
"visitsWithSla": 0,
"visitGroups": 0,
"visitDependencies": 0,
"excludedVisits": 0,
"movableVisits": 0,
"reservedCapacity": "PT0S"
}
}
reservedCapacity is the total time (ISO 8601 duration) of the capacity reservations of all vehicle shifts.
A linked shift replaces its vehicle shifts only if it has visits, so reservedCapacity includes a linked shift only if the input dataset assigns visits to it.
The totalReservedCapacity KPI uses the same rule.
Next
-
See the full API spec, try the online API, or start a free trial.
-
Learn more about field service routing from our YouTube playlist.
-
Learn about the Key performance indicators (KPIs).