πRest API
Programmatic Access to Redundant Video Sources
Overview
The RMF Web API provides an authenticated REST interface that allows third-party software, such as analytics tools, to access XProtect dual-recording redundancy information. Such information enables third-party software to retrieve video from redundant sources if the primary source fails.
Where does it live?
The WebAPI is installed on the same system as the RMF Services and the Configuration UI. Installation locations vary based on the redundancy architecture, the number of cameras, and other parameters. By default, it is installed along with these components.
For more detail, refer the pageWhat to Install Where.
Configuration
Refer the linkWeb APIfor the configuration of the API port number.
Operation
API
Fetch the Redundant Camera Map
Query
XML
JSON
Here:
<management_server_IP> β IP address of the System that hosts the API <rmf_api_port_num> β RMF Port number. The default is 2020.
Body
Parameters
username
Must be an Active Directly user or a Windows user of Milestone XProtect. Do not use a basic user.
password
The user's password
search
Omitting the search field causes the API to return the complete list of RMF managed cameras. However, if the search field is present, the API returns all cameras whose names partially or completely match any specified search strings. The API will return an empty list when the search strings do not match any camera names or portions of camera names.
Status Code
200
NA
Login successful
400
Bad request ACCT_AUTH_001
Username or password cannot be null or empty.
401 Unauthorized
ACC_AUTH_022
Login failed. Invalid credentials.
401 Unauthorized
ACC_AUTH_006
Login failed. Invalid credentials.
Example Response
XML Response

JSON Response

API Help Page
From a web browser, access the URL:
to be directed to the RMF API help page as below.

Demo Video
Last updated




