Query DB for DEM Site Config (v2.0)
POST/v2.0/api/tenants/:tenant_id/demsiteconfigs/query
Query the DB for DEM site configs that match query parameters.
Request
Path Parameters
ID of the tenant.
- application/json
Body
Query Details for Dem site configs
- Array [
- ]
aggregate Aggregate
Aggregate
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
Dest Page
GetDeleted
Group By
Id
Last Query Ts
Limit
Retrieved Fields
Retrieved Fields Mask
Total Count
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number.
items DemSiteConfigQueryFilter[]
The site ADEM enabled. True or False.
The ID.
The site ID.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"adem_enabled": true,
"id": "string",
"site_id": "string",
"tenant_id": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_QUERY_REQUEST"
}
]
}
}