JSON_OutputsModuleSearch

JSON message about the result of searching for relay's linkage configuration parameters

{
  "OutputsModuleSearch": {
    "searchID": "",  
/*required, string, search ID, which is used to check whether the current search requester is the same as the previous one. If they are the same, the search record will be stored in the device to speed up the next search*/
    "responseStatusStrg": "OK", 
/*required, string, search status description: "OK"-search completed, "MORE"-more data to be searched, "NO MATCH"-no data found*/
    "numOfMatches": 1, 
/*required, integer32, number of matched results returned this time*/
    "totalMatches": 1, 
/*required, integer32, total number of matched results*/
    "List": [{
      "id": 1, 
/*optional, int, relay ID*/
      "OutPutModule": {
        "name": "",
/*optional, string, relay name*/
        "related": ,
/*read-only, boolean, whether the relay is linked to the physical relay (the channel of the output module). For PUT method, this node is optional; for GET method, this node is required*/
        "outputModuleNo": ,
/*dependent,read-only, int, linked output module No., this node is required only when the related is true*/
        "channelNo": ,
/*dependent, int, read-only, channel No. of output module, this node is required only when the related is "true"*/
        "moduleType": "",
/*optional, string, module type: "localWired"-local wired module, "extendWired"-extended wired module, "localWireless"-local wireless module, "extendWireless"-extended wireless module*/
        "address": ,
/*optional, int, read-only, module address, this node is only returned by wired modules*/
        "linkageAddress": ,
/*optional, int, read-only, linked module address, this node is only returned by wireless modules*/
        "moduleChannel": ,
/*optional, int, read-only, module channel No.*/
        "OutPutCloseLinkage": [{
/*optional, event linkage information when the relay is closed*/ 
          "linkage": "",
/*optional, string, event types that can be linked to the relay: "alarm", "arming", "disarming", "manualCtrl"-manual control, "zone", "sysEvent"*/
          "alarmMinorType": ["zoneAlarmTamper", "exDevTamper", "hostTamper", "emergency", "medical", "fire", "gas"], 
/*optional, array, minor event type: "zoneAlarmTamper"-zone alarm and tampered event, "exDevTamper"-peripheral device tampered, "hostTamper"-control panel tampered, "emergency"-panic alarm, "medical"-medical alarm, "fire"-fire alarm, "gas"-gas event. When linkage is "alarm", one or all minor event types can be selected. The data type of elements in the array is string*/
          "sysEventMinorType": ["ACOutage", "lowVoltageOfBattery", "telephoneOffLine", "networkAbnormal", "wirelessNetworkAbnormal", "harddiskException", "485Exception", "mBusException", "3G4GSignalAbnormal", "moduleOffline"],
/*optional, array, minor type of system event: "ACOutage"-AC power outage, "lowVoltageOfBattery"-low voltage of battery, "telephoneOffLine"-telephone offline, "networkAbnormal"-wired network disconnected, "wirelessNetworkAbnormal"-wireless network disconnected, "harddiskException"-hard disk exception, "485Exception"-system keyboard exception, "mBusException"-MBUS exception, "3G4GSignalAbnormal"-3G/4G signal exception, "moduleOffline"-module offline. This node is valid when linkage contains "sysEvent"*/
          "zoneEvent": [1, 3], 
/*optional, array, zone event type, this node is valid when linkage contains "zone". [1,3] indicates that zone 1 and zone 3 are enabled. If this node is not configured when linkage contains "zone", it indicates enabling all zones*/
          "subSystem": [1, 2, 3] 
/*optional, array, linked partitions. When linkage is "alarm", "arming", or "disarming", one or more partitions can be configured to link. For example, [1,2,3] indicates that partition 1, partition 2, and partition 3 are linked*/
        }],
        "OutputOpenLinkage": [{
/*optional, event linkage information when the relay is open*/
          "linkage": "",
/*optional, string, event types that can be linked to the relay: "alarm", "arming", "disarming", "manualCtrl"-manual control, "zone", "sysEvent"*/
          "alarmMinorType": ["zoneAlarmTamper", "exDevTamper", "hostTamper", "emergency", "medical", "fire", "gas"], 
/*optional, array, minor event type: "zoneAlarmTamper"-zone alarm and tampered event, "exDevTamper"-peripheral device tampered, "hostTamper"-control panel tampered, "emergency"-panic alarm, "medical"-medical alarm, "fire"-fire alarm, "gas"-gas event. When linkage is "alarm", one or all minor event types can be selected. The data type of elements in the array is string*/
          "sysEventMinorType": ["ACOutage", "lowVoltageOfBattery", "telephoneOffLine", "networkAbnormal", "wirelessNetworkAbnormal", "harddiskException", "485Exception", "mBusException", "3G4GSignalAbnormal", "moduleOffline"],
/*optional, array, minor type of system event: "ACOutage"-AC power outage, "lowVoltageOfBattery"-low voltage of battery, "telephoneOffLine"-telephone offline, "networkAbnormal"-wired network disconnected, "wirelessNetworkAbnormal"-wireless network disconnected, "harddiskException"-hard disk exception, "485Exception"-system keyboard exception, "mBusException"-MBUS exception, "3G4GSignalAbnormal"-3G/4G signal exception, "moduleOffline"-module offline. This node is valid when linkage contains "sysEvent"*/
          "zoneEvent": [1, 3], 
/*optional, array, zone event type, this node is valid when linkage contains "zone". [1,3] indicates that zone 1 and zone 3 are enabled. If this node is not configured when linkage contains "zone", it indicates enabling all zones*/
          "subSystem": [1, 2, 3] 
/*optional, array, linked partitions. When linkage is "alarm", "arming", or "disarming", one or more partitions can be configured to link. For example, [1,2,3] indicates that partition 1, partition 2, and partition 3 are linked*/
        }],
        "duration":1,    
/*optional, int, output duration of the relay, and the range is between 5 and 600 seconds*/
        "durationConstOutputEnable": true 
/*optional, boolean, whether the duration (output duration of the relay) can be configured: true-output duration cannot be configured (continuous output), false-output duration can be configured*/
      }
    }]
  }
}