Hello,
I need to integrate a dock scheduling software with a hikvision IP camera, so that I whenever a truck arrives at the depot the camera can automatically instruct the gate to open if the truck has an appointment in the dock scheduling software.
To accomplish this I'm trying to populate the whitelist of the camera by sending an .xls file to /ISAPI/Traffic/plateList endpoint but I get 403 - Forbidden as a response with the following body:
I'm sending a HTTP PUT request to http://user:pass@cameraIP/ISAPI/Traffic/plateList, and the content of the .xls file is in the body.
Other endpoints are working correctly such as /ISAPI/Security/userCheck or /ISAPI/Traffic/Capabilities, so I do not think it's a problem of authentication.
If anyone could point me in the right direction I would be greatly thankful.
Also, if you have other ideas on how on how accomplish the scope differently please let me know.
I need to integrate a dock scheduling software with a hikvision IP camera, so that I whenever a truck arrives at the depot the camera can automatically instruct the gate to open if the truck has an appointment in the dock scheduling software.
To accomplish this I'm trying to populate the whitelist of the camera by sending an .xls file to /ISAPI/Traffic/plateList endpoint but I get 403 - Forbidden as a response with the following body:
<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<requestURL>/ISAPI/Traffic/plateList</requestURL>
<statusCode>4</statusCode>
<statusString>Invalid Operation</statusString>
<subStatusCode>invalidOperation</subStatusCode>
</ResponseStatus>
I'm sending a HTTP PUT request to http://user:pass@cameraIP/ISAPI/Traffic/plateList, and the content of the .xls file is in the body.
Other endpoints are working correctly such as /ISAPI/Security/userCheck or /ISAPI/Traffic/Capabilities, so I do not think it's a problem of authentication.
If anyone could point me in the right direction I would be greatly thankful.
Also, if you have other ideas on how on how accomplish the scope differently please let me know.