API Guide

Table Of Contents
Example
Input:
Output:
{
"@odata.context": "/api/
$metadata#Collection(NetworkService.EnumerationEntry)",
"@odata.count": 3,
"value":
[
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "Disabled",
"Name": "Disabled"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "Enabled",
"Name": "Enabled"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "Unknown",
"Name": "Unknown"
}
]
}
/api/NetworkService/PortRoles
This URI represents the possible roles of the ports.
GET method for PortRoles
This method returns the possible roles of a port.
Description
Returns the possible statuses of a port.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "/api/
$metadata#Collection(NetworkService.EnumerationEntry)",
"@odata.count": 5,
"value":
[
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "Spinner",
"Name": "Spinner"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "Unknown",
"Name": "Unknown"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "EndHost",
"Name": "EndHost"
},
APIs specific to OpenManage Enterprise - Modular Edition 347