Enable/Disable "Notify Surveillance Center" via ISAPI

You dont need wireshark for this

Developer tools any browser / Network tab, click the option you want on camera web interface(save optional) and check for url and body if its put or post
 
  • Like
Reactions: rug4096
I'm interested too, but I can't find the HTTP command:

Howdy @123456 ...

I used Wireshark and Postman and came up with this on a DS-2CD2387G2-LU camera firmware version V5.7.19 build 241207... it successfully toggles "Notify Surveillance Center" on/off for "Intrusion Detection" Rule 1... IP Adress/Port is NVR virtual host PoE port 1 (192.168.154.5:65001)...

Toggle "Notify Surveillance Center" on:

Screenshot 2025-10-28 133133.png


Toggle "Notify Surveillance Center" off:

Screenshot 2025-10-28 132937.png


Here is the body code so you don't have to retype it...

Code:
<?xml version="1.0" encoding="UTF-8"?>
<EventTrigger>
    <id>fielddetection-1</id>
    <eventType>fielddetection</eventType>
    <videoInputChannelID>1</videoInputChannelID>
    <EventTriggerNotificationList>
        <EventTriggerNotification>
            <id>center</id>
            <notificationMethod>center</notificationMethod>
        </EventTriggerNotification>
    </EventTriggerNotificationList>
</EventTrigger>

Code:
<?xml version="1.0" encoding="UTF-8"?>
<EventTrigger>
    <id>fielddetection-1</id>
    <eventType>fielddetection</eventType>
    <videoInputChannelID>1</videoInputChannelID>
    <EventTriggerNotificationList/>
</EventTrigger>
 
One thing to note...

All the "Linkage Method" items need to be set together, so the above "off" body code actually toggles off "Send Email", "Notify Surveillance Center", "Upload to FTP/Memory Card/NAS", "Supplement Light", and "Recording Linkage"... the "on" body code only turns "Notify Surveillance Center" back on.

So, let me know if you want me to adjust the code so that the other items (besides "Notify Surveillance Center") should be on or off, and I will adjust the code.

Screenshot 2025-10-28 144320.png
 
Thanks for your help.
After your help, for camera setting I used the browser developer mode to select "Network" and then "Payload." I was able to see the code I needed to insert to enable and disable the various links.

Now the problem is if I activate "Notify Surveillance Center" from the NVR always via Postman PUT, the "Area settings" configuration of the camera is also overwritten, and I would like to keep it because the draw areas set by the camera have more points than those of the NVR

1761787131303.png
 
  • Like
Reactions: johnfitz
I imagine you will need to do an HTTP GET to get the "Area Setting" configuration... and then include that in the HTTP PUT...

What NVR model and firmware version do you have? I have DS-7616NI-M2/16P firmware V5.04.070 build 250828... it looks different than yours:


Screenshot 2025-10-30 172557.png