CMSV6帮助文档
/
901 DOCS · 225 VIDEOSEN

根据规则类型查询规则

作者 刘嘉平更新 2024-12-24 17:43:53文档 ID 1385约 1,430 字 · 阅读 3 分钟查看原文 ↗

接口说明

根据规则类型查询规则

请求示例

https://v7.cmsv8.com/StandardApiAction_queryRuleList.action?jsession=66d754dd7f41473dbd2&ruleType=13&currentPage=1&pageRecords=10

请求参数

参数名称 参数类型 是否必须 示例 描述
jsession string 是 66d754dd7f41473dbd2 会话号
ruleType number 是 13 规则类型
currentPage number 否 1 当前查询页码 如果为空,则不分页
pageRecords number 否 10 每页条数 如果为空,则不分页

返回参数

参数名称参数类型参数含义
resultnumber接口状态码,0为正常 其他为异常(详情参见:[错误码说明](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1 "错误码说明"))
paginationobject
currentPagenumber当前查询页码
totalPagesnumber查询数据总页数
pageRecordsnumber每页条数
totalRecordsnumber查询数据总条数
startRecordnumber
endRecordnumber
nextPagenumber
previousPagenumber
hasNextPageboolean
hasPreviousPageboolean
primaryKeystring
sortParamsstring
paginstring
rpstring
querystring
qtypestring
directQueryboolean
pageboolean
infosarray
idnumber规则id
namestring规则名称
cNamestring公司名称
typenumber规则类型
utmnumber更新时间
expandstring扩展参数,规则类型为7时,参数为偏移宽度

返回示例

{
  "result": 0,
  "pagination": {
    "currentPage": 1,
    "totalPages": 1,
    "pageRecords": 100,
    "totalRecords": 27,
    "startRecord": 0,
    "endRecord": 0,
    "nextPage": 1,
    "previousPage": 1,
    "hasNextPage": false,
    "hasPreviousPage": false,
    "primaryKey": "id",
    "sortParams": null,
    "pagin": null,
    "rp": null,
    "query": null,
    "qtype": null,
    "page": false,
    "directQuery": false
  },
  "infos": [
    {
      "id": 677,
      "name": "test66666",
      "cName": "cmsv6",
      "type": 13,
      "utm": 1733567905000,
      "expand": null
    }
  ]
}
数据来源 help.cmsv8.com
901 篇文档 · 225 个视频 · docs.alwaycare.com