So that we know the tank we are talking about, it's a Fluval Roma 240, 240 litres/63 gallons, 120 x 40 x 50 cm/48 x 15.5 x 20 inches.
We do need to know the hardness of your water. Your water provider's website should have that information somewhere - and we need a number and the unit as there are several they could use.
Of the fish in the list, Boeseman rainbows are hard water fish while the rest are soft water fish. They are not really compatible. The rainbows also need water warmer than most fish.
Torpedo barbs (red-line torpedo barbs, Denisons barbs) prefer cooler water, and a group of 6 to 10 minimum. 4 isn't enough for shoaling fish.
Both rainbows and barbs need a tank at least 120 cm/48 inches long. Yours is the minimum they can live in and in my opinion would do better in a bigger tank.
The rest of the fish in your list would be fine - provided you have soft water - though cardinal tetras prefer warmer water than the majority of cory species.
Cories are shoaling fish so you would need at least 6 of them, with more being better. Preferably all the same species, and with sand on the bottom of the tank.
Bolivian rams also need sand. You need to choose the rams carefully as just any male and any female cannot be expected to 'get along'. These fish must choose their own mates. Either buy a group of half a dozen and let them pair up, or try to buy a mated pair. the way to do this is to stand motionless in front of the shop tank till the fish forget you are there - it could take some time. Watch the behaviour of the fish. The males will jostle each other. The females will spend their time searching for food. If any male allows a female to remain close to him without chasing her away, they are likely, though not guaranteed, to be a pair.
I have to admit to never having heard of red Bolivian rams.