EM410-RDL – Available Services
This topic provides IDs of services that can be invoked on EM410-RDL.
Usage
- Workflow
-
- Copy the snippet of the desired service.
- If input parameters are required, fill in the values and remove the comments.
- Use it as the body parameters of Invoke Device Services Asynchronously .
- Example
-
POST /device/openapi/v1/devices/1737019327786467329/services/call HTTP/1.1 Host: milesight.demo.com Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Inxxxxxxxxxxxxxx Content-Type: application/x-www-form-urlencoded User-Agent: OpenAPI { "serviceId": "reboot", "inputs": {} }
Supported services
Service ID
- Reboot
-
{ "serviceId": "reboot", "inputs": {} }
- Synchronize device time
-
{ "serviceId": "time_synchronize", "inputs": {} }
- Query Device Status
-
{ "serviceId": "query_device_status", "inputs": {} }
- Clear Historical Data
-
{ "serviceId": "clear_historical_data", "inputs": {} }
- Retrieve historical data for a specific time
-
{ "serviceId": "retrival_historical_data_by_time", "inputs": { "time": "date" // Time Point Type: date Unit: s } }
- Retrieve historical data for a specific time range
-
{ "serviceId": "retrival_historical_data_by_time_range", "inputs": { "start_time": "date", // Start Time Type: date Unit: s "end_time": "date" // End Time Type: date Unit: s } }
- Stop Retrieving historical data
-
{ "serviceId": "stop_historical_data_retrival", "inputs": {} }
- Device Calibration
-
{ "serviceId": "set_device_calibration", "inputs": { "object": "1" // Device Calbration Type: enum Enum: 0-radar sensor calibration 1-radar blind zone calibration } }
- Set Radar Echo Signal Quality
-
{ "serviceId": "set_echo_signal_quality", "inputs": { "value": 15 // Radar Echo Signal Quality Settings Type: int } }
- Set Algorithm Threshold Sensitivity
-
{ "serviceId": "set_algorithm_threshold_sensitivity", "inputs": { "value": 0.5 // Algorithm Threshold Sensitivity Settings Type: float } }
- Peak Sorting
-
{ "serviceId": "sort_peak", "inputs": { "type": "1" // Peak Sorting Type: enum Enum: 0-closest peak 1-strongest peak } }