Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

OpenManage Enterprise Version 3.2 and OpenManage Enterprise - Modular Edition Version 1.00.10 RESTful API Guide

PDF

POST method for SearchService.Search

This method performs a search using the query string that you provide and returns links to the corresponding navigation pages.

Description
Searches for the query strings and returns the links to the navigation pages.
Privilege
VIEW
HTTP response codes
200
Example
Input: 
{
  "Count":8,
  "Skip":7,
  "QueryString": "device",
  "FilterType":
  [
    "tasks",
    "devices",
    "events",
    "archdocs",
    "helplinks",
    "warranties",
    "policies",
    "users",
    "logs"
  ]
}

Output:
{
  "took": 87,
  "timed_out": false,
  "_shards": {
    "total": 1,
    "successful": 1,
    "failed": 0
  },
  "hits":{
    "total": 11,
    "max_score": 10,
    "hits": [
      {
        "_index": "msm",
        "_type": "tasks",
        "_id": "3864",
        "_score": 1,
        "_source": {
          "tskNm": "Device_Config_Task (1493523261197) - for Device with Id: 1864",
          "tskTyp": "Device Config Task",
          "tskStatus": "Task status is Failed",
          "tskDesc": "Device_Config_Task (1493523261197) - for Device with Id: 1864",
          "tskCreatedBy": "system",
          "tskId": "3864"
        }
      }
    ]
  }
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute nameDescription
QueryString String to search.
FilterType Indexes to be searched for the query string.
Took Indicates the time taken for the search to be completed.
Timed_out Indicates if the search timed out.
Shards
Shards - Total
Shards - Successful
Shards - Failed
Hits
Hits - Total
Hits - Max_score
Index
Type
Id
Score
Source The wrapper object that encapsulates the search results based on selected filter type. This example elaborates, attributes returned for document type Task that stores Task Name, Type, Status, Description, and so on.
  • tskNm
  • tskTyp
  • tskStatus
  • tskDesc
  • tskCreatedBy
  • tskId

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\