
Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

# GET managedServers/mode

API is not supported

Supported products: Operations Center

Provides information on the managed server mode (active or deactivated).

Since Product Version: 3.7

- Jump To

- v1
- v2
- v3
- v4

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

## Resource URL

/webacs/api/v1/op/managedServers/mode

## Request Parameters

Attribute | Source | Description
--- | --- | ---
server String | query | Required IP address or hostname that was used to add the managed server

## Response Parameters

Attribute | Description
--- | ---
mode ManagedServerMode | The mode of the Operations Center managed server. Allowed values ACTIVE DEACTIVATED

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v1/op/managedServers/mode?server=managed.instance.com

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v1/op/managedServers/mode?server=managed.instance.com" rootUrl="https://10.64.88.203/webacs/api/v1/op">
      <managedServerModeDTO>
        <mode>ACTIVE</mode>
      </managedServerModeDTO>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v1/op/managedServers/mode.json?server=managed.instance.com

    {
      "mgmtResponse" : {
        "@responseType" : "operation",
        "@requestUrl" : "https : //10.64.88.203/webacs/api/v1/op/managedServers/mode?server=managed.instance.com",
        "@rootUrl" : "https : //10.64.88.203/webacs/api/v1/op",
        "managedServerModeDTO" : {
          "mode" : "ACTIVE"
        }
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

## Resource URL

/webacs/api/v2/op/managedServers/mode

Unmodified

This resource has not been modified since the previous API version.

## Request Parameters

Attribute | Source | Description
--- | --- | ---
server String | query | Required IP address or hostname that was used to add the managed server

## Response Parameters

Attribute | Description
--- | ---
mode ManagedServerMode | The mode of the Operations Center managed server. Allowed values ACTIVE DEACTIVATED

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v2/op/managedServers/mode?server=managed.instance.com

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v2/op/managedServers/mode?server=managed.instance.com" rootUrl="https://10.64.88.203/webacs/api/v2/op">
      <managedServerModeDTO>
        <mode>ACTIVE</mode>
      </managedServerModeDTO>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v2/op/managedServers/mode.json?server=managed.instance.com

    {
      "mgmtResponse" : {
        "@requestUrl" : "https://10.64.88.203/webacs/api/v2/op/managedServers/mode?server=managed.instance.com",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v2/op",
        "managedServerModeDTO" : [ {
          "mode" : "ACTIVE"
        } ]
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

## Resource URL

/webacs/api/v3/op/managedServers/mode

Unmodified

This resource has not been modified since the previous API version.

## Request Parameters

Attribute | Source | Description
--- | --- | ---
server String | query | Required IP address or hostname that was used to add the managed server

## Response Parameters

Attribute | Description
--- | ---
mode ManagedServerMode | The mode of the Operations Center managed server. Allowed values ACTIVE DEACTIVATED

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v3/op/managedServers/mode?server=managed.instance.com

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v3/op/managedServers/mode?server=managed.instance.com" rootUrl="https://10.64.88.203/webacs/api/v3/op">
      <managedServerModeDTO>
        <mode>ACTIVE</mode>
      </managedServerModeDTO>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v3/op/managedServers/mode.json?server=managed.instance.com

    {
      "mgmtResponse" : {
        "@requestUrl" : "https://10.64.88.203/webacs/api/v3/op/managedServers/mode?server=managed.instance.com",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v3/op",
        "managedServerModeDTO" : [ {
          "mode" : "ACTIVE"
        } ]
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

## Resource URL

/webacs/api/v4/op/managedServers/mode

Unmodified

This resource has not been modified since the previous API version.

## Request Parameters

Attribute | Source | Description
--- | --- | ---
server String | query | Required IP address or hostname that was used to add the managed server

## Response Parameters

Attribute | Description
--- | ---
mode ManagedServerMode | The mode of the Operations Center managed server. Allowed values ACTIVE DEACTIVATED

## Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

### Sample XML Response Payload

https://10.64.88.203/webacs/api/v4/op/managedServers/mode?server=managed.instance.com

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v4/op/managedServers/mode?server=managed.instance.com" rootUrl="https://10.64.88.203/webacs/api/v4/op">
      <managedServerModeDTO>
        <mode>ACTIVE</mode>
      </managedServerModeDTO>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v4/op/managedServers/mode.json?server=managed.instance.com

    {
      "mgmtResponse" : {
        "@requestUrl" : "https://10.64.88.203/webacs/api/v4/op/managedServers/mode?server=managed.instance.com",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v4/op",
        "managedServerModeDTO" : [ {
          "mode" : "ACTIVE"
        } ]
      }
    }