Interface description
Query rules by rule type
Request Example
https://v7.cmsv8.com/StandardApiAction_queryRuleList.action?jsession=66d754dd7f41473dbd2&ruleType=13¤tPage=1&pageRecords=10
Request parameters
| Parameter name |
Parameter type |
Is required |
Example |
Description |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| ruleType |
number |
Yes |
13 |
Rule type |
| currentPage |
number |
No |
1 |
If the current query page number is empty, it will not page |
| pageRecords |
number |
No |
10 |
If the number of pages per page is empty, there will be no paging |
Return parameters
| Parameter Name | parameter Type | meaning of parameters |
|---|
| result | number | interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=en "Error Code Description"). |
| pagination | object | |
| currentPage | number | current Query Page Number |
| totalPages | number | total number of pages of query data |
| pageRecords | number | number of entries per page |
| totalRecords | number | total number of query data |
| 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 | rule id |
| name | string | rule Name |
| cName | string | company Name |
| type | number | rule Type |
| utm | number | update time |
| expand | string | extended parameter, when the rule type is 7, the parameter is the offset width |
Return Example
{
"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
}
]
}