The department of transportation is given full power to examine the books and papers of the companies, and to examine, under oath, the officers, agents, and employees of the companies and any other persons, to procure the necessary information to intelligently and justly discharge its duties and carry out the provisions of this chapter and chapter 5 of this title.