XML message about parameters of a HTTP listening server
<HttpHostNotification version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <id><!--required, xs:string, ID--></id> <url><!--required, xs:string, the absolute path, e.g., http://<ipAddress>:<portNo>/<uri>--></url> <protocolType><!--required, xs:string, "HTTP,HTTPS,EHome". When the value of this node is EHome, this message can be used to configure the information (such as IP address and port No.) for the AMS (Alarm Management Server) of ISUP 5.0 to listen on. For communication via ISUP 5.0 (MQTT), the listening parameters can be configured and obtained; For other communication methods (such as communication via HTTP, HTTPS, EZVIZ Open Platform, etc.), the listening parameters can only be obtained and cannot be configured--></protocolType> <parameterFormatType><!--required, xs:string, alarm/event information format, "XML,JSON"--></parameterFormatType> <addressingFormatType><!--required, xs:string, "ipaddress,hostname"--></addressingFormatType> <hostName><!--dependent, xs:string--></hostName> <ipAddress><!--dependent, xs:string--></ipAddress> <ipv6Address><!--dependent, xs:string--></ipv6Address> <portNo><!--optional, xs:integer--></portNo> <userName><!--dependent, xs:string--></userName> <password><!--dependent, xs:string--></password> <httpAuthenticationMethod><!--required, xs:string, "MD5digest,none"--></httpAuthenticationMethod> <ANPR><!--optional--> <detectionUpLoadPicturesType> <!--optional, xs:string, types of alarm picture to be uploaded: "all", "licensePlatePicture", "detectionPicture". When configuring the types of captured pictures to be uploaded to the HTTP listening server, the node detectionUpLoadPicturesType supported to be configured with the following values: "licensePlatePicture", "detectionPicture", and "all"--> <!--The picture type configured for this node must be included in that configured for the node capturePicType in XML_PicParam. For example, if the values of the node capturePicType are "licensePlatePicture", "vehiclePicture", and "detectionPicture", the value of this node can be any; if the value of the node capturePicType is "licensePlatePicture", the value of this node can only be "licensePlatePicture"; if the values of the node capturePicType are "licensePlatePicture" and "vehiclePicture", the value of this node can be "licensePlatePicture" or "all"; if the values of the node capturePicType are "detectionPicture" and "vehiclePicture", the value of this node can be "detectionPicture" or "all"--> </detectionUpLoadPicturesType> </ANPR> <eventType optional="AID,TFS,TPS"><!--required, xs:string--></eventType> <uploadImagesDataType> <!--optional, xs:string, "URL", "binary" (default), for cloud storage, only "URL" is supported--> </uploadImagesDataType> <httpBroken> <!--optional, xs:boolean, automatic network replenishment (ANR). The ANR function will be applied to all events once enabled-->true </httpBroken> <eventMode><!--optional, xs:string, "all,list"--></eventMode> <EventList><!--dependent, it is valid only when eventMode is "list"--> <Event><!--required--> <type><!--required, xs:string--></type> </Event> </EventList> <channels><!--optional, xs:string, "1,2,3,4…"--></channels> <SubscribeEvent/><!--optional, event subscription parameters, see details in the message of XML_SubscribeEvent--> </HttpHostNotification>