Original: There he served as a military advisor to the Bolivian army.
Simplified: Between 1928 and 1930, he worked for the Bolivian military as an advisor.