NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The following example compound query finds only the items registered by the jane_doe user or the john_doe user:

              {
                 "compoundQuery":    {
                    "operator": "OR",
                    "compoundQueries":       [
                                {
                          "operator": "OR",
                          "queries":             [
                                            {
                                "attribute": "registered_by",
                                "value": "jane_doe",
                                "operator": "EQUAL"
                             },
                                            {
                                "attribute": "registered_by",
                                "value": "john_doe",
                                "operator": "EQUAL"
                             }
                          ]
                       }
                    ]
                 },
              }
  • No labels