Create Dispatch Rule
Create a new dispatch rule. Rules are evaluated in priority order when auto-dispatching work orders.
Headers
{{tenant_key_name}}
Request
This endpoint expects a multipart form.
name
Required: Rule name - max 255 chars - “Priority Emergency Route”
actions
Required: JSON actions object - array - {“assign_to”: “nearest”}
rule_type
Required: Rule type - skill_match|zone_based|priority_routing|round_robin|load_balance|custom - “skill_match”
conditions
Required: JSON conditions object - array - {“priority”: “emergency”}
Response
Successful response

