Introduction
The minimum required data for the many Charge Types and rates/multipliers of Task Price Tiers is highly variable. While the TrackTik web application tolerates more combinations to allow the radio buttons to show/hide and remember historical settings, the API interface for it is very strict.
The validation follows a matrix with 3 degrees of depth and another for add vs modify operations. They can be summarized as follows (5x3 or 5x2):
Charge Type : Actual (Completed Controls)
Holiday Rate Type : Do not charge holiday
Holiday Rate Type : Rate Multiplier
Holiday Rate Type : Per Patrol
Charge Type : Actual / Time Matrix
Holiday Rate Type : Do not charge
Holiday Rate Type : Rate Multiplier
Holiday Rate Type : Per Patrol
Charge Type : Contracted (Planned patrols)
Holiday Rate Type : Do not charge holiday
Holiday Rate Type : Rate Multiplier
Holiday Rate Type : Per Patrol
Charge Type : Flat Rate (Per Service Period)
Holiday Rate Type : Do not charge holiday
Holiday Rate Type : Flat Rate (Per Service Period)
Charge Type : Prepaid Bank
Holiday Rate Type : Do not charge holiday
Holiday Rate Type : Each Holiday Patrol Extra
Data Validation Messages
These are the various validation messages that will appear based on how many pieces you might have missed in your POST/PATCH payload when configuring the various charge type and holiday rate types: