merged dispatch queries into single route with optional params