Skip to main content

Query DB for Service Label (v2.1)

POST 

/sdwan/v2.1/api/servicelabels/query

Query the DB for limit number of service label that match the query parameters.

Request

Body

Query details for service labels

    aggregate Aggregate

    The aggregate number of service labels that match the query parameters.

    data AggregateData[]required

    The details of the aggregate data.

  • Array [
  • value numberrequired

    Value of the aggregate data.

    view objectrequired

    View the aggregate date.

  • ]
  • field string

    Field

    name stringrequired

    The name of the query response.

    operator string

    Possible values: [max, count, min, avg, sum]

    Operator

    statistic stringrequired

    QoS application aggregate statistics.

    unit stringrequired

    The unit.

    dest_page int32

    The destination page.

    getDeleted boolean

    The number of service labels deleted for a time frame.

    group_by string[]

    Group the service labels for the query.

    id string

    Lists the service label by ID.

    last_query_ts int64

    Return the ID of a specified query in the current session.

    limit int32

    The query limit.

    next_query object

    The limit.

    query_params object
    retrieved_fields string[]

    Retrieve information from a field.

    retrieved_fields_mask boolean

    List the fields to query.

    sort_params object
    total_count int64

    The total number of query parameters.

Responses

Successful Operation

Schema
    count int32

    The count of the query list.

    deleted_count int64

    The deleted number of queries.

    deleted_ids string[]

    The deleted query 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 of queries.

    items ServiceLabelQueryFilter[]
  • Array [
  • aggregate Aggregate

    The aggregate number of service labels that match the query parameters.

    data AggregateData[]required

    The details of the aggregate data.

  • Array [
  • value numberrequired

    Value of the aggregate data.

    view objectrequired

    View the aggregate date.

  • ]
  • field string

    Field

    name stringrequired

    The name of the query response.

    operator string

    Possible values: [max, count, min, avg, sum]

    Operator

    statistic stringrequired

    QoS application aggregate statistics.

    unit stringrequired

    The unit.

    dest_page int32

    The destination page.

    getDeleted boolean

    The number of service labels deleted for a time frame.

    group_by string[]

    Group the service labels for the query.

    id string

    Lists the service label by ID.

    last_query_ts int64

    Return the ID of a specified query in the current session.

    limit int32

    The query limit.

    next_query object

    The limit.

    query_params object
    retrieved_fields string[]

    Retrieve information from a field.

    retrieved_fields_mask boolean

    List the fields to query.

    sort_params object
    total_count int64

    The total number of query parameters.

  • ]
Loading...