All Products
Search
Document Center

ListRuleTask

Last Updated: Jan 15, 2021

Description

Queries the status of a rule-specific task.

Method

GET

URI

/openapi/instances/{instanceId}/rule-tasks

Request parameters

Parameter

Type

Required

Description

sceneId

String

Yes

The ID of the scene.

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

Map

The execution progress of the task.

Sample requests

GET /openapi/instances/airec-cn-xxxxxx/rule-tasks?sceneId=xxx

Sample responses

JSON format

{
  "RequestId": "B352FBD9-4643-441E-80ED-699D47D7B6A3",
  "Result": {
    "FinishRate": "50",
    "FinishTime": "1588240081"
  }
}