WT101 – Available Services
This topic provides IDs of services that can be invoked on WT101.
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
- Time Synchronize
-
{ "serviceId": "synchronize_time", "inputs": {} }
- Query Device Status
-
{ "serviceId": "query_device_status", "inputs": {} }
- Clear Open Window Status
-
{ "serviceId": "clear_open_window_status", "inputs": {} }
- Motor Calibration
-
{ "serviceId": "calibrate_motor", "inputs": {} }
- Reboot
-
{ "serviceId": "reboot", "inputs": {} }
- Temperature Source Settings
-
{ "serviceId": "temperature_source_settings", "inputs": { "enable": "0", // Temperature Source Type: enum Enum: 0-embedded temperature 1-external temperature "overtime": 3 // Timeout Type: int Unit: min } }
- External Temperature Settings
-
{ "serviceId": "external_temperature_settings", "inputs": { "temperature_value": 0 // External Temperature Type: float Unit: ℃ } }