Execute Tap-to-Run

Last Updated on : 2023-06-15 05:05:22

Execute a specified tap-to-run scene based on the tap-to-run ID.

API address

PUT: /v2.0/iot-03/scenes/{scene_id}/trigger

Request parameter

Parameter name Type IN Required Description
scene_id String uri true The ID of a tap-to-run scene.

Return parameter

Parameter name Type Description
result Boolean The returned result. Valid values: true: succeeded. false: failed.

Request example

PUT: /v2.0/iot-03/scenes/snVgqwQ8tAr4****/trigger

Return example

{ "result": true, "t": 1635494266697, "success": true }

Error code

For more information, see error code.