日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

GetRuleV4 - 獲取規(guī)則詳情(新版質檢)

對應前端功能位置:質檢規(guī)則配置-查詢。專有云URL:ip:port/api/client/GetRuleById.json。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

下表是API對應的授權信息,可以在RAM權限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:

  • 操作:是指具體的權限點。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權的操作,用全部資源表示。
  • 條件關鍵字:是指云產(chǎn)品自身定義的條件關鍵字。
  • 關聯(lián)操作:是指成功執(zhí)行操作所需要的其他權限。操作者必須同時具備關聯(lián)操作的權限,操作才能成功。
操作訪問級別資源類型條件關鍵字關聯(lián)操作
sca:GetRuleV4
*全部資源
*

請求參數(shù)

名稱類型必填描述示例值
RuleIdlong

規(guī)則 ID。

531

返回參數(shù)

名稱類型描述示例值
object

PlainResult

DataRulesInfo

規(guī)則信息

RequestIdstring

請求 ID

106C6CA0-282D-4AF7-85F0-D2D24***
Successboolean

請求是否成功,調用方可根據(jù)此字段來判斷請求是否成功:true 表示成功;false/null 表示失敗。

true
Codestring

結果代碼,200 表示成功,若為別的值則表示失敗,調用方可根據(jù)此字段判斷失敗原因。

200
Messagestring

出錯時表示出錯詳情,成功時為 successful

successful
Messagesarray

出錯時表示出錯詳情,當輸出多條信息時使用。

Messagestring

出錯時表示出錯詳情,當輸出多條信息時使用。

HttpStatusCodeinteger

HTTP 請求返回的響應狀態(tài)碼,200 表示請求成功。

200

示例

正常返回示例

JSON格式

{
  "Data": {
    "Conditions": [
      {
        "Cid": "a",
        "Id": 1,
        "Rid": "1",
        "Check_range": {
          "RoleId": 1,
          "Role": "客服",
          "Anchor": {
            "Cid": "a",
            "Location": "BEFORE",
            "Hit_time": 1
          },
          "Range": {
            "From": 1,
            "To": 2
          },
          "Absolute": true,
          "AllSentencesSatisfy": true
        },
        "Operators": [
          {
            "Oid": "a",
            "Id": 1,
            "Type": "HIT_ANY_KEYWORDS",
            "Param": {
              "CustomerParam": {
                "Field": "remark1",
                "FieldType": 1,
                "DataType": 1,
                "Symbol": 1,
                "Value": "xxx",
                "ActualValue": "xx"
              },
              "Keywords": [
                "你好"
              ],
              "Regex": "質疑.*",
              "NotRegex": "優(yōu)秀.*",
              "Phrase": "你好,請問",
              "References": [
                "你好.{0,10}"
              ],
              "Interval": 1,
              "IntervalEnd": 2,
              "Threshold": 90,
              "In_sentence": true,
              "Target": 1,
              "From_end": true,
              "Different_role": true,
              "Target_role": "客服",
              "RoleId": 1,
              "Velocity": 111,
              "VelocityInMint": 1,
              "KeywordExtension": 1,
              "Synonyms": {
                "key": [
                  "售賣"
                ]
              },
              "Case_sensitive": true,
              "Near_dialogue": true,
              "MinWordSize": 1,
              "Hit_time": 2,
              "Excludes": [
                "負向"
              ],
              "From": 0,
              "CheckFirstSentence": true,
              "Average": true,
              "BeginType": "1",
              "EndType": "2",
              "CompareOperator": "gt",
              "Pkey": "xx",
              "Poutput_type": 1,
              "SimilarlySentences": [
                "我要購買"
              ],
              "LgfSentences": [
                "你好{1}"
              ],
              "Score": 70,
              "ContextChatMatch": true,
              "KeywordMatchSize": 1,
              "MaxEmotionChangeValue": 3,
              "CheckType": 1,
              "KnowledgeTargetId": "1",
              "CategoryPathCode": "xx",
              "KnowledgeTargetType": 1,
              "KnowledgeTargetName": "訂單",
              "QuestionThreshold": "90",
              "AnswerThreshold": "90",
              "KnowledgeSentenceNum": 1,
              "KnowledgeInfo": "下單",
              "BotId": "chatbot-cn-xxx",
              "UseEasAlgorithm": true,
              "Pvalues": [
                ""
              ],
              "Similarity_threshold": 90,
              "AntModelInfo": {
                "key": "xxx"
              },
              "DelayTime": 10
            },
            "Name": "a",
            "UserGroup": "xxx",
            "QualityCheckType": 0
          }
        ],
        "Lambda": "a",
        "Exclusion": 0,
        "Name": "xx",
        "UserGroup": "xxxx"
      }
    ],
    "Rules": [
      {
        "Status": 1,
        "IsDelete": 1,
        "StartTime": "1641277321000",
        "EndTime": "1641277321000",
        "BusinessCategoryNameList": [
          "全部"
        ],
        "Weight": "1",
        "IsOnline": 1,
        "CreateEmpid": "1",
        "CreateEmpName": "張三",
        "CreateTime": "1641277321000",
        "LastUpdateTime": "1641277321000",
        "LastUpdateEmpid": "1",
        "LastUpdateEmpName": "張三",
        "Comments": "違規(guī)",
        "Deny": 1,
        "ScoreSubId": 1,
        "ScoreName": "違規(guī)",
        "ScoreSubName": "1",
        "ScoreNum": 1,
        "ScoreType": 1,
        "ScoreDeleted": true,
        "OperationMode": 1,
        "Meet": 1,
        "Dialogues": [
          {
            "Id": 1,
            "Content": [
              {
                "HourMinSec": "00:00",
                "Role": "客戶",
                "Identity": "客戶",
                "EmotionValue": 1,
                "SpeechRate": 100,
                "Words": "方便",
                "End": 1360,
                "SilenceDuration": 100,
                "BeginTime": 350,
                "Begin": 360
              }
            ],
            "Name": "xx",
            "UserGroup": "xx"
          }
        ],
        "Effective": 1,
        "FullCycle": 1,
        "EffectiveStartTime": "OperationMode",
        "EffectiveEndTime": "OperationMode",
        "QualityCheckType": 1,
        "Level": 1,
        "GraphFlow": "{}",
        "TaskFlowType": 1,
        "CheckType": 3,
        "SchemeCheckType": {
          "CheckType": 1,
          "CheckName": "流程規(guī)則",
          "SourceScore": 1,
          "Score": 50,
          "Enable": 1,
          "SchemeId": 1,
          "SchemeScoreInfoList": [
            {
              "Rid": 1,
              "Name": "xx",
              "TaskFlowId": 1,
              "TaskFlowName": "xx",
              "ScoreType": 1,
              "ScoreNumType": 0,
              "ScoreNum": 1,
              "ScoreRuleHitType": 0
            }
          ],
          "TaskFlowScoreInfoList": [
            {
              "TaskFlowId": 1,
              "TaskFlowName": "xx",
              "TaskFlowType": 1,
              "SchemeScoreInfoList": [
                {
                  "Rid": 1,
                  "Name": "xx",
                  "TaskFlowId": 1,
                  "TaskFlowName": "xx",
                  "ScoreType": 1,
                  "ScoreNumType": 0,
                  "ScoreNum": 11,
                  "ScoreRuleHitType": 0
                }
              ]
            }
          ]
        },
        "TargetType": 10,
        "ConfigType": 1,
        "ScoreNumType": 1,
        "ScoreRuleHitType": 0,
        "SchemeId": 1,
        "SchemeRuleMappingId": 1,
        "SchemeName": "通用方案",
        "ModifyType": 1,
        "SortIndex": 1,
        "RuleType": 1,
        "Rid": "1",
        "Name": "開頭語規(guī)則",
        "TaskFlowId": 111111111,
        "Lambda": "a&&b",
        "Triggers": [
          "a"
        ],
        "ExternalProperty": 1,
        "Type": 2,
        "RuleCategoryName": "正向規(guī)則",
        "AutoReview": 1,
        "RuleScoreType": 3,
        "ScoreId": 1
      }
    ],
    "Dialogues": [
      {
        "Id": 1,
        "Content": [
          {
            "HourMinSec": "00:00",
            "Role": "客戶",
            "Identity": "客戶",
            "EmotionValue": 1,
            "SpeechRate": 100,
            "Words": "方便",
            "End": 1360,
            "SilenceDuration": 100,
            "BeginTime": 350,
            "Begin": 360
          }
        ],
        "Name": "xx",
        "UserGroup": "xx"
      }
    ],
    "Count": 100,
    "PageSize": 10,
    "PageNumber": 1
  },
  "RequestId": "106C6CA0-282D-4AF7-85F0-D2D24***",
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "Messages": [
    "無"
  ],
  "HttpStatusCode": 200
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內容概要操作
2023-08-07API 內部配置變更,不影響調用查看變更詳情