REST API
The WLTE REST API provides device queries, device type definitions, device control, and command result lookup over standard HTTP with Bearer Token authentication.
Service Address
text
https://openapi.svnwi.com{baseUrl} throughout this documentation refers to this address. Example full request URL:
text
https://openapi.svnwi.com/wlte/v1/devicesIntegration Flow
- Call Create Access Token to obtain
accessToken. - Use
Authorization: Bearer {accessToken}to call device APIs. - Call List Devices to get accessible devices and
deviceIdvalues. - If your UI depends on device type capabilities, call List Device Type Definitions.
- If you need cached configuration such as relay jog duration or RS485 baud rate, call Get Device Configuration.
- Based on device capabilities, call relay control, RS485 transceive, or RS485 configuration endpoints.
- If the initial response does not return a final result, call Get Command Result.
Endpoint Summary
| Method | Path | Description | Scope |
|---|---|---|---|
POST | /wlte/v1/auth/token | Create access token | — |
GET | /wlte/v1/devices | List devices | device:read |
GET | /wlte/v1/devices/{deviceId} | Get device detail | device:read |
GET | /wlte/v1/devices/{deviceId}/config | Get device configuration | device:read |
GET | /wlte/v1/device-profiles | List device type definitions | device:read |
POST | /wlte/v1/devices/{deviceId}/relays/{index}/commands | Create relay command | device:control |
POST | /wlte/v1/devices/{deviceId}/rs485/transceive | RS485 transceive command | device:control |
PUT | /wlte/v1/devices/{deviceId}/rs485/baud-rate | Set RS485 baud rate | device:config |
GET | /wlte/v1/commands/{commandId} | Get command result | device:read |
Recommended Reading Order
- Response Envelope
- Base URL and Headers
- Permissions
- Pagination
- Rate Limits and Retries
- Create Access Token
- List Devices
- Get Device
- Get Device Configuration
- List Device Type Definitions
- Create Relay Command
- RS485 Transceive
- Set RS485 Baud Rate
- Get Command Result
- Status Code Overview
Reference
- Peripheral State Reference — field definitions for relays, digital inputs, sensors, and analog inputs
