Get Additional Category Metadata

get

/rest/{versionId}/inventory/nfMgmt/nfCategories/{nfCategoryId}/nfTypes

Use this (GET) method to display the Network Function (NF) types for an NF category.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : nfTypes
Type: object
Show Source
Nested Schema : nfType
Type: array
Show Source
Nested Schema : nfType
Type: object
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 retrieve the NF types for a category 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/nfCategories/ID6/nfTypes

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"?>
<nfTypes>
  <nfType>
    <name>Device</name>
  </nfType>
  <nfType>
    <name>Device Cluster</name>
  </nfType>
</nfTypes>
Back to Top