Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

GET method for ConnectionStateReasons

This method returns a list of all available connection states.

Description
Returns all connection states.
Privilege
VIEW
HTTP response codes
200
Example response body
"{
    ""@odata.context"": ""/api/$metadata#Collection(DeviceService.ConnectionStateReason)"",
    ""@odata.count"": 3,
    ""value"": [
        {
            ""@odata.type"": ""#DeviceService.ConnectionStateReason"",
            ""@odata.id"": ""/api/DeviceService/ConnectionStateReasons(101)"",
            ""Id"": 101,
            ""Name"": ""Success"",
            ""Description"": ""Success""
        },
        {
            ""@odata.type"": ""#DeviceService.ConnectionStateReason"",
            ""@odata.id"": ""/api/DeviceService/ConnectionStateReasons(102)"",
            ""Id"": 102,
            ""Name"": ""Connection Failed"",
            ""Description"": ""Connection Failed""
        },
        {
            ""@odata.type"": ""#DeviceService.ConnectionStateReason"",
            ""@odata.id"": ""/api/DeviceService/ConnectionStateReasons(103)"",
            ""Id"": 103,
            ""Name"": ""Invalid Credentials"",
            ""Description"": ""Invalid Credentials""
        }
    ]
}"

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\