Pagination
The ability to paginate and filter can be useful for limiting large bodies of data.
When trying out the API, you may only want to sample a small set of data by using the following query string parameters. API data sets can often return hundreds to thousands of records.
Option | Description |
---|---|
Limit OR pageSize |
Use one of these query string parameters to determine the number of objects that return. Specify an integer > 0. Examples - Query parameters used to limit up to 50 objects to return
|
Offset OR page |
Use one of these query string parameters to determine the one unit based offset.
Examples
|
fieldFilter |
Use this query string parameter to limit the data by the types of fields supported by the resource.
Example: GET https://{{base_url}}/employee?page=1&pageSize=10&fieldFilter=Employee,LastName returns the first ten records with only the employee's unique ID and the last name |
Order | This query string parameter sorts the results that return. Column names are found by retrieving configuration or hub metadata.
Example: GET https://{{base_url}}/firm?order=columnName_D |
The domain in the examples is represented by a variable, such as {{base_url}} in the preceding request. The variable typically resolves to a path such as company.deltek.com/company/api where the first instance of the company name is for the subdomain and the second instance of the company name indicates how to access the application in the case that the company uses other Deltek applications.