All Products
Search
Document Center

:ListRuleTasks

Last Updated:Sep 26, 2023

Queries the status of a rule-specific task.

debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The ID of the scene.

airec-cn-o400whm78004
sceneIdstringYes

The completion rate of the task.

testid

Response parameters

ParameterTypeDescriptionExample
object
resultobject

The error message.

finishTimeinteger

The ID of the request.

1588240081
finishRateinteger

The ID of the instance.

50
codestring

Queries the status of a rule-specific task.

InternalServerError
requestIdstring

The ID of the instance.

8F81A922-6C81-46D6-B78C-CC35E16B1691
messagestring

The ID of the scene.

An internal server error occurred

Examples

Sample success responses

JSONformat

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

XMLformat

<RequestId>B352FBD9-4643-441E-80ED-699D47D7B6A3</RequestId>
<Result>
    <FinishRate>50</FinishRate>
    <FinishTime>1588240081</FinishTime>
</Result>

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history