接口说明
查询联动报警
请求示例
https://v7.cmsv8.com/StandardApiAction_loadRules.action?jsession=66d754dd7f41473dbd2&ruleType=13&name=test66666&alarmType=11¤tPage=1&pageRecords=10
请求参数
| 参数名称 |
参数类型 |
是否必须 |
示例 |
描述 |
| jsession |
string |
是 |
66d754dd7f41473dbd2 |
会话号 |
| name |
string |
否 |
test66666 |
规则名称 中文传参,格式参考 |
| armType |
string |
否 |
11 |
报警类型 详细参见:报警类型说明 |
| ruleType |
number |
是 |
13 |
固定传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 | |
| name | string | |
| markId | string | |
| company | object | |
| | id | number | 规则id |
| | name | string | 规则名称 |
| | level | number | |
| | code | string | |
| | abbreviation | string | |
| | legal | string | |
| | linkMan | string | |
| | linkPhone | string | |
| | linkEmail | string | |
| | industryType | number | |
| | industryTypeStr | string | |
| | parentId | number | |
| | businessLicenseNum | string | |
| | registeredCapital | string | |
| | address | string | |
| | introduction | string | |
| | remark | string | |
| | updateUserId | string | |
| | updateTime | number | |
| | parentName | string | |
| | isMine | string | |
| | isChild | string | |
| | companyId | number | |
| | customerID | string | |
| | accountID | number | |
| | accountName | string | |
| | actName | string | |
| | password | string | |
| | validity | string | |
| | moreId | string | |
| | markerId | string | |
| | platformId | string | |
| | encryptPwd | string | |
| | dispatchGroup | string | |
| | isAdd | string | |
| | area | string | |
| | nuclearAuthority | string | |
| | legalPhone | string | |
| | legalAddress | string | |
| | gbCode | string | |
| | regionId | string | |
| | regionCode | string | |
| | regionName | string | |
| | navTitle | string | |
| | navImage | string | |
| | website | string | |
| | vehiAddDel | number | |
| | dispatcher | string | |
| | inspectReply | number | |
| | inspectAccount | number | |
| | inspectAccountStr | string | |
| | function | string | |
| | maxVehicleNum | number | |
| | configuration | number | |
| | motorcadeName | string | |
| | parentFunction | string | |
| | strongPass | boolean | |
| | monitor | string | |
| | monitorSupervisor | string | |
| | supervisorPhone | string | |
| | operatorCompanyId | string | |
| | operatorName | string | |
| | companyType | number | |
| | updateUserAccount | string | |
| | quasiTransport | number | |
| | motorcade | boolean | |
| type | number | 规则类型 13-报警联动规则 |
| armType | number | 报警类型 |
| beginTime | number | 开始时间单位: 秒 |
| endTime | number | 结束时间单位: 秒 |
| text | string | 提示信息 |
| param | string | 参数格式:"p1,p2,p3,p4,p5,p6" p1是否拍照 1是 0 否; p2 允许拍照时设置拍照通道(支持16通道) 例如: 1010000000000000 表示开启通道1号,3号; p3录像时长(0-1800秒); p4设置录像通道(支持16通道) 例如: 1010000000000000 表示开启通道1号,3号; p5电话号码,p6邮箱; 例子:1,1010000000000000,10,1010000000000000,xxxx,xxx |
| selatp | string | |
| areaType | string | |
| parentId | string | |
| updateTime | number | |
| matchAllVehi | string | |
| repeatReminder | string | |
| globalShare | string | |
| view | boolean | |
| notifyVehicleContact | string | |
| userId | number | |
| fenceName | string | |
返回示例
{
"result": 0,
"pagination": {
"currentPage": 1,
"totalPages": 1,
"pageRecords": 10,
"totalRecords": 1,
"startRecord": 0,
"endRecord": 0,
"nextPage": 1,
"previousPage": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"primaryKey": "id",
"sortParams": null,
"pagin": null,
"rp": null,
"query": null,
"qtype": null,
"directQuery": false,
"page": false
},
"infos": [
{
"id": 672,
"name": "test66666",
"markId": null,
"company": {
"id": 932,
"name": "jpcs1122334455",
"level": 1,
"code": "1122334455",
"abbreviation": null,
"legal": "",
"linkMan": "",
"linkPhone": "",
"linkEmail": "",
"industryType": 1,
"industryTypeStr": null,
"parentId": 0,
"businessLicenseNum": "11447788",
"registeredCapital": "",
"address": "",
"introduction": "",
"remark": "",
"updateUserId": null,
"updateTime": 1716531597000,
"parentName": null,
"isMine": null,
"isChild": null,
"companyId": 0,
"customerID": null,
"accountID": 1151,
"accountName": null,
"actName": null,
"password": null,
"validity": null,
"moreId": null,
"markerId": null,
"platformId": null,
"encryptPwd": null,
"dispatchGroup": null,
"isAdd": null,
"area": "",
"nuclearAuthority": "",
"legalPhone": "",
"legalAddress": "",
"gbCode": "34020000002160000932",
"regionId": null,
"regionCode": null,
"regionName": null,
"navTitle": "11",
"navImage": "upload/companyIcon/932_1640164877885.jpg",
"website": "https://www.taobao.com/",
"vehiAddDel": 1,
"dispatcher": null,
"inspectReply": 1,
"inspectAccount": 1,
"inspectAccountStr": null,
"function": null,
"maxVehicleNum": 100,
"configuration": 2047,
"motorcadeName": null,
"parentFunction": null,
"strongPass": false,
"monitor": "",
"monitorSupervisor": "",
"supervisorPhone": "",
"operatorCompanyId": null,
"operatorName": null,
"companyType": 0,
"updateUserAccount": null,
"quasiTransport": 0,
"motorcade": false
},
"type": 13,
"armType": 11,
"beginTime": 43200,
"endTime": 50400,
"text": "text",
"param": "1,11000000,0,00000000,,",
"selatp": null,
"areaType": null,
"parentId": null,
"updateTime": 1733125449000,
"matchAllVehi": null,
"repeatReminder": null,
"globalShare": null,
"view": false,
"notifyVehicleContact": null,
"userId": 1,
"fenceName": null
}
]
}