接口说明
根据规则类型查询规则
请求示例
https://v7.cmsv8.com/StandardApiAction_queryRuleList.action?jsession=66d754dd7f41473dbd2&ruleType=13¤tPage=1&pageRecords=10
请求参数
| 参数名称 |
参数类型 |
是否必须 |
示例 |
描述 |
| jsession |
string |
是 |
66d754dd7f41473dbd2 |
会话号 |
| ruleType |
number |
是 |
13 |
规则类型 |
| currentPage |
number |
否 |
1 |
当前查询页码 如果为空,则不分页 |
| pageRecords |
number |
否 |
10 |
每页条数 如果为空,则不分页 |
返回参数
| 参数名称 | 参数类型 | 参数含义 |
|---|
| result | number | 接口状态码,0为正常 其他为异常(详情参见:[错误码说明](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1 "错误码说明")) |
| pagination | object | |
| currentPage | number | 当前查询页码 |
| totalPages | number | 查询数据总页数 |
| pageRecords | number | 每页条数 |
| totalRecords | number | 查询数据总条数 |
| startRecord | number | |
| endRecord | number | |
| nextPage | number | |
| previousPage | number | |
| hasNextPage | boolean | |
| hasPreviousPage | boolean | |
| primaryKey | string | |
| sortParams | string | |
| pagin | string | |
| rp | string | |
| query | string | |
| qtype | string | |
| directQuery | boolean | |
| page | boolean | |
| infos | array | |
| id | number | 规则id |
| name | string | 规则名称 |
| cName | string | 公司名称 |
| type | number | 规则类型 |
| utm | number | 更新时间 |
| expand | string | 扩展参数,规则类型为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
}
]
}