(PDB-1071) Add pagination to service query method

Add a paging-options argument to the service query method.