API Guide

Table Of Contents
Example
response body
{
"@odata.context": "/api/
$metadata#Collection(NetworkService.EnumerationEntry)",
"@odata.count": 0,
"value":[
]
}
/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
response body
{
"@odata.context": "/api/
$metadata#Collection(NetworkService.EnumerationEntry)",
"@odata.count": 5,
"value":
[
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "MX7116n",
"Name": "MX7116n"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "Unknown",
"Name": "Unknown"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "EndHost",
"Name": "EndHost"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "Uplink",
"Name": "Uplink"
},
{
"@odata.type": "#NetworkService.EnumerationEntry",
"Id": "ISL",
"Name": "ISL"
}
]
}
APIs specific to OpenManage Enterprise Modular Edition
565