Paging

The REST API service limits the number of resources returned by a single request.


Query Options for Paging

Query Option Description
$skip=n Skips the first n records.
$top=n Returns up to n records.
Default: 20, Maximum: 250.
$count=true Includes the total number of entries in the response.

Example Usage

  • Retrieve the first 50 results:
GET http://myserver:5181/odata/ServiceRequests?$top=50
  • Retrieve results 21–40:
GET http://myserver:5181/odata/ServiceRequests?$skip=20&$top=20
  • Retrieve results and include a total count:
GET http://myserver:5181/odata/ServiceRequests?$count=true
Back to top