API Guide
"BaseCategoryId": 2
}
/api/QuerySupportService/QueryContexts(Id)
This URI represents detailed information of a query context.
GET method for QueryContexts(Id)
This method returns the information for a specified Query Context.
Description Returns the information for a specified Query Context.
Privilege VIEW
HTTP response
codes
200
Example Response
Body
{
"@odata.context": "/api/$metadata#QuerySupportService.QueryContext/$entity",
"@odata.type": "#QuerySupportService.QueryContext",
"@odata.id": "/api/QuerySupportService/QueryContexts(1)",
"Id": 1,
"Name": "Alerts",
"Description": null,
"BaseCategoryId": 2,
"Tables":
[
{
"Id": 5,
"Name": "Device General Info",
"Description": null,
"ParentTableId": 1
},
{
"Id": 4,
"Name": "Alert Sub-Category",
"Description": null,
"ParentTableId": 2
},
{
"Id": 1,
"Name": "Alert",
"Description": null,
"ParentTableId": -1
}
],
"Fields":
[
{
"Id": 17,
"Name": "Device Name",
"TableId": 5,
"Description": null,
"FieldTypeId": 1,
"StrMaxLen": 256,
"EnumOpts": []
},
{
"Id": 18,
"Name": "Device Global Status",
"TableId": 5,
"Description": null,
"FieldTypeId": 4,
"StrMaxLen": 0,
"EnumOpts":
[
492
APIs specific to OpenManage Enterprise