Creates custom policy from XML
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/policy/import
Request Payload Parameters
policyXml
String
|
CustomPolicy XML to import.
|
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://localhost/webacs/api/v1/op/compliance/policy/import
<?xml version="1.0" ?>
<compliancePolicyImport>
<policyXml>String value</policyXml>
</compliancePolicyImport>
Sample JSON Request Payload
https://localhost/webacs/api/v1/op/compliance/policy/import.json
{
"compliancePolicyImport" : {
"policyXml" : "String value"
}
}
Sample XML Response Payload
https://localhost/webacs/api/v1/op/compliance/policy/import
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v1/op/compliance/policy/import" rootUrl="https://localhost/webacs/api/v1/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v1/op/compliance/policy/import.json
{
"mgmtResponse" : {
"@responseType" : "operation",
"@requestUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op\/compliance\/policy\/import",
"@rootUrl" : "https : \/\/localhost\/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/policy/import
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
policyXml
String
|
CustomPolicy XML to import.
|
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://localhost/webacs/api/v2/op/compliance/policy/import
<?xml version="1.0" ?>
<compliancePolicyImport>
<policyXml>String value</policyXml>
</compliancePolicyImport>
Sample JSON Request Payload
https://localhost/webacs/api/v2/op/compliance/policy/import.json
{
"compliancePolicyImport" : {
"policyXml" : "String value"
}
}
Sample XML Response Payload
https://localhost/webacs/api/v2/op/compliance/policy/import
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v2/op/compliance/policy/import" rootUrl="https://localhost/webacs/api/v2/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v2/op/compliance/policy/import.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v2/op/compliance/policy/import",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/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/policy/import
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
policyXml
String
|
CustomPolicy XML to import.
|
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://localhost/webacs/api/v3/op/compliance/policy/import
<?xml version="1.0" ?>
<compliancePolicyImport>
<policyXml>String value</policyXml>
</compliancePolicyImport>
Sample JSON Request Payload
https://localhost/webacs/api/v3/op/compliance/policy/import.json
{
"compliancePolicyImport" : {
"policyXml" : "String value"
}
}
Sample XML Response Payload
https://localhost/webacs/api/v3/op/compliance/policy/import
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v3/op/compliance/policy/import" rootUrl="https://localhost/webacs/api/v3/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v3/op/compliance/policy/import.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v3/op/compliance/policy/import",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/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/policy/import
Unmodified
This resource has not been modified since the previous API version.
Request Payload Parameters
policyXml
String
|
CustomPolicy XML to import.
|
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://localhost/webacs/api/v4/op/compliance/policy/import
<?xml version="1.0" ?>
<compliancePolicyImport>
<policyXml>String value</policyXml>
</compliancePolicyImport>
Sample JSON Request Payload
https://localhost/webacs/api/v4/op/compliance/policy/import.json
{
"compliancePolicyImport" : {
"policyXml" : "String value"
}
}
Sample XML Response Payload
https://localhost/webacs/api/v4/op/compliance/policy/import
<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v4/op/compliance/policy/import" rootUrl="https://localhost/webacs/api/v4/op">
<complianceResult>
<isSuccess>true</isSuccess>
<message>String value</message>
</complianceResult>
</mgmtResponse>
Sample JSON Response Payload
https://localhost/webacs/api/v4/op/compliance/policy/import.json
{
"mgmtResponse" : {
"@requestUrl" : "https://localhost/webacs/api/v4/op/compliance/policy/import",
"@responseType" : "operation",
"@rootUrl" : "https://localhost/webacs/api/v4/op",
"complianceResult" : [ {
"isSuccess" : true,
"message" : "String value"
} ]
}
}