Get List of NFs in Device Management

get

/rest/{versionId}/inventory/nfMgmt/nfs

Use this (GET) method to display existing Network Functions (NFs).

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : nfs
Type: object
Show Source
Nested Schema : nf
Type: array
Show Source
Nested Schema : nf
Type: object
Show Source
Nested Schema : group
Type: array
Show Source
Nested Schema : nfCategory
Type: object
Show Source
Nested Schema : nfType
Type: object
Show Source
Nested Schema : nfType
Type: array
Show Source

400 Response

The user input is invalid.

401 Response

The session ID is invalid.

404 Response

The object (resource URI, device, and so on) of your input request cannot be found.
Back to Top

Examples

The following example shows how to display the existing NFs by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL

Example of cURL Data

The following shows an example of cURL data sent with the request.

curl -v -b sessionid.txt -X GET -H"Content-Type: application/xml" -H"Accept: application/xml" http://localhost:8080/rest/v1.1/inventory/nfMgmt/nfs

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Date: Wed, 06 Sep 2017 19:52:54 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Content-Length: 416
Vary: Accept-Encoding
Content-Type: application/xml

Example of Response Body

The following example shows the contents of the response body in XML format.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<nfs>
  <nf>
    <groupType>NETWORKFUNCTION</groupType>
    <hidden>false</hidden>
    <id>ID7</id>
    <name>NF1</name>
    <parentGroupFullName>HG1/HG2</parentGroupFullName>
    <parentGroupId>ID4</parentGroupId>
  </nf>
  <nf>
    <groupType>DEVICE</groupType>
    <hidden>false</hidden>
    <id>ID16</id>
    <name>NF2</name>
    <parentGroupFullName>HG1</parentGroupFullName>
    <parentGroupId>ID3</parentGroupId>
  </nf>
</nfs>
Back to Top