In Apifox, import hikvision_leave_auth_collection.postman_collection.json as a Postman Collection v2.1 file.
Import hikvision_leave_auth_environment.postman_environment.json as a Postman Environment file.
Select the imported environment before sending requests.
If the collection-level pre-request script does not appear after import, copy hikvision_prerequest_script.js into the project or interface pre-request script area.
Recommended Run Order
1. personInfo by jobNo
2. auth_config add
3. auth_config rate search
4. auth_config search
5. auth_item total search
6. auth_item list search
7. auth_item single search
8. door events
Notes
The collection uses AK/SK signature headers compatible with the current local PMS code path.
personInfo by jobNo will write personId into the environment automatically.
auth_config add will write configTaskId into the environment automatically.
The sample variables are based on RCID=52111365, jobNo=G411623200810122140.