deviceSn, you can fetch the current operational status of your assets. This section focuses on the Real-time Data Query mechanism, which is ideal for fetching the latest snapshots of device variables on demand.POST /op/v1/device/real/querypvPower, batterySoc, gridConsumptionPower).| Parameter | Type | Description | Constraints |
|---|---|---|---|
sns | Array | An array of device serial numbers. | Supports batch querying, but max 50 devices per request. |
variables | Array | An array of variable keys you wish to fetch. | Refer to the Telemetry Variable Dictionary for supported keys. |
Performance Tip: If you need to fetch data for more than 50 devices, you must split your snsarray into multiple requests and execute them in parallel or sequentially.
real/query is powerful, it is a Pull-based mechanism. Use the following guide to decide if it fits your scenario:real/query) when:Reference: For the complete JSON request body structure, exact parameter formatting, and response examples, please refer to the Full API Reference List and search for /op/v1/device/real/query.