The filter is applied, but shaping (or sorting) is required in order to specify extra return data.
The wildcard filter in some cases also matches values in sub-entities, to make them more useful to the client. The Service Desk API GET /api/service_desk/tickets has special handling to include owner names and submitter names in the wildcard. To find out if this handling is available and for more information about the Service Desk API, see Service Desk API Reference.
Return the machines in which any field contains the string ABC:
Filters can be combined. The following example retrieves the machines that have the software title DEF installed and also have fields containing the ABC string:
Sorting is accomplished with the sorting query parameter. Commas can be used to separate multiple sorting requests. Each sorting request must give the sort entity and field. Optionally, a sort order can be specified. If the sort order is not specified, the default sort order is ASC (ascending). Sort requests are processed from left to right.
In this example any result data is sorted by the machine name and then the ID:
To apply paging, use the paging query parameter.
To limit the number of records returned, use the limit parameter. For example:
To indicate the index of the first returned record, use theoffset parameter. For example:
To use these parameters together, separate them with a space:
These two values are useful for consumers that display the records in a paged format. The values can appear in either order.
If no limit is specified, the default is 50. To force the server to return every record, set the limit to zero '0' or ALL. For example:
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center