Get NF Supported product Categories

get

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

Use this (GET) method to display the Network Function (NF) categories provided by your product plug-in.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : nfCategories
Type: object
Show Source
Nested Schema : nfCategory
Type: array
Show Source
Nested Schema : nfCategory
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 display NF product categories 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

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"?>
<nfCategories>
  <nfCategory>
    <id>ID3</id>
    <name>Enterprise-ext</name>
    <product>ISR/EOM</product>
    <vendor>Oracle</vendor>
  </nfCategory>
  <nfCategory>
    <id>ID4</id>
    <name>Enterprise</name>
    <product>ESBC/ECB</product>
    <vendor>Oracle</vendor>
  </nfCategory>
  <nfCategory>
    <id>ID6</id>
    <name>SD</name>
    <product>Session Delivery</product>
    <vendor>Oracle</vendor>
  </nfCategory>
</nfCategories>
Back to Top