blue_panther
blue_panther

Reputation: 1

How to get Data from the SD card from a HikVision camera?

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?

Upvotes: 0

Views: 26

Answers (1)

Luka T
Luka T

Reputation: 31

Search ID can be literally anything you want. I never understood the meaning of it, neither i really punched my head against wall why it works.

Same goes for ACS devices. SearchID is any string. It has to be provided, but its your call what will u put

Upvotes: 0

Related Questions