Adding scan form endpoint for batches