John was a Private in the 40th Illinois Infantry, Company K.
The Adjutant General's Report about his unit and his diary cross reference nicely. There is a lot more information about the battles in the Adjutant General's report. John didn't join them until June 16th about half way down the page.