GS601 – Available Services
This topic provides IDs of services that can be invoked on GS601.
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": {} }
- Query Device Status
-
{ "serviceId": "query_device_status", "inputs": {} }
- Synchronize Device Time
-
{ "serviceId": "synchronize_time", "inputs": {} }
- Rejoin the Network
-
{ "serviceId": "reconnect", "inputs": {} }
- Stop Buzzer
-
{ "serviceId": "stop_buzzer_alarm", "inputs": {} }
- TVOC Self-Cleaning
-
{ "serviceId": "execute_tvoc_self_clean", "inputs": {} }