Remove license plate from allow list using ISAPI

Otabek

n3wb
Nov 13, 2024
15
1
Uzbekistan
Hello,
1731497222536.png
I can add license plate number to the allow list of Hikvision iDS-2CD7A26G0/P-IZHS IP Camera using above ISAPI. But I need to delete license plate from the list. Please tell me what to do.

Thanks in advance.
 
Just PUT on /ISAPI/Traffic/channels/1/DelLicensePlateAuditData?format=json

as you can see you just send id which will be deleted

1731499448467.png
 
Just PUT on /ISAPI/Traffic/channels/1/DelLicensePlateAuditData?format=json

as you can see you just send id which will be deleted

View attachment 207162
Based on the provided screenshot, it appears there are 352 license plate entries in total, added to the allow list via the web interface of the IP camera. However, each page in the "No." column begins numbering from 1, making it difficult to determine the unique identifier for each license plate added to the allow list.

Could you advise on a way to obtain the unique IDs or a method to track each license plate entry accurately? This would be helpful for efficiently managing and referencing specific entries.
1731555071322.png

Thank you so much in advance!
 
You add licence plates via ISAPI, then you set ID yourself as you please. I use it with SQL where i have table users with licence plate, so i just use userID when i send licence plate. Thats how i track it.
 
You add licence plates via ISAPI, then you set ID yourself as you please. I use it with SQL where i have table users with licence plate, so i just use userID when i send licence plate. Thats how i track it.
Thank you very much, Trempa92. Could you please guide me on how to delete previously added license plate numbers before I developed my software?
 
You can always do delete in for loop. If you dont want to manually delete 1 by 1.

As you shared, ID is incremented, so for i=0 ;i<=latest;i++{delete PUT id)
 
You can always do delete in for loop. If you dont want to manually delete 1 by 1.

As you shared, ID is incremented, so for i=0 ;i<=latest;i++{delete PUT id)
Thank you very much for your assistance, Trempa92. Your support has been incredibly helpful.

I am able to delete all license plates using a loop. However, I would like to know how I might delete a specific license plate number from the list, especially if it was added through the IP camera's built-in web interface.
 
deleting happens via id, so you cant delete using license plate as parameter, just id.

I suppose having database where you link id and license plate can help a lot by knowing which id to delete.
 
  • Like
Reactions: Otabek
deleting happens via id, so you cant delete using license plate as parameter, just id.

I suppose having database where you link id and license plate can help a lot by knowing which id to delete.
Thank you for the clarification! Linking the ID and license plate in the database sounds like a great approach to make deletion easier. I appreciate the helpful suggestion!
 
  • Like
Reactions: trempa92
Hello,
View attachment 207157
I can add license plate number to the allow list of Hikvision iDS-2CD7A26G0/P-IZHS IP Camera using above ISAPI. But I need to delete license plate from the list. Please tell me what to do.

Thanks in advance.
Hello !
How are u add license plate number to the allow list of Hikvision iDS-2CD7A26G0/P-IZHS IP Camera using above ISAPI. I'm needing it for my own interface