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

GET compliance/check

Checks status of Compliance Check Job

Since Product Version: 3.1

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/compliance/check

Request Parameters

Attribute Source Description

jobName String

query

Required

Name of check compliance job

Response Parameters

Attribute Description

devices Arrow image ComplianceCheckDevice[]

Devices details.

isSuccess boolean

If true, the action was successfully performed. If false, it ended in some failure condition.

message String

The action status message.

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.80.159/webacs/api/v1/op/compliance/check

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v1/op">
  <complianceCheckResult>
    <devices>
      <devices>
        <deviceIp>String value</deviceIp>
        <hostName>String value</hostName>
        <owningEntityId>String value</owningEntityId>
        <reason>String value</reason>
        <status>String value</status>
      </devices>
      <devices>
        <deviceIp>Another string value</deviceIp>
        <hostName>Another string value</hostName>
        <owningEntityId>Another string value</owningEntityId>
        <reason>Another string value</reason>
        <status>Another string value</status>
      </devices>
    </devices>
    <isSuccess>true</isSuccess>
    <message>String value</message>
  </complianceCheckResult>
</mgmtResponse>

Sample JSON Response Payload

https://10.64.80.159/webacs/api/v1/op/compliance/check.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op\/compliance\/check",
    "@rootUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op",
    "complianceCheckResult" : {
      "devices" : {
        "devices" : [{
          "deviceIp" : "String value",
          "hostName" : "String value",
          "owningEntityId" : "String value",
          "reason" : "String value",
          "status" : "String value"
        },
        {
          "deviceIp" : "Another string value",
          "hostName" : "Another string value",
          "owningEntityId" : "Another string value",
          "reason" : "Another string value",
          "status" : "Another string value"
        }]
      },
      "isSuccess" : true,
      "message" : "String value"
    }
  }
}