WT103 – Available Services

This topic provides IDs of services that can be invoked on WT103.

Usage

Workflow
  1. Copy the snippet of the desired service.
  2. If input parameters are required, fill in the values and remove the comments.
  3. Use it as the body parameters of Invoke Device Services Asynchronously .
Example
POST /device/openapi/v1/devices/1737019327786467329/services/call HTTP/1.1
Host: demo.milesight.com
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Inxxxxxxxxxxxxxx
Content-Type: application/json

{
    "serviceId": "reboot",
    "inputs": {}
}

Supported services

Service ID

Schedule Enable Switch
{
    "serviceId": "config_single_heating_plan",
    "inputs": {
        "id": 0, // Schedule ID Type: int
        "switch": "0" // Schedule Enable Type: enum Enum: 0-Disable 1-Enable
    }
}
Reboot
{
    "serviceId": "reboot",
    "inputs": {}
}
Sync Time
{
    "serviceId": "sync_time_immediately",
    "inputs": {}
}
Query Device Status
{
    "serviceId": "query_device_status",
    "inputs": {
        "query": "0" // Device Status Query Type: enum Enum: 0-Real-time operating status 1-Heating Date 2-Heating Schedule
    }
}
Execute Valve Descale
{
    "serviceId": "config_device",
    "inputs": {
        "config": "0" // Execute Valve Descale Type: enum Enum: 0-Trigger Valve Descaling
    }
}
Open Window Status Setting
{
    "serviceId": "clear_the_window_status",
    "inputs": {
        "clear": "0" // Status Code Type: enum Enum: 0-Open Window Release 1-Open Window Trigger
    }
}
Motor Calibration
{
    "serviceId": "motor_range_calibration",
    "inputs": {
        "calibration": 255 // Calibration code Type: int
    }
}
External Temperature Settings
{
    "serviceId": "external_temperature_settings",
    "inputs": {
        "temperature_value": 0 // External Temperature Type: float Unit: ℃
    }
}
Reset
{
    "serviceId": "device_reset",
    "inputs": {}
}