I have a Hikvision camera that scans license plates and then saves them to the SD card.
I use ISAPI for queries. How can I receive all scanned vehicles that are on the SD card with the specified from-to date via ISAPI?
I tried it like this:
POST http://\<ip-adress\>:\<port\>/ISAPI/ContentMgmt/search
Body:
<?xml version: "1.0" encoding="utf-8"?>
<CMSearchDescription>
<searchID>1976DF64-59C1-4234-8543-B2E9582D3A75</searchID>
<trackIDList>
<trackID>103</trackID>
</trackIDList>
<timeSpanList>
<timeSpan>
<startTime>2025-02-16T23:00:00Z</startTime>
<endTime>2025-02-17T22:59:59Z</endTime>
</timeSpan>
</timeSpanList>
<maxResults>40</maxResults>
<searchResultPostion>0</searchResultPostion>
</CMSearchDescription> `
That's how it works...but where do I get the searchId? Currently I have it from the web interface, but I would like to know how to get it. Can you help me please?