How to articles

Templates

The following are some example query templates:

  1. List all iOS and iPadOS jail broken devices ordered by model name

URL:

 POST /api/endpoint-management/report/$search
<!--NeedCopy-->

Body:

  {   
     "segment": "devices",          
     "filter" : {        
        "platform": {
          "$in": ["iOS", "ipadOS"]
        },
        "isJailbroken" : {
          "$eq": "1" 
        }           
     },
     "order": {
         "model": "$asc",                           
     },          
     "limit": 10
   }
<!--NeedCopy-->

To obtain and OR within a filter predicate, you use an array notation with the “$in” operator.

Example: Where “platform” equals [ “iOS” OR “ipadOS” ] AND “isJailbroken” equals 1

ANDing and ORing

By design, multiple filters are ANDed.

Example: Where “platform” equals “iOS” AND “isJailbroken” equals 1

{
     "segment": devices,
     "filter" : {        
        "platform": {
          "$eq": "iOS"
        },
        "isJailbroken" : {
          "$eq": "1" 
        }           
     }
 }
<!--NeedCopy-->
Resources
Citrix Endpoint Management Reporting API OpenAPI Specification
Copy Download
How to articles

In this article