This API can be used to get the retention period options of both of these activities:
Creating a data versioning extract task.
Reserving entities in the target environment.
/retentionperiodinfo
GET
TDM_utils
Get the retention period options as set in the tdm_general_parameters TDM DB table:
The retention period options contain the supported units and their default values. For example, "Days" and "5" represents 5 days. This is the default number for days.
The API also returns the maximum number of days that can be set for the following activities:
None.
{
"result": {
"maxRetentionPeriodForReserve": {
"units": "Days",
"value": "10"
},
"retentionPeriodTypes": [
{
"name": "Minutes",
"units": 0.00069444444
},
{
"name": "Hours",
"units": 0.04166666666
},
{
"name": "Days",
"units": 1
},
{
"name": "Weeks",
"units": 7
},
{
"name": "Years",
"units": 365
}
],
"maxRetentionPeriodForExtract": {
"units": "Days",
"value": 90
}
},
"errorCode": "SUCCESS",
"message": ""
}
This API can be used to get the retention period options of both of these activities:
Creating a data versioning extract task.
Reserving entities in the target environment.
/retentionperiodinfo
GET
TDM_utils
Get the retention period options as set in the tdm_general_parameters TDM DB table:
The retention period options contain the supported units and their default values. For example, "Days" and "5" represents 5 days. This is the default number for days.
The API also returns the maximum number of days that can be set for the following activities:
None.
{
"result": {
"maxRetentionPeriodForReserve": {
"units": "Days",
"value": "10"
},
"retentionPeriodTypes": [
{
"name": "Minutes",
"units": 0.00069444444
},
{
"name": "Hours",
"units": 0.04166666666
},
{
"name": "Days",
"units": 1
},
{
"name": "Weeks",
"units": 7
},
{
"name": "Years",
"units": 365
}
],
"maxRetentionPeriodForExtract": {
"units": "Days",
"value": 90
}
},
"errorCode": "SUCCESS",
"message": ""
}