RuleInfo

Updated at:

Parameter

Type

Description

Example

object

The rule details.

Status

integer

The rule status.

1

IsDelete

integer

The deletion status.

1

StartTime

string

The start time.

1641277321000

EndTime

string

The end time.

1641277321000

Weight

string

The weight.

1

IsOnline

integer

The online status.

1

CreateEmpid

string

The employee ID of the creator.

1

CreateEmpName

string

The name of the creator.

Zhang San

CreateTime

string

The creation time.

1641277321000

LastUpdateTime

string

The last update time.

1641277321000

LastUpdateEmpid

string

The employee ID of the last updater.

1

LastUpdateEmpName

string

The name of the last updater.

Zhang San

Comments

string

The comments.

Violation

Deny

integer

The edit permission. Valid values: 1: Editing is denied. 0 or null: Editing is allowed.

1

ScoreSubId

integer

The sub-item ID.

1

ScoreName

string

The name of the main scoring item.

Violation

ScoreSubName

string

The sub-scoring item.

1

ScoreType

integer

The score adjustment type.

1

ScoreDeleted

boolean

The deletion status of the scoring item, which is used to gray out the item when it is deleted.

true

OperationMode

integer

The operation mode.

1

Meet

integer

The fulfillment status.

1

Effective

integer

The effective status. Valid values: 0: Not effective. 1: Effective.

1

FullCycle

integer

The full lifecycle effective status. Valid values: 0: No. 1: Yes.

1

EffectiveStartTime

string

The effective start time.

OperationMode

EffectiveEndTime

string

The effective end time.

OperationMode

QualityCheckType

integer

The quality check type. This parameter is used for compatibility with version 4.0 logic. Valid values: 0: Offline quality check. 1: Real-time quality check.

1

Level

integer

The rule level. Valid values: 0: Severe violation. 1: Moderate violation. 2: Minor violation.

1

GraphFlow

any

The graph flow canvas.

{}

TaskFlowType

integer

[Deprecated] The task flow type. Default value: -1.

1

CheckType

integer

The check type. Valid values: 0: Service standard check. 1: Service attitude check. 2: Service professionalism check. 3: Customer attitude check. 4: Service process correctness check.

3

SchemeCheckType SchemeCheckType

The quality check dimension object.

TargetType

integer

The rule category. This parameter is dedicated to the version 4.0 protocol. Valid values: 10: General rule for quality check scheme. 11: Process rule for quality check scheme.

10

ConfigType

integer

The configuration type. This parameter is dedicated to the version 4.0 protocol. Valid values: 1: Simple condition configuration. 2: Advanced configuration. Default value: 1.

1

ScoreNumType

integer

The score calculation type. This parameter is dedicated to the version 4.0 protocol. Valid values: 0: Add or deduct points after the rule is triggered. 1: Award a one-time score after the rule is triggered.

1

ScoreRuleHitType

integer

The score rule hit type. Valid values: 0: Score is calculated when a node is hit.

0

SchemeId

integer

The ID of the associated quality check scheme.

1

SchemeRuleMappingId

integer

The mapping ID between the quality check scheme and the rule.

1

SchemeName

string

The name of the quality check scheme.

General scheme

ModifyType

integer

Specifies whether the rule is modified in the quality inspection scheme.

1

SortIndex

integer

The sort order within the quality inspection dimension.

1

RuleType

integer

The rule type. Valid values: 0: default. 1: user-created. This field is used for 4.0 logic compatibility.

1

Rid

string

The rule ID.

1

Name

string

The rule name.

Greeting rule

TaskFlowId

integer

The flow canvas ID.

111111111

Lambda

string

The conditional expression, such as a&&b.

a&&b

ExternalProperty

integer

The external property.

1

Type

integer

The rule category. Valid values: 2: public opinion monitoring. 3: business. This field is used for 4.0 logic compatibility.

2

RuleCategoryName

string

The rule category name.

Positive rule

AutoReview

integer

The review option. Valid values: 1: no automatic review. 3: automatic review. This field is used for 4.0 protocol compatibility.

1

RuleScoreType

integer

Specifies whether to calculate the score. Valid values: 1: no scoring. 3: scoring. This field is used for 4.0 protocol compatibility.

3

ScoreId

integer

The score category ID.

1

PreqRule

object

The prerequisite rule.

Rid

string

The prerequisite rule ID.

1

ScoreNum

number

The score value.

1

BusinessCategoryNameList

array

The list of business category names.

string

The associated business categorization list.

All

Dialogues

array

The test script.

RuleTestDialogue

The test dialogue content.

Triggers

array

The list of trigger conditions.

string

The list of operators.

a