Retrieves a list from the API with standardized response handling.
The URL of the API endpoint to fetch data from.
An object containing pagination, sorters, and filters for the request.
A promise that resolves to an object containing the fetched data and total count.
Retrieves a list from the API with standardized response handling.