Query DB for ADEM Site Config (v2.0)
POST/sdwan/v2.0/api/demsiteconfigs/query
Query the DB for ADEM site configurations that match query parameters.
Request
- application/json
Body
Query Details for Dem site configs
- Array [
- ]
aggregate Aggregate
Aggregate
data AggregateData[]
The details of the aggregate data.
value number
Value of the aggregate data.
view object
View the aggregate date.
field string
The field value.
name string
The name of the query response.
operator string
Possible values: [max
, count
, min
, avg
, sum
]
The operator values.
statistic string
The aggregate statistics.
unit string
The unit.
dest_page int32
Dest Page
getDeleted boolean
GetDeleted
group_by string[]
Group By
id string
Id
last_query_ts int64
Last Query Ts
limit int32
Limit
next_query object
query_params object
retrieved_fields string[]
Retrieved Fields
retrieved_fields_mask boolean
Retrieved Fields Mask
sort_params object
total_count int64
Total Count
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count int32
The actual count.
deleted_count int64
The deleted number.
deleted_ids string[]
The deleted IDs.
description
Description of the query. Max size = 256.
id string
The ID.
next_query object
Details of the next query.
total_count int64
Total number.
items DemSiteConfigQueryFilter[]
adem_enabled boolean
The site ADEM enabled. True or False.
id string
The ID.
site_id stringrequired
The site ID.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"total_count": 0,
"items": [
{
"adem_enabled": true,
"id": "string",
"site_id": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_QUERY_REQUEST"
}
]
}
}
Loading...