Get Services with Specific Name

Get all of the services that have the names specified in the filter.

GET https://<NSP Server>:8543/sdn/api/v3/services?name=(ELINETEST_C,L3 VPN Service F)

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 12,
  "totalRows": 2,
  "data": [
    {
      "id": "4165-3f1ec8b3-1ffc-4bf3-9dc8-269b254df530",
      "appId": null,
      "operationalState": "UP",
      "adminState": "UP",
      "neDeploymentState": null,
      "externalIds": [
        {
          "context": "SAM",
          "location": [
            "135.121.158.6"
          ],
          "id": "svc-mgr:service-10"
        }
      ],
      "name": "L3 VPN Service F",
      "serviceType": "L3_VPN",
      "connectionState": "CONNECTED",
      "tenants": [
        {
          "id": "0",
          "tenantName": "admin",
          "contactName": null,
          "phoneNumber": null,
          "address": null
        },
        {
          "id": "a08576d9-1368-4d2e-a100-e91279ff57b1",
          "tenantName": "nspTenant",
          "contactName": "NSP Tenant",
          "phoneNumber": "6135551234",
          "address": "123 Main Street"
        }
      ],
      "topology": "HUB_AND_SPOKE_TOPOLOGY",
      "objective": "HOPS",
      "bidirectional": "ANY_REVERSE_ROUTE",
      "bw": null,
      "reverseBW": null,
      "maxLatency": 0,
      "maxCost": 0,
      "maxHops": 0,
      "lifeCycle": {
        "phase": "Deployment",
        "state": "Deployed",
        "reason": "L3 VPN service deployment completed"
      },
      "templateId": null,
      "tunnelSelectionId": null,
      "pathProfileId": null,
      "groupId": null,
      "endpoints": [
        {
          "id": "4211-11006b20-426b-40e5-9255-d867c27bf588",
          "appId": null,
          "operationalState": "UP",
          "adminState": "UP",
          "neDeploymentState": null,
          "externalIds": [
            {
              "context": "SAM",
              "location": [
                "135.121.158.6"
              ],
              "id": "svc-mgr:service-10:11.11.11.11:ip-interface-2"
            }
          ],
          "neId": "1393-a86aaf47-e3bd-4236-88b2-07bae09a7702",
          "neName": "A-11.11.11.11",
          "portId": "1746-bbaad24f-cd39-4b3a-97aa-83a180dc058a",
          "serviceId": "4165-3f1ec8b3-1ffc-4bf3-9dc8-269b254df530",
          "name": "Port1_171",
          "innerTag": -1,
          "outerTag": 171,
          "siteServiceQosProfile": {
            "qosProfile": 0,
            "ingressOverrideQueues": null,
            "egressOverrideQueues": null,
            "ingressParam": null,
            "egressParam": null
          },
          "isHub": true,
          "ipAddress": {
            "ipv4Prefix": {
              "string": "200.1.1.10/24"
            },
            "ipv6Prefix": null
          },
          "secondaryAddresses": [
            {
              "ipv4Prefix": {
                "string": "21.1.1.1/24"
              },
              "ipv6Prefix": null
            }
          ],
          "routeTargets": [
            {
              "rt": "N/A",
              "targetType": "import_export"
            },
            {
              "rt": "target:300:744169437",
              "targetType": "exp"
            },
            {
              "rt": "target:300:743015185",
              "targetType": "imp"
            }
          ],
          "rd": "300:761098407",
          "peSideAS": 300,
          "routingStatic": {
            "routes": [
              {
                "routeType": "next_hop",
                "destination": {
                  "ipv4Prefix": {
                    "string": "201.1.1.0/24"
                  },
                  "ipv6Prefix": null
                },
                "targetIpAddress": {
                  "ipv6Address": null,
                  "ipv4Address": {
                    "string": "200.1.1.11"
                  }
                },
                "preference": 5
              }
            ]
          },
          "routingBgp": {
            "routes": [
              {
                "peerIpAddress": {
                  "ipv6Address": null,
                  "ipv4Address": {
                    "string": "200.1.1.15"
                  }
                },
                "peerAS": 7000
              }
            ]
          },
          "@class": "com.alu.wsc.api.generated.v3.L3ServiceEndpoint"
        },
        {
          "id": "4201-db8f6529-6460-42a2-90f5-eeac350ef4d0",
          "appId": null,
          "operationalState": "UP",
          "adminState": "UP",
          "neDeploymentState": null,
          "externalIds": [
            {
              "context": "SAM",
              "location": [
                "135.121.158.6"
              ],
              "id": "svc-mgr:service-10:33.33.33.33:ip-interface-2"
            }
          ],
          "neId": "1625-d7d14794-b10d-4338-af88-ea876c02b2b5",
          "neName": "C-33.33.33.33",
          "portId": "3280-1c71d594-0639-476e-ac26-f6ce29900acf",
          "serviceId": "4165-3f1ec8b3-1ffc-4bf3-9dc8-269b254df530",
          "name": "Port1_171",
          "innerTag": -1,
          "outerTag": 171,
          "siteServiceQosProfile": {
            "qosProfile": 0,
            "ingressOverrideQueues": null,
            "egressOverrideQueues": null,
            "ingressParam": null,
            "egressParam": null
          },
          "isHub": false,
          "ipAddress": {
            "ipv4Prefix": {
              "string": "15.1.1.11/24"
            },
            "ipv6Prefix": null
          },
          "secondaryAddresses": [
            {
              "ipv4Prefix": {
                "string": "30.1.1.12/24"
              },
              "ipv6Prefix": null
            }
          ],
          "routeTargets": [
            {
              "rt": "N/A",
              "targetType": "import_export"
            },
            {
              "rt": "target:300:743015185",
              "targetType": "exp"
            },
            {
              "rt": "target:300:744169437",
              "targetType": "imp"
            }
          ],
          "rd": "300:761098407",
          "peSideAS": 0,
          "routingStatic": {
            "routes": [
              {
                "routeType": "next_hop",
                "destination": {
                  "ipv4Prefix": {
                    "string": "15.1.1.0/24"
                  },
                  "ipv6Prefix": null
                },
                "targetIpAddress": {
                  "ipv6Address": null,
                  "ipv4Address": {
                    "string": "15.1.1.1"
                  }
                },
                "preference": 5
              }
            ]
          },
          "routingBgp": {
            "routes": [
              {
                "peerIpAddress": {
                  "ipv6Address": null,
                  "ipv4Address": {
                    "string": "15.1.1.15"
                  }
                },
                "peerAS": 6000
              }
            ]
          },
          "@class": "com.alu.wsc.api.generated.v3.L3ServiceEndpoint"
        },
        {
          "id": "4206-d0e1a837-12ba-449f-b709-ef4dba9d90ed",
          "appId": null,
          "operationalState": "UP",
          "adminState": "UP",
          "neDeploymentState": null,
          "externalIds": [
            {
              "context": "SAM",
              "location": [
                "135.121.158.6"
              ],
              "id": "svc-mgr:service-10:22.22.22.22:ip-interface-2"
            }
          ],
          "neId": "1622-0926d123-7489-4162-88bc-c4ada81c22d6",
          "neName": "B-22.22.22.22",
          "portId": "2581-7207a0a5-5757-468c-aada-93ece3b6026a",
          "serviceId": "4165-3f1ec8b3-1ffc-4bf3-9dc8-269b254df530",
          "name": "Port1_171",
          "innerTag": -1,
          "outerTag": 171,
          "siteServiceQosProfile": {
            "qosProfile": 0,
            "ingressOverrideQueues": null,
            "egressOverrideQueues": null,
            "ingressParam": null,
            "egressParam": null
          },
          "isHub": false,
          "ipAddress": {
            "ipv4Prefix": {
              "string": "10.1.1.1/24"
            },
            "ipv6Prefix": null
          },
          "secondaryAddresses": [
            {
              "ipv4Prefix": {
                "string": "3.2.1.1/24"
              },
              "ipv6Prefix": null
            }
          ],
          "routeTargets": [
            {
              "rt": "N/A",
              "targetType": "import_export"
            },
            {
              "rt": "target:300:743015185",
              "targetType": "exp"
            },
            {
              "rt": "target:300:744169437",
              "targetType": "imp"
            }
          ],
          "rd": "300:761098407",
          "peSideAS": 6000,
          "routingStatic": {
            "routes": [
              {
                "routeType": "next_hop",
                "destination": {
                  "ipv4Prefix": {
                    "string": "101.1.1.0/24"
                  },
                  "ipv6Prefix": null
                },
                "targetIpAddress": {
                  "ipv6Address": null,
                  "ipv4Address": {
                    "string": "10.1.1.11"
                  }
                },
                "preference": 5
              }
            ]
          },
          "routingBgp": {
            "routes": [
              {
                "peerIpAddress": {
                  "ipv6Address": null,
                  "ipv4Address": {
                    "string": "10.1.1.15"
                  }
                },
                "peerAS": 6000
              }
            ]
          },
          "@class": "com.alu.wsc.api.generated.v3.L3ServiceEndpoint"
        }
      ],
      "mtu": 0,
      "vcType": null,
      "autoBindType": "rsvp_te",
      "encryption": false,
      "loopbackEndpoints": null,
      "@class": "com.alu.wsc.api.generated.v3.L3Service"
    },
    {
      "id": "4238-5561cc52-717b-4874-9bf9-116f2f95ae5d",
      "appId": null,
      "operationalState": "UP",
      "adminState": "UP",
      "neDeploymentState": null,
      "externalIds": [
        {
          "context": "SAM",
          "location": [
            "135.121.158.6"
          ],
          "id": "svc-mgr:service-11"
        }
      ],
      "name": "ELINETEST_C",
      "serviceType": "ELINE",
      "connectionState": "CONNECTED",
      "tenants": [
        {
          "id": "0",
          "tenantName": "admin",
          "contactName": null,
          "phoneNumber": null,
          "address": null
        }
      ],
      "topology": null,
      "objective": "COST",
      "bidirectional": "ANY_REVERSE_ROUTE",
      "bw": null,
      "reverseBW": null,
      "maxLatency": 0,
      "maxCost": 0,
      "maxHops": 0,
      "lifeCycle": {
        "phase": "Deployment",
        "state": "Deployed",
        "reason": "E-Line service deployment completed"
      },
      "templateId": null,
      "tunnelSelectionId": null,
      "pathProfileId": null,
      "groupId": null,
      "endpoints": [
        {
          "id": "4273-93c796e2-b7c1-41cc-ba48-c49acad6f447",
          "appId": null,
          "operationalState": "UP",
          "adminState": "UP",
          "neDeploymentState": null,
          "externalIds": [
            {
              "context": "SAM",
              "location": [
                "135.121.158.6"
              ],
              "id": "svc-mgr:service-11:11.11.11.11:interface-1/1/11-inner-tag-0-outer-tag-152"
            }
          ],
          "neId": "1393-a86aaf47-e3bd-4236-88b2-07bae09a7702",
          "neName": "A-11.11.11.11",
          "portId": "1746-bbaad24f-cd39-4b3a-97aa-83a180dc058a",
          "serviceId": "4238-5561cc52-717b-4874-9bf9-116f2f95ae5d",
          "name": "Port 1/1/11:152.0",
          "innerTag": -1,
          "outerTag": 152,
          "siteServiceQosProfile": {
            "qosProfile": 0,
            "ingressOverrideQueues": [
              {
                "id": 1,
                "cir": 10000,
                "pir": 10000,
                "cbs": 2,
                "mbs": 2,
                "rateType": "kbps",
                "queueType": "Queue"
              }
            ],
            "egressOverrideQueues": null,
            "ingressParam": null,
            "egressParam": null
          },
          "isHub": null,
          "@class": "com.alu.wsc.api.generated.v3.L2ServiceEndpoint"
        },
        {
          "id": "4278-b6912677-3151-4def-8a79-3aab880a1dbc",
          "appId": null,
          "operationalState": "UP",
          "adminState": "UP",
          "neDeploymentState": null,
          "externalIds": [
            {
              "context": "SAM",
              "location": [
                "135.121.158.6"
              ],
              "id": "svc-mgr:service-11:22.22.22.22:interface-1/1/11-inner-tag-0-outer-tag-152"
            }
          ],
          "neId": "1622-0926d123-7489-4162-88bc-c4ada81c22d6",
          "neName": "B-22.22.22.22",
          "portId": "2581-7207a0a5-5757-468c-aada-93ece3b6026a",
          "serviceId": "4238-5561cc52-717b-4874-9bf9-116f2f95ae5d",
          "name": "Port 1/1/11:152.0",
          "innerTag": -1,
          "outerTag": 152,
          "siteServiceQosProfile": {
            "qosProfile": 0,
            "ingressOverrideQueues": [
              {
                "id": 1,
                "cir": 10000,
                "pir": 10000,
                "cbs": 2,
                "mbs": 2,
                "rateType": "kbps",
                "queueType": "Queue"
              }
            ],
            "egressOverrideQueues": null,
            "ingressParam": null,
            "egressParam": null
          },
          "isHub": null,
          "@class": "com.alu.wsc.api.generated.v3.L2ServiceEndpoint"
        }
      ],
      "mtu": 1514,
      "vcType": null,
      "monitorBandwidth": false,
      "@class": "com.alu.wsc.api.generated.v3.ElineService"
    }
  ]
}