Monitor a purge API task
You can use the xConnect Web API to monitor a purge task.
To track the task progress:
-
Use the following GET request and substitute the
{{TaskId}}parameter with the ID of the ongoing registered task:
GET response
The GET response contains the following data:
The data in the GET response is as follows:
|
Field |
Description |
|---|---|
|
|
The task ID. |
|
|
Date and time of task creation. |
|
|
Date and time of the last status change. |
|
|
DeferredAction = 0 DistributedProcessing = 1 |
|
|
Pending = 0 Processing = 1 Completed = 2 Failed = 3 Expired = 4 Canceled = 5 |
|
|
The number of items processed by the task. |
|
|
The total approximate number of items to process. |
|
|
Gets the human-readable description of the task. If applied. |
|
|
The list of task IDs that are prerequisites for this task. |