simplify error handler
format pagination for query
api paginates result with page and per page
pagination in order requisitions view