JSON message about alarm details of manual person arming
Content-Type: multipart/form-data;boundary=<frontier> --<frontier> Content-Disposition: form-data; name="dailyFaceTracking" Content-Type: application/json Content-Length: text_length { "ipAddress": "", /*required, device IPv4 address , string, the maximum size is 32*/ "ipv6Address": "", /*optional, device IPv6 address, string, the maximum size is 128*/ "portNo": , /*optional, device port No., integer32*/ "protocolType": "", /*optional, string, protocol type: "HTTP", "HTTPS", "EHome"-ISUPSDK protocol, the maximum size is 32*/ "macAddress": "", /*optional, string, MAC address, the maximum length is 32 bytes*/ "channelID": , /*optional, integer32, device channel No. that triggers alarm*/ "dateTime": "", /*required, string, alarm triggering time based on ISO8601 time format, the maximum length is 32*/ "activePostCount": , /*required, integer32, number of the same uploaded alarm*/ "eventType": "", /*required, string, event type: "manualPersonArmingTrack"-manual person arming, the maximum length is 128 bytes*/ "eventState": "", /*required, string, event triggering status: "active"-triggered, "inactive"-not triggered (refers to heartbeat data), the maximum length is 32 bytes*/ "eventDescription": "", /*required, string, event description: manual person arming track*/ "channelName": "", /*required, channel name (camera name), which should be the same as the <channelName> in message XML_StreamingChannel (related URI: /ISAPI/Streaming/channels/<ID>)*/ "deviceID": "", /*optional, device ID (PUID), which should be returned during integration of ISUPSDK and should be the same as the <deviceID> in XML_Ehome (related URI: /ISAPI/System/Network/Ehome)*/ "persistentEventStatus": "", /*dependent, event status: "started", "ongoing", "ended"; it is valid when the value of eventType "personArmingTrack"*/ "uid": "", /*optional, string, event uploading ID, which can consists of time (accurate to millisecond) and random digits, the maximum value size is 64 bytes*/ "ManualPersonArmingTrack":{ /*required, information of manual person arming tracking*/ "targetUUID":"", /*optional, string, UUID of person arming target, it is unique*/ "TargetGPSInfo":{ /*required, target position information*/ "longitudeType": "", /*required, string, longitude type: "E"-east, "W"-west*/ "latitudeType": "", /*required, string, latitude type: "S"-south, "N"-north*/ "Longitude":{ /*required, longitude value*/ "degree": , /*required, int, degree: [0,180]*/ "minute": , /*required, int, minute: [0,59]*/ "sec": /*required, float, second: [0.000000,60.000000], corrects to 6 decimal places*/ }, "Latitude":{ /*required, latitude value*/ "degree": , /*required, int, degree: [0,180]*/ "minute": , /*required, int, minute: [0,59]*/ "sec": /*required, float, second: [0.000000,60.000000], corrects to 6 decimal places*/ } } /*****************************Person Information***********************************/ "PersonInfo": { /*optional, target person information; when the value of persistentEventStatus is "started", the PersonInfo will be uploaded; when the value of persistentEventStatus is "ended", the PersonInfo will not be uploaded unless the tracking capture has enabled; when the value of persistentEventStatus is "ongoing", the PersonInfo will not be uploaded*/ "armingType": "", /*optional, string, arming type: "face"-upload face information, "human"-upload human body information, "face_human"-upload face and human body information*/ "Face": { /*optional, face information*/ "FaceCaptureResult": { /*optional, face capture result*/ /***************************Face Rectangle Frame Information*******************************/ "Rect": { /*optional, face thumbnail rectangle frame*/ "height": , /*optional, float, frame height, range: [0.000,1.000]*/ "width": , /*optional, float, frame width, range: [0.000,1.000]*/ "x": , /*required, float, X-coordinate of upper-left corner, range: [0.000,1.000], corrects to three decimal place*/ "y": /*required, float, Y-coordinate of upper-left corner, range: [0.000,1.000], corrects to three decimal place*/ }, "FacePictureRect": { /*optional, face rectangle frame*/ "height": , /*optional, float, frame height, range: [0.000,1.000]*/ "width": , /*optional, float, frame width, range: [0.000,1.000]*/ "x": , /*required, float, X-coordinate of upper-left corner, range: [0.000,1.000], corrects to three decimal place*/ "y": /*required, float, Y-coordinate of upper-left corner, range: [0.000,1.000], corrects to three decimal place*/ }, /***************************Face Attributes*******************************/ "age": { /*optional, age information*/ "value": , /*optional, integer32, age*/ "ageGroup": "" /*optional, string, age range; the maximum size is 32 bytes*/ }, "gender":{ /*optional, gender*/ "value":"" /*optional, string, gender: "male", "female", "unknown"; the maximum length is 32*/ }, "glass":{ /*optional, wear glasses or not*/ "value":"" /*optional, string, wearing glasses or not: "no", "yes", "sunglasses"-wearing sunglasses; the maximum length is 32*/ }, "smile":{ /*optional, smiling or not*/ "value":"" /*optional, string, smiling or not: "no", "yes", "unknown"; the maximum length is 32*/ }, "mask": { /*optional, wearing mask or not*/ "value": "" /*optional, string, wearing mask or not: "no", "yes", "unknown"; the maximum length is 32*/ }, "faceExpression":{ /*optional, face expression*/ "value": "" /*optional, string, face expression; the maximum size is 32*/ }, "hat": { /*optional, whether the person is wearing a hat*/ "value": "" /*optional, string, whether the person is wearing a hat: "no", "yes", "unknown"; the maximum length is 32*/ }, /***************************Face Picture Information*******************************/ "FaceImage":{ /*optional, face thumbnail, resource transmission module; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContentType": "", /*dependent, string, resource transmission type: "url", "binary"; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContent": "" /*dependent, string, resource ID; when the returned alarm message consists additional resource (e.g., picture), this node should be returned; when the value of resourcesContentType is "binary", it must be the same as Content-ID of picture, when the value of resourcesContentType is url, its value is the picture URL*/ }, "FaceBackgroundImage":{ /*optional, face background picture, resource transmission module; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContentType": "", /*dependent, string, resource transmission type: "url", "binary"; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContent": "" /*dependent, string, resource ID; when the returned alarm message consists additional resource (e.g., picture), this node should be returned; when the value of resourcesContentType is "binary", it must be the same as Content-ID of picture, when the value of resourcesContentType is url, its value is the picture URL*/ } } }, /*************************Human Body Information***********************************/ "Human":{ "HumanCaptureResult":{ /*optional, human body capture result*/ /***************************Human Body Rectangle Frame Information*******************************/ "Rect":{ /*optional, rectangle frame of human body thumbnail*/ "height": , /*optional, float, frame height, range: [0.000,1.000]*/ "width": , /*optional, float, frame width, range: [0.000,1.000]*/ "x": , /*required, float, X-coordinate of upper-left corner, range: [0.000,1.000], corrects to three decimal place*/ "y": /*required, float, Y-coordinate of upper-left corner, range: [0.000,1.000], corrects to three decimal place*/ }, /***************************Human Body Attributes*******************************/ "jacketColor":{ /*optional, top's color*/ "value": "" /*optional, string, top's color, the maximum length is 32*/ }, "trousersColor":{ /*optional, trousers' color*/ "value": "" /*optional, string, trousers' color, the maximum length is 32*/ }, "glasses":{ /*optional, wear glasses or not*/ "value":"" /*optional, string, wearing glasses or not: "no", "yes", "sunglasses"-wearing sunglasses; the maximum length is 32*/ }, "age": { /*optional, age information*/ "value": , /*optional, integer32, age*/ "ageGroup": "" /*optional, string, age range; the maximum size is 32 bytes*/ }, "ride":{ /*optional, whether the person is riding*/ "value": "" /*optional, string, whether the person is riding: "no", "yes", "unknown"; the maximum length is 32*/ }, "gender":{ /*optional, gender*/ "value":"" /*optional, string, gender: "male", "female", "unknown"; the maximum length is 32*/ }, "bag":{ /*optional, whether the person is carrying a bag*/ "value": "" /*optional, string, whether the person is carrying a bag: "no", "yes", "unknown"; the maximum length is 32*/ }, "things":{ /*optional, whether the person is carrying things*/ "value": "" /*optional, string, whether the person is carrying things: "no", "yes", "unknown"; the maximum length is 32*/ }, "hat": { /*optional, whether the person is wearing a hat*/ "value": "" /*optional, string, whether the person is wearing a hat: "no", "yes", "unknown"; the maximum length is 32*/ }, "jacketType":{ /*optional, top's type*/ "value":"", /*optional, string, top's type; the maximum length is 32*/ }, "trousersType":{ /*optional, trousers' type*/ "value": "" /*optional, string, trousers' type; the maximum length is 32*/ }, "mask": { /*optional, whether the person is wearing mask*/ "value": "" /*optional, string, whether the person is wearing mask: "no", "yes", "unknown"; the maximum length is 32*/ }, "hairStyle":{ /*optional, hair style*/ "value": "" /*optional, string, hair style; the maximum length is 32*/ }, "score":{ /*optional, human body grading*/ "value": /*optional, int, human body grading, range: [0,100]*/ }, "motionStatus":{ /*optional, motion status*/ "value": "" /*optional, string, motion: "enter", "leave", "unknown"; the maximum length is 32*/ }, /***************************Human Body Picture Information*******************************/ "HumanImage":{ /*optional, human body thumbnail, resource transmission module; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContentType": "", /*dependent, string, resource transmission type: "url", "binary"; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContent": "" /*dependent, string, resource ID; when the returned alarm message consists additional resource (e.g., picture), this node should be returned; when the value of resourcesContentType is "binary", it must be the same as Content-ID of picture, when the value of resourcesContentType is url, its value is the picture URL*/ }, "HumanBackgroundImage":{ /*optional, human body background picture, resource transmission module; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContentType": "", /*dependent, string, resource transmission type: "url", "binary"; when the returned alarm message consists additional resource (e.g., picture), this node should be returned*/ "resourcesContent": "" /*dependent, string, resource ID; when the returned alarm message consists additional resource (e.g., picture), this node should be returned; when the value of resourcesContentType is "binary", it must be the same as Content-ID of picture, when the value of resourcesContentType is url, its value is the picture URL*/ } } } } } } --<frontier> Content-Disposition: form-data; name="faceImage"; filename="faceImage.jpg" Content-Type: image/jpeg Content-Length: image_length Content-ID: faceImage [faceImage] --<frontier> Content-Disposition: form-data; name="faceBackgroundImage"; filename="faceBackgroundImage.jpg" Content-Type: image/jpeg Content-Length: image_length Content-ID: faceBackgroundImage [faceBackgroundImage] --<frontier> Content-Disposition: form-data; name="FDLibImage"; filename="FDLibImage.jpg" Content-Type: image/jpeg Content-Length: image_length Content-ID: FDLibImage [FDLibImage] --<frontier> Content-Disposition: form-data; name="humanImage"; filename="humanImage.jpg" Content-Type: image/jpeg Content-Length: image_length Content-ID: humanImage [humanImage] --<frontier> Content-Disposition: form-data; name="humanBackgroundImage"; filename="humanBackgroundImage.jpg" Content-Type: image/jpeg Content-Length: image_length Content-ID: humanBackgroundImage [humanBackgroundImage] --<frontier> Content-Disposition: form-data; name="HBDLibImage"; filename="HBDLibImage.jpg" Content-Type: image/jpeg Content-Length: image_length Content-ID: HBDLibImage [HBDLibImage] --<frontier>--