Updates data pruning configuration for particular table.
Since Product Version: 3.2
Resource Information
Rate Limiting? |
No |
Sorting? |
No |
Paging? |
No |
Filtering? |
No |
Group Filtering? |
No |
Aggregation? |
No |
Response Formats |
xml json |
User Group |
NBI Credential |
HTTP Methods |
PUT |
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
Attribute | Source | Description |
---|---|---|
tableName String |
path |
Optional |
Request Payload Parameters
Attribute | Description |
---|---|
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 |
Table name |
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.20.127.108/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://172.20.127.108/webacs/api/v1/op/settings/data/pruneDataConfig/{tableName}.json
{
"pruneDataConfigDTO" : {
"age" : 1,
"ageAttribute" : "String value",
"maxRecords" : 1,
"tableName" : "String value"
}
}