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

POST compliance/profile

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

POST

Creates profile and associates policy

Since Product Version: 3.1

Resource URL

/webacs/api/v1/op/compliance/profile

Request Payload Parameters

Type Attribute Name Description

ComplianceProfileGroup

group

String

name

ComplianceProfilePolicy[]

policies

Response Parameters

Type Attribute Name Description

boolean

isSuccess

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

String

message

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 Request Payload

https://172.25.123.114/webacs/api/v1/op/compliance/profile

<?xml version="1.0" ?>
<complianceProfile>
  <group>
    <description>String value</description>
    <pariGroupId>2</pariGroupId>
    <title>String value</title>
  </group>
  <name>String value</name>
  <policies>
    <policies>
      <policyId>String value</policyId>
      <rules>
        <rules>
          <ruleId>String value</ruleId>
        </rules>
      </rules>
    </policies>
  </policies>
</complianceProfile>

Sample JSON Request Payload

https://172.25.123.114/webacs/api/v1/op/compliance/profile.json

{
  "complianceProfile" : {
    "group" : {
      "description" : "String value",
      "pariGroupId" : 2,
      "title" : "String value"
    },
    "name" : "String value",
    "policies" : {
      "policies" : {
        "policyId" : "String value",
        "rules" : {
          "rules" : {
            "ruleId" : "String value"
          }
        }
      }
    }
  }
}

Sample XML Response Payload

https://172.25.123.114/webacs/api/v1/op/compliance/profile

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../pages/common/login.jsp.html" rootUrl="https://172.25.123.114/webacs/api/v1/op/">
  <complianceResult>
    <isSuccess>true</isSuccess>
    <message>String value</message>
  </complianceResult>
</mgmtResponse>

Sample JSON Response Payload

https://172.25.123.114/webacs/api/v1/op/compliance/profile.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/compliance\/profile",
    "@rootUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/",
    "complianceResult" : {
      "isSuccess" : true,
      "message" : "String value"
    }
  }
}