createVehicleProfileAlert

fun createVehicleProfileAlert(repeatAlert: Boolean, alertParam: AlertParam, restrictions: List<Restriction>, vehicleProfile: Profile? = null): List<CustomAttributeAlert>?

Creates vehicle profile alerts for the given Profile.

Return

List of created custom attribute alerts, or null if creation failed.

Parameters

repeatAlert

If true, the alert will be triggered repeatedly while valid. If false, the alert is triggered only once.

alertParam

Alert timing and distance parameters.

restrictions

List of truck restriction types to create alerts for.

vehicleProfile

Optional vehicle profile used to filter restrictions by dimensions. When null, all restrictions are reported unfiltered.