Skip to main content

アクティビティ呼び出しサンプル

この呼び出しを使用して、Varicent Incentivesのすべてのライブアクティビティをリスト化します。

リクエスト

GET - api/v1/liveactivities

サンプル呼び出し

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

サンプルレスポンス

[
  {
    "progressId": 55,
    "userId": "admin",
    "type": "Calculation",
    "status": "Running",
    "time": "TIME_STAMP",
    "percent": 12,
    "description": "NAME_OF_OBJECT_CURRENTLY_CALCULATING",
    "hasDescription": true,
    "isCancellable": true
  }
]