How to request for all records of a representation

Hi,

I would like to create a request with GET method using REST API to get all records of a representation.

I can get a specific record using  https://srve:8124/api1/x3/erp/TEST/SALESREP('XXX')?representation=SALESREP.$details where XXX is a sales rep code, but i don't know how to get all the records

Plz help.