v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14134933.3 KB

Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.

post/devices/{deviceId}/methods

Path parameters

deviceIdstring required

The unique identifier of the device.

Request body

deviceMethodParametersstring

A JSON encoded string containing the device method request parameters.

Response

Success

DeviceMethodResponsestring

A JSON encoded string containing the device method response.