Postman collection with two environments (LAN and WAN) to interact with a Hikvision NVR device.
- Brand: Hikvision
- Model: DS-7104NI-Q1 / 4P
Important
If you attempt to use this collection on a different device, some HTTP requests may not function as expected. This is because each NVR device contains distinct APIs tailored to its specific use case
However, most of the general requests will likely work on your device
To use this collection in Postman, you need to configure the following environment variables for both environments:
NVR_USERNAME
NVR_PASSWORD
NVR_PROTOCOL
NVR_HOSTNAME
NVR_PORT
NVR_USERNAME=admin
NVR_PASSWORD=mypassword
NVR_PROTOCOL=http
NVR_HOSTNAME=192.168.1.156
NVR_PORT=80
For NVR_HOSTNAME
, you can use:
- An IPv4 address (e.g.,
192.168.1.156
) - A Fully Qualified Domain Name (FQDN) (e.g.,
nvr.example.com
)
Complete the following steps:
-
You might want to create a separated Workspace to have things organized although this is an optional step
- Choose a Blank Workspace and select Next
- Choose a name for the new workspace and select Only me for who can access to it, if you prefer so. Select Create
-
Now, go to the Import option next to your workspace name and drop the three files available from this repository folder and Select Import
- Hikvision DS-7104NI-Q1 - 4P NVR collection.postman_collection.json
- [LAN] - Hikvision DS-7104NI-Q1 - 4P NVR.postman_environment.json
- [WAN] - Hikvision DS-7104NI-Q1 - 4P NVR.postman_environment.json
-
Once import process is finished, you can then go to the Collections and Environments to check if it has been done correctly
-
Go to Environments tab and set your environments variables for both LAN and WAN environments and use the Current value column to fill the data
-
From the right top dropdown menu, select the environment you want to work with next
-
Finally, go to Collections tab and try your requests. Remember: Some of the requests may not work for other NVR devices
All information was obtained from the PDF files available in the NVR API documentation files