Activities call sample
Use this call to list all live activities in Varicent Incentives.
Request
GET - api/v1/liveactivities
Sample call
curl -X GET -H "Authorization: Bearer API_KEY" -H "Model: YOUR_CLIENT_MODEL” -H "Content-Type: application/json" https:// YOUR_ICM10_API_SERVER_ADDRESS/api/v1/liveactivities
Sample response
[
{
"progressId": 55,
"userId": "admin",
"type": "Calculation",
"status": "Running",
"time": "TIME_STAMP",
"percent": 12,
"description": "NAME_OF_OBJECT_CURRENTLY_CALCULATING",
"hasDescription": true,
"isCancellable": true
}
]