Hikvision Camera Activation through ISAPI

Hi I would like to know if it is possible to activate a Hikvision camera through ISAPI.

I am currently using PUT http://192.168.1.64/ISAPI/System/activate

<?xml version="1.0" encoding="UTF-8"?>
<ActivateInfo version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
 <password>XXXXX</password>
</ActivateInfo>

But the response I get is : Status : 400 Bad Request

<<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
    <requestURL>/ISAPI/System/activate</requestURL>
    <statusCode>6</statusCode>
    <statusString>Invalid XML Content</statusString>
    <subStatusCode>badParameters</subStatusCode>
</ResponseStatus>

Any advice? @pergola.fabio Thx in advance.

Whats your exact command?

Try it with a curl command:

curl -i --digest -u admin:xxx -X PUT http://192.168.1.64/ISAPI/System/activate

ok, that doesnt work, according to manual, you also need to send XML too

Send this XML:

image

Here is an example with XML, try that one, change offcourse the stuff you need to change:

curl -i --digest -u admin:xxx -X PUT -d '<RemoteControlDoor><cmd>open</cmd></RemoteControlDoor>' http://192.168.0.x/ISAPI/AccessControl/RemoteControl/door/1