/api/v1/Dimensions('Dimension')/Hierarchies('Dimension')?$expand=Elements
returns all the elements in the same order of how in TM1 perspectives its shown but gives all the components... that i dont want.

In your original post, you've asked for a rest query that returns the top level elements of a dimension. Top level means those elements without any parent, or have I missed something?

In the example you've given, the only 2 elements that do not have any parent are S19 and G0. Because A0 P0 and A1 all have parent(s), they are all rolling up to S19. While they are consolidation elements themselves, they are also child of another consolidation element, hence aren't top level elements. What you are seeing in your example is likely a default subset, but isn't the true hierarchy structure.