Network Get Network Gateways

Network Get Network Gateways

Gets all gateways associated with the specified network.

Privileges required:

READ GATEWAY

Request
URI
POST
https://{api_host}/portal/rest/network/getNetworkGateways
COPY
Request Body
{
    "networkId": 0,
    "gatewayIds": [
        "string"
    ],
    "with": [
        "string"
    ]
}
integer
networkId
Optional

networkId

array of string
gatewayIds
Optional

gatewayIds

array of string
with
Optional

with

Possible values are : site, pools, enterprises, enterpriseAssociations, enterpriseAssociationCounts, dataCenters, certificates, handOffEdges, roles,
Responses
200

Request was successfully processed

[
    {
        "activationKey": "string",
        "activationState": "string",
        "activationTime": "string",
        "buildNumber": "string",
        "certificates": [
            {
                "id": 0,
                "created": "string",
                "csrId": 0,
                "gatewayId": 0,
                "networkId": 0,
                "certificate": "string",
                "serialNumber": "string",
                "subjectKeyId": "string",
                "fingerPrint": "string",
                "fingerPrint256": "string",
                "validFrom": "string",
                "validTo": "string"
            }
        ],
        "connectedEdges": 0,
        "connectedEdgeList": [
            {
                "vceid": "string"
            }
        ],
        "created": "string",
        "dataCenters": [
            {}
        ],
        "description": "string",
        "deviceId": "string",
        "dnsName": "string",
        "endpointPkiMode": "string",
        "enterpriseAssociations": [
            {
                "id": 0,
                "created": "string",
                "networkId": 0,
                "gatewayPoolId": 0,
                "alertsEnabled": 0,
                "operatorAlertsEnabled": 0,
                "endpointPkiMode": "string",
                "name": "string",
                "domain": "string",
                "prefix": "string",
                "logicalId": "string",
                "accountNumber": "string",
                "description": "string",
                "contactName": "string",
                "contactPhone": "string",
                "contactMobile": "string",
                "contactEmail": "string",
                "streetAddress": "string",
                "streetAddress2": "string",
                "city": "string",
                "state": "string",
                "postalCode": "string",
                "country": "string",
                "lat": "number",
                "lon": "number",
                "timezone": "string",
                "locale": "string",
                "modified": "string",
                "enterpriseId": 0,
                "enterpriseObjectId": 0,
                "edgeId": 0,
                "gatewayType": "string",
                "pinned": 0,
                "enterpriseObjectName": "string",
                "enterpriseObjectType": "string",
                "edgeName": "string",
                "edgeLogicalId": "string"
            }
        ],
        "enterpriseAssociationCount": {
            "enterpriseAssociationCount": 0
        },
        "enterprises": [
            {
                "id": 0,
                "created": "string",
                "networkId": 0,
                "gatewayPoolId": 0,
                "alertsEnabled": 0,
                "operatorAlertsEnabled": 0,
                "endpointPkiMode": "string",
                "name": "string",
                "domain": "string",
                "prefix": "string",
                "logicalId": "string",
                "accountNumber": "string",
                "description": "string",
                "contactName": "string",
                "contactPhone": "string",
                "contactMobile": "string",
                "contactEmail": "string",
                "streetAddress": "string",
                "streetAddress2": "string",
                "city": "string",
                "state": "string",
                "postalCode": "string",
                "country": "string",
                "lat": "number",
                "lon": "number",
                "timezone": "string",
                "locale": "string",
                "modified": "string"
            }
        ],
        "enterpriseProxyId": 0,
        "gatewayState": "string",
        "handOffDetail": {
            "type": "string",
            "subnets": [
                {
                    "name": "string",
                    "routeCost": 0,
                    "cidrIp": "string",
                    "cidrPrefix": 0,
                    "encrypt": false,
                    "handOffType": "string"
                }
            ],
            "icmpProbe": {
                "enabled": false,
                "probeType": "string",
                "cTag": 0,
                "sTag": 0,
                "destinationIp": "string",
                "frequencySeconds": 0,
                "threshold": 0
            },
            "icmpResponder": {
                "enabled": false,
                "ipAddress": "string",
                "mode": "string"
            }
        },
        "handOffEdges": [
            {
                "activationKey": "string",
                "activationKeyExpires": "string",
                "activationState": "string",
                "activationTime": "string",
                "alertsEnabled": 0,
                "buildNumber": "string",
                "created": "string",
                "customInfo": "string",
                "description": "string",
                "deviceFamily": "string",
                "deviceId": "string",
                "dnsName": "string",
                "edgeState": "string",
                "edgeStateTime": "string",
                "endpointPkiMode": "string",
                "enterpriseId": 0,
                "factorySoftwareVersion": "string",
                "factoryBuildNumber": "string",
                "haLastContact": "string",
                "haPreviousState": "string",
                "haSerialNumber": "string",
                "haState": "string",
                "id": 0,
                "isLive": 0,
                "lastContact": "string",
                "logicalId": "string",
                "modelNumber": "string",
                "modified": "string",
                "name": "string",
                "operatorAlertsEnabled": 0,
                "selfMacAddress": "string",
                "serialNumber": "string",
                "serviceState": "string",
                "serviceUpSince": "string",
                "siteId": 0,
                "softwareUpdated": "string",
                "softwareVersion": "string",
                "systemUpSince": "string",
                "edgeId": 0,
                "isPrimary": 0,
                "pinned": 0,
                "enterpriseLogicalId": "string",
                "enterpriseName": "string"
            }
        ],
        "id": 0,
        "ipAddress": "string",
        "ipsecGatewayDetail": {
            "enabled": false,
            "strictHostCheck": false,
            "strictHostCheckDN": "string"
        },
        "isLoadBalanced": false,
        "lastContact": "string",
        "logicalId": "string",
        "modified": "string",
        "name": "string",
        "networkId": 0,
        "pools": [
            {
                "id": 0,
                "networkId": 0,
                "enterpriseProxyId": 0,
                "created": "string",
                "name": "string",
                "description": "string",
                "isDefault": false,
                "handOffType": "string",
                "modified": "string",
                "gatewayPoolAssocId": 0,
                "gatewayId": 0
            }
        ],
        "privateIpAddress": "string",
        "roles": [
            {
                "created": "string",
                "gatewayId": 0,
                "gatewayRole": "string",
                "required": 0
            }
        ],
        "serviceState": "string",
        "serviceUpSince": "string",
        "site": {
            "id": 0,
            "created": "string",
            "name": "string",
            "contactName": "string",
            "contactPhone": "string",
            "contactMobile": "string",
            "contactEmail": "string",
            "streetAddress": "string",
            "streetAddress2": "string",
            "city": "string",
            "state": "string",
            "postalCode": "string",
            "country": "string",
            "lat": "number",
            "lon": "number",
            "timezone": "string",
            "locale": "string",
            "shippingSameAsLocation": 0,
            "shippingContactName": "string",
            "shippingAddress": "string",
            "shippingAddress2": "string",
            "shippingCity": "string",
            "shippingState": "string",
            "shippingCountry": "string",
            "shippingPostalCode": "string",
            "modified": "string"
        },
        "siteId": 0,
        "softwareVersion": "string",
        "systemUpSince": "string",
        "utilization": "number",
        "utilizationDetail": {
            "load": "number",
            "overall": "number",
            "cpu": "number",
            "memory": "number"
        }
    }
]

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/network/getNetworkGateways