REST endpoint is one way of retrieving data on client side. REST operations are using datasets, which are treated as entity item collections.
Personally the easiest way of using REST endpoint is to use XrmServiceTooltkit.REST library.
Where to find datasets?
Where to find fieldnames used in particular dataset?
Request for eg. new_errorSet will return all items created in this entity.
How to filter data?
More about querrying via REST can be found here: