Get Enterprise Nni Series

Get Enterprise Nni Series

Fetch all Gateway NNI time series data for the target customer

Request
URI
GET
https://{api_host}/api/sdwan/v2/enterprises/{enterpriseLogicalId}/nniStats/timeSeries
COPY
Path Parameters
string
enterpriseLogicalId
Required

The logicalId GUID for the target enterprise

Query Parameters
string
include
Optional

A comma-separated list of field names corresponding to linked resources. Where supported, the server will resolve resource attributes for the specified resources.

string
metrics
Optional

metrics supported for querying nniStats

Possible values are : bytesRx, bytesTx, packetsRx, packetsTx, errorsRx, errorsTx, dropsRx, dropsTx,
integer
start
Required

Query interval start time represented as a 13-digit, millisecond-precision epoch timestamp.

integer
end
Optional

Query interval end time represented as a 13-digit, millisecond-precision epoch timestamp.

string
sort
Optional

metrics supported for sorting nniStatsSeries

Possible values are : bytesRx, bytesTx, packetsRx, packetsTx, errorsRx, errorsTx, dropsRx, dropsTx,
string
nnis
Optional

nnis requested for querying nniStatsSeries. It is a comma-separated string with each nni consisting of gatewayLogicalId and segmentLogicalId separated by "_". For example: 28a8b8db-e7e0-4578-b123-9381ec036c7a_0aea240f-8631-4aea-bbec-cc1e9b2b46df,28a8b8db-e7e0-4578-b123-9381ec036c7a_58f3a933-592a-4233-a292-485a0a3c7dee

integer,null
limit
Optional

Limits the maximum size of the result set.


Responses
200

Request successfully processed

Returns Array of EnterpriseNniStatsSeriesResource of type(s) application/json
[
    {
        "series": [
            {
                "metric": "string",
                "startTime": "number",
                "tickInterval": "number",
                "data": [
                    {}
                ],
                "total": "number",
                "min": "number",
                "max": "number"
            }
        ],
        "gateway": {
            "_href": "string",
            "id": "number",
            "created": "string",
            "networkId": 0,
            "enterpriseProxyId": 0,
            "siteId": 0,
            "activationKey": "string",
            "activationState": "string",
            "activationTime": "string",
            "softwareVersion": "string",
            "buildNumber": "string",
            "utilization": "number",
            "utilizationDetail": {},
            "connectedEdges": 0,
            "connectedEdgeList": [
                {}
            ],
            "dataCenterVpnStates": "string",
            "deviceId": "string",
            "logicalId": "string",
            "name": "string",
            "gatewayState": "string",
            "alertsEnabled": false,
            "description": "string",
            "dnsName": "string",
            "isLoadBalanced": false,
            "privateIpAddress": "string",
            "ipAddress": "string",
            "ipV6Address": "string",
            "lastContact": "string",
            "systemUpSince": "string",
            "serviceUpSince": "string",
            "serviceState": "string",
            "bastionState": "string",
            "endpointPkiMode": "string",
            "handOffDetail": {},
            "ipsecGatewayDetail": {},
            "modified": "string"
        },
        "segmentLogicalId": "string",
        "vniId": 0
    }
]

400

ValidationError

Returns ValidationError of type(s) application/json
{
    "code": "string",
    "property": "string",
    "message": "string",
    "displayMessage": "string",
    "documentation": "string",
    "errors": [
        {
            "message": "string",
            "path": "string"
        }
    ]
}
string
code
Optional

A unique error code

string
property
Optional

The name of the property to which the error applies, if applicable

string
message
Optional

A detailed description of the error condition intended for developers of API clients, which may include recommendations for resolution

string
displayMessage
Optional

A non-technical description of the error condition

string
documentation
Optional

A link to applicable external documentation

errors
Optional

A list of property-specific errors


401

Unauthorized

Returns UnAuthorized of type(s) application/json
{
    "code": "string",
    "property": "string",
    "message": "string",
    "displayMessage": "string",
    "documentation": "string"
}
string
code
Optional

A unique error code

string
property
Optional

The name of the property to which the error applies, if applicable

string
message
Optional

A detailed description of the error condition intended for developers of API clients, which may include recommendations for resolution

string
displayMessage
Optional

A non-technical description of the error condition

string
documentation
Optional

A link to applicable external documentation


404

Resource not found

Returns ResourceNotFoundError of type(s) application/json
{
    "code": "string",
    "property": "string",
    "message": "string",
    "displayMessage": "string",
    "documentation": "string"
}
string
code
Optional

A unique error code

string
property
Optional

The name of the property to which the error applies, if applicable

string
message
Optional

A detailed description of the error condition intended for developers of API clients, which may include recommendations for resolution

string
displayMessage
Optional

A non-technical description of the error condition

string
documentation
Optional

A link to applicable external documentation


429

Rate Limit Exceeded

Returns RateLimitExceededError of type(s) application/json
{
    "code": "string",
    "property": "string",
    "message": "string",
    "displayMessage": "string",
    "documentation": "string"
}
string
code
Optional

A unique error code

string
property
Optional

The name of the property to which the error applies, if applicable

string
message
Optional

A detailed description of the error condition intended for developers of API clients, which may include recommendations for resolution

string
displayMessage
Optional

A non-technical description of the error condition

string
documentation
Optional

A link to applicable external documentation


500

Internal server error

Returns InternalServerError of type(s) application/json
{
    "code": "string",
    "property": "string",
    "message": "string",
    "displayMessage": "string",
    "documentation": "string"
}
string
code
Optional

A unique error code

string
property
Optional

The name of the property to which the error applies, if applicable

string
message
Optional

A detailed description of the error condition intended for developers of API clients, which may include recommendations for resolution

string
displayMessage
Optional

A non-technical description of the error condition

string
documentation
Optional

A link to applicable external documentation