Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

GET method for QueryContextSummaries

This method returns summary information for all Query Contexts. A Query Context defines a hierarchical set of tables and fields that are used to define queries for dynamic groups (query groups) and reports.

Description
This method returns summary information for all Query Contexts.
Privilege
VIEW
HTTP response codes
200
Example Response Body
{
 "@odata.context": "/api/$metadata#Collection(QuerySupportService.QueryContextSummary)",
 "@odata.count": 5,
 "value": 
  [
   {
    "@odata.type": "#QuerySupportService.QueryContextSummary",
    "@odata.id": "/api/QuerySupportService/QueryContextSummaries(5)",
    "Id": 5,
    "Name": "Jobs",
    "Description": null,
    "BaseCategoryId": 3
    },
   {
    "@odata.type": "#QuerySupportService.QueryContextSummary",
    "@odata.id": "/api/QuerySupportService/QueryContextSummaries(4)",
    "Id": 4,
    "Name": "Groups",
    "Description": null,
    "BaseCategoryId": 4
    },
   {
    "@odata.type": "#QuerySupportService.QueryContextSummary",
    "@odata.id": "/api/QuerySupportService/QueryContextSummaries(1)",
    "Id": 1,
    "Name": "Alerts",
    "Description": null,
    "BaseCategoryId": 2
    },
   {
    "@odata.type": "#QuerySupportService.QueryContextSummary",
    "@odata.id": "/api/QuerySupportService/QueryContextSummaries(2)",
    "Id": 2,
    "Name": "Devices",
    "Description": null,
    "BaseCategoryId": 1
    },
   {
    "@odata.type": "#QuerySupportService.QueryContextSummary",
    "@odata.id": "/api/QuerySupportService/QueryContextSummaries(3)",
    "Id": 3,
    "Name": "Servers",
    "Description": null,
    "BaseCategoryId": 1
    }
    ]
 }

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: <>()\