This may help: Hikvision ISAPI
It's trail and error from there. Using Fiddler to capture requests in the webGUI helps immensely.
You'll need to enable CGI and create a admin level user too. Web Authentication may need to be set to digest/basic.
There are several threads with curl examples on this forum. If there is something specific you need let me know.