I’m working with the Dahua CGI API on a VTO (Doorbell) unit and I’m hitting a wall retrieving the actual Personnel Names.
I can successfully query the card database using:
However, the response returns the PersonID/UserID inside the CardName field instead of the actual name I set in the web interface.
Example of what I'm getting:records[51].CardName=169records[51].CardNo=BA8394A1records[51].UserID=9901
The conflict:If I check the logs using name=AccessControlCardRec, the actual string name (the "friendly" name) appears correctly
It seems the AccessControlCard table only stores the ID, but the actual name is stored in a different table or config block. I’ve already tried action=create&name=AccessControlUser and action=list&name=accessUser, but both return 400 Bad Request or Not Found on this firmware.
My Goal:I need an API call that returns a list of all cards/users that includes the actual name string mapped to the Card Number or UserID.
Does anyone know the specific recordFinder table name or configManager block where the VTO stores the User/Personnel name mapping?
I can successfully query the card database using:
However, the response returns the PersonID/UserID inside the CardName field instead of the actual name I set in the web interface.
Example of what I'm getting:records[51].CardName=169records[51].CardNo=BA8394A1records[51].UserID=9901
The conflict:If I check the logs using name=AccessControlCardRec, the actual string name (the "friendly" name) appears correctly
It seems the AccessControlCard table only stores the ID, but the actual name is stored in a different table or config block. I’ve already tried action=create&name=AccessControlUser and action=list&name=accessUser, but both return 400 Bad Request or Not Found on this firmware.
My Goal:I need an API call that returns a list of all cards/users that includes the actual name string mapped to the Card Number or UserID.
Does anyone know the specific recordFinder table name or configManager block where the VTO stores the User/Personnel name mapping?
