Register an estimate interactions API task
You can use the xConnect Web API to estimate the amount of data to purge from your interactions. To do this, you must register an estimate task.
To register a task:
-
Use the following API:
RequestResponse<instance>/sitecore/api/datatools/estimate/interactionsThe successful task registration request returns the total count of interactions, for example:
RequestResponse{ "TotalCount": 34500 }
Parameters
The following describes the POST parameters that you can send to the Web API to register a purge task:
Combined parameters act as an AND condition. This means all the parameters sent to the API filter the data to purge.
|
Parameter |
Optional |
Default |
Type |
Description |
|---|---|---|---|---|
|
|
No |
- |
Nullable Integer |
The The |
|
|
Yes |
Null |
Nullable Double |
The start sampling range value. The range restriction is 0 to 1. The percentile range specifies the subset of data to extract. The data extraction process filters interactions based on the percentile range and the |
|
|
Yes |
Null |
Nullable Double |
The end sampling range value. The range restriction is 0 to 1. The percentile range specifies the subset of data to extract. The data extraction process filters interactions based on the percentile range and the |