The Nx Server API allows developers to interact extensively with the Nx Server and can be found in the Nx Web Admin Interface. In this guide we'll show you how to find the physcialId - useful for anytime you want to utilize live or recorded video from a camera or cameras in your Nx Witness System.
How to find camera's physicalId:
- In your browser type the following http request:
server_ip = the IP address or URL of the Nx Server you are requesting this information from.
server_port = the port your System is using (typically 7001)
So if you were calling our Nx Demo System the call would be: http://demo.networkoptix.com:7001/ec2/getCamerasEx?extraFormatting
* Important note: when making an API call you can use any Server in the System.
- You should now see something similar to the following screenshot:
- Search the page (CTRL + F, or cmd + F) and enter the name of the camera you are searching for using the camera's name in your System. e.g. "Kitchen"
Located above the camera name you will notice a parameter called "physicalId". This is where you can find the unique physicalId for the target device.