Updates data pruning configuration for particular table.
Since Product Version: 3.2
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Credential
|
HTTP Methods
|
|
DevNet Discussions
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/settings/data/pruneDataConfig/{tableName}
Request Parameters
tableName
String
|
path
|
Optional
|
Request Payload Parameters
age
int
|
Specifies the maximum data retention period in hours for all records in the database.
|
ageAttribute
String
|
Attribute used for age calculation.
|
maxRecords
int
|
Specifies the maximum number of records to retain in a particular database table.
|
tableName
String
|
|
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/settings/data/pruneDataConfig/{tableName}
<?xml version="1.0" ?>
<pruneDataConfigDTO>
<age>1</age>
<ageAttribute>String value</ageAttribute>
<maxRecords>1</maxRecords>
<tableName>String value</tableName>
</pruneDataConfigDTO>
Sample JSON Request Payload
https://localhost/webacs/api/v1/op/settings/data/pruneDataConfig/{tableName}.json
{
"pruneDataConfigDTO" : {
"age" : 1,
"ageAttribute" : "String value",
"maxRecords" : 1,
"tableName" : "String value"
}
}
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Credential
|
HTTP Methods
|
|
DevNet Discussions
Resource URL
/webacs/api/v2/op/settings/data/pruneDataConfig/{tableName}
Unmodified
This resource has not been modified since the previous API version.
Request Parameters
tableName
String
|
path
|
Optional
|
Request Payload Parameters
age
int
|
Specifies the maximum data retention period in hours for all records in the database.
|
ageAttribute
String
|
Attribute used for age calculation.
|
maxRecords
int
|
Specifies the maximum number of records to retain in a particular database table.
|
tableName
String
|
|
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/settings/data/pruneDataConfig/{tableName}
<?xml version="1.0" ?>
<pruneDataConfigDTO>
<age>1</age>
<ageAttribute>String value</ageAttribute>
<maxRecords>1</maxRecords>
<tableName>String value</tableName>
</pruneDataConfigDTO>
Sample JSON Request Payload
https://localhost/webacs/api/v2/op/settings/data/pruneDataConfig/{tableName}.json
{
"pruneDataConfigDTO" : {
"age" : 1,
"ageAttribute" : "String value",
"maxRecords" : 1,
"tableName" : "String value"
}
}
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Credential
|
HTTP Methods
|
|
DevNet Discussions
Resource URL
/webacs/api/v3/op/settings/data/pruneDataConfig/{tableName}
Unmodified
This resource has not been modified since the previous API version.
Request Parameters
tableName
String
|
path
|
Optional
|
Request Payload Parameters
age
int
|
Specifies the maximum data retention period in hours for all records in the database.
|
ageAttribute
String
|
Attribute used for age calculation.
|
maxRecords
int
|
Specifies the maximum number of records to retain in a particular database table.
|
tableName
String
|
|
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/settings/data/pruneDataConfig/{tableName}
<?xml version="1.0" ?>
<pruneDataConfigDTO>
<age>1</age>
<ageAttribute>String value</ageAttribute>
<maxRecords>1</maxRecords>
<tableName>String value</tableName>
</pruneDataConfigDTO>
Sample JSON Request Payload
https://localhost/webacs/api/v3/op/settings/data/pruneDataConfig/{tableName}.json
{
"pruneDataConfigDTO" : {
"age" : 1,
"ageAttribute" : "String value",
"maxRecords" : 1,
"tableName" : "String value"
}
}
Resource Information
Rate Limiting?
|
Yes
|
Sorting?
|
No
|
Paging?
|
No
|
Filtering?
|
No
|
Group Filtering?
|
No
|
Aggregation?
|
No
|
Response Formats
|
|
User Group
|
NBI Credential
|
HTTP Methods
|
|
DevNet Discussions
Resource URL
/webacs/api/v4/op/settings/data/pruneDataConfig/{tableName}
Unmodified
This resource has not been modified since the previous API version.
Request Parameters
tableName
String
|
path
|
Optional
|
Request Payload Parameters
age
int
|
Specifies the maximum data retention period in hours for all records in the database.
|
ageAttribute
String
|
Attribute used for age calculation.
|
maxRecords
int
|
Specifies the maximum number of records to retain in a particular database table.
|
tableName
String
|
|
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/settings/data/pruneDataConfig/{tableName}
<?xml version="1.0" ?>
<pruneDataConfigDTO>
<age>1</age>
<ageAttribute>String value</ageAttribute>
<maxRecords>1</maxRecords>
<tableName>String value</tableName>
</pruneDataConfigDTO>
Sample JSON Request Payload
https://localhost/webacs/api/v4/op/settings/data/pruneDataConfig/{tableName}.json
{
"pruneDataConfigDTO" : {
"age" : 1,
"ageAttribute" : "String value",
"maxRecords" : 1,
"tableName" : "String value"
}
}