All Products
Search
Document Center

:ListRuleConditions

Last Updated:Mar 01, 2024

Queries item selection rules of an instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

airec-cn-o400whm78004

Response parameters

ParameterTypeDescriptionExample
object
resultobject []

The returned results.

selectTypestring

The type of the filtering condition for the item selection rule.

QUERY_ITEM_TYPE
selectValuestring

The specific value of the filtering condition for the item selection rule.

xxx
selectionOperationstring

The operation on the filtering condition for the item selection rule.

QUERY_VALUE_IN
codestring

The error code.

InternalServerError
requestIdstring

The request ID.

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

The error message.

An internal server error occurred

Examples

Sample success responses

JSONformat

{
  "result": [
    {
      "selectType": "QUERY_ITEM_TYPE",
      "selectValue": "xxx",
      "selectionOperation": "QUERY_VALUE_IN"
    }
  ],
  "code": "InternalServerError",
  "requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
  "message": "An internal server error occurred"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history