Added endpoint to match records