The existence of associated data in sub-entities can be tested using the following operators.
• |
ex: Exists |
• |
nex: Does not exist |
All machines with a recorded location:
All machines without a recorded location:
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:
© ALL RIGHTS RESERVED. Feedback Conditions d’utilisation Confidentialité