Creates profile and associates policy
Since Product Version: 3.1
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
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/profile
Request Payload Parameters
group
ComplianceProfileGroup
|
|
description
String
|
|
pariGroupId
long
|
|
title
String
|
|
|
name
String
|
|
policies
ComplianceProfilePolicy[]
|
|
policyId
String
|
|
rules
ComplianceProfileRule[]
|
|
|
|
Response Parameters
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 Request Payload
https://10.64.80.159/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>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
<policies>
<policyId>Another string value</policyId>
<rules>
<rules>
<ruleId>String value</ruleId>
</rules>
<rules>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
</policies>
</complianceProfile>
Sample JSON Request Payload
https://10.64.80.159/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"
},
{
"ruleId" : "Another string value"
}]
}
},
{
"policyId" : "Another string value",
"rules" : {
"rules" : [{
"ruleId" : "String value"
},
{
"ruleId" : "Another string value"
}]
}
}]
}
}
}
Sample XML Response Payload
https://10.64.80.159/webacs/api/v1/op/compliance/profile
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v1/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v1/op/compliance/profile.json
{
"mgmtResponse" : {
"@responseType" : "operation",
"@requestUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op\/compliance\/profile",
"@rootUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op",
"complianceResult" : {
"isSuccess" : true,
"message" : "String value"
}
}
}
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
Resource URL
/webacs/api/v2/op/compliance/profile
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
group
ComplianceProfileGroup
|
|
description
String
|
|
pariGroupId
long
|
|
title
String
|
|
|
name
String
|
|
policies
ComplianceProfilePolicy[]
|
|
policyId
String
|
|
rules
ComplianceProfileRule[]
|
|
|
|
Response Parameters
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 Request Payload
https://10.64.80.159/webacs/api/v2/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>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
<policies>
<policyId>Another string value</policyId>
<rules>
<rules>
<ruleId>String value</ruleId>
</rules>
<rules>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
</policies>
</complianceProfile>
Sample JSON Request Payload
https://10.64.80.159/webacs/api/v2/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"
}, {
"ruleId" : "Another string value"
} ]
}
}, {
"policyId" : "Another string value",
"rules" : {
"rules" : [ {
"ruleId" : "String value"
}, {
"ruleId" : "Another string value"
} ]
}
} ]
}
}
}
Sample XML Response Payload
https://10.64.80.159/webacs/api/v2/op/compliance/profile
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v2/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v2/op/compliance/profile.json
{
"mgmtResponse" : {
"@requestUrl" : "../../../../../pages/common/login.jsp.html",
"@responseType" : "operation",
"@rootUrl" : "https://10.64.80.159/webacs/api/v2/op",
"complianceResult" : [ {
"isSuccess" : true,
"message" : "String value"
} ]
}
}
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
Resource URL
/webacs/api/v3/op/compliance/profile
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
group
ComplianceProfileGroup
|
|
description
String
|
|
pariGroupId
long
|
|
title
String
|
|
|
name
String
|
|
policies
ComplianceProfilePolicy[]
|
|
policyId
String
|
|
rules
ComplianceProfileRule[]
|
|
|
|
Response Parameters
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 Request Payload
https://10.64.80.159/webacs/api/v3/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>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
<policies>
<policyId>Another string value</policyId>
<rules>
<rules>
<ruleId>String value</ruleId>
</rules>
<rules>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
</policies>
</complianceProfile>
Sample JSON Request Payload
https://10.64.80.159/webacs/api/v3/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"
}, {
"ruleId" : "Another string value"
} ]
}
}, {
"policyId" : "Another string value",
"rules" : {
"rules" : [ {
"ruleId" : "String value"
}, {
"ruleId" : "Another string value"
} ]
}
} ]
}
}
}
Sample XML Response Payload
https://10.64.80.159/webacs/api/v3/op/compliance/profile
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v3/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v3/op/compliance/profile.json
{
"mgmtResponse" : {
"@requestUrl" : "../../../../../pages/common/login.jsp.html",
"@responseType" : "operation",
"@rootUrl" : "https://10.64.80.159/webacs/api/v3/op",
"complianceResult" : [ {
"isSuccess" : true,
"message" : "String value"
} ]
}
}
Resource Information
Rate Limiting?
|
No
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Write
|
HTTP Methods
|
|
Resource URL
/webacs/api/v4/op/compliance/profile
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
group
ComplianceProfileGroup
|
|
description
String
|
|
pariGroupId
long
|
|
title
String
|
|
|
name
String
|
|
policies
ComplianceProfilePolicy[]
|
|
policyId
String
|
|
rules
ComplianceProfileRule[]
|
|
|
|
Response Parameters
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 Request Payload
https://10.64.80.159/webacs/api/v4/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>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
<policies>
<policyId>Another string value</policyId>
<rules>
<rules>
<ruleId>String value</ruleId>
</rules>
<rules>
<ruleId>Another string value</ruleId>
</rules>
</rules>
</policies>
</policies>
</complianceProfile>
Sample JSON Request Payload
https://10.64.80.159/webacs/api/v4/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"
}, {
"ruleId" : "Another string value"
} ]
}
}, {
"policyId" : "Another string value",
"rules" : {
"rules" : [ {
"ruleId" : "String value"
}, {
"ruleId" : "Another string value"
} ]
}
} ]
}
}
}
Sample XML Response Payload
https://10.64.80.159/webacs/api/v4/op/compliance/profile
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v4/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://10.64.80.159/webacs/api/v4/op/compliance/profile.json
{
"mgmtResponse" : {
"@requestUrl" : "../../../../../pages/common/login.jsp.html",
"@responseType" : "operation",
"@rootUrl" : "https://10.64.80.159/webacs/api/v4/op",
"complianceResult" : [ {
"isSuccess" : true,
"message" : "String value"
} ]
}
}