# Apifox Import Files ## Files - `hikvision_leave_auth_collection.postman_collection.json` - `hikvision_leave_auth_environment.postman_environment.json` - `hikvision_prerequest_script.js` ## Import Order 1. In Apifox, import `hikvision_leave_auth_collection.postman_collection.json` as a Postman Collection v2.1 file. 2. Import `hikvision_leave_auth_environment.postman_environment.json` as a Postman Environment file. 3. Select the imported environment before sending requests. 4. 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. `1. personInfo by jobNo` 2. `2. auth_config add` 3. `3. auth_config rate search` 4. `4. auth_config search` 5. `5. auth_item total search` 6. `6. auth_item list search` 7. `7. auth_item single search` 8. `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`.