CMSV6帮助文档
/
901 DOCS · 225 VIDEOSEN

查询联动报警

作者 刘嘉平更新 2024-12-24 17:50:39文档 ID 1379约 4,900 字 · 阅读 12 分钟查看原文 ↗

接口说明

查询联动报警

请求示例

https://v7.cmsv8.com/StandardApiAction_loadRules.action?jsession=66d754dd7f41473dbd2&ruleType=13&name=test66666&alarmType=11&currentPage=1&pageRecords=10

请求参数

参数名称 参数类型 是否必须 示例 描述
jsession string 是 66d754dd7f41473dbd2 会话号
name string 否 test66666 规则名称 中文传参,格式参考
armType string 否 11 报警类型 详细参见:报警类型说明
ruleType number 是 13 固定传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
namestring
markIdstring
companyobject
idnumber规则id
namestring规则名称
levelnumber
codestring
abbreviationstring
legalstring
linkManstring
linkPhonestring
linkEmailstring
industryTypenumber
industryTypeStrstring
parentIdnumber
businessLicenseNumstring
registeredCapitalstring
addressstring
introductionstring
remarkstring
updateUserIdstring
updateTimenumber
parentNamestring
isMinestring
isChildstring
companyIdnumber
customerIDstring
accountIDnumber
accountNamestring
actNamestring
passwordstring
validitystring
moreIdstring
markerIdstring
platformIdstring
encryptPwdstring
dispatchGroupstring
isAddstring
areastring
nuclearAuthoritystring
legalPhonestring
legalAddressstring
gbCodestring
regionIdstring
regionCodestring
regionNamestring
navTitlestring
navImagestring
websitestring
vehiAddDelnumber
dispatcherstring
inspectReplynumber
inspectAccountnumber
inspectAccountStrstring
functionstring
maxVehicleNumnumber
configurationnumber
motorcadeNamestring
parentFunctionstring
strongPassboolean
monitorstring
monitorSupervisorstring
supervisorPhonestring
operatorCompanyIdstring
operatorNamestring
companyTypenumber
updateUserAccountstring
quasiTransportnumber
motorcadeboolean
typenumber规则类型 13-报警联动规则
armTypenumber报警类型
beginTimenumber开始时间单位: 秒
endTimenumber结束时间单位: 秒
textstring提示信息
paramstring参数格式:"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
selatpstring
areaTypestring
parentIdstring
updateTimenumber
matchAllVehistring
repeatReminderstring
globalSharestring
viewboolean
notifyVehicleContactstring
userIdnumber
fenceNamestring

返回示例

{
  "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
    }
  ]
}
数据来源 help.cmsv8.com
901 篇文档 · 225 个视频 · docs.alwaycare.com