Digital Twin - Invoke Component Command

デジタル ツイン コマンドを呼び出します。

POST https://fully-qualified-iothubname.azure-devices.net/digitaltwins/{id}/components/{componentPath}/commands/{commandName}?api-version=2020-05-31-preview
POST https://fully-qualified-iothubname.azure-devices.net/digitaltwins/{id}/components/{componentPath}/commands/{commandName}?api-version=2020-05-31-preview&connectTimeoutInSeconds={connectTimeoutInSeconds}&responseTimeoutInSeconds={responseTimeoutInSeconds}

URI パラメーター

名前 / 必須 説明
commandName
path True

string

componentPath
path True

string

id
path True

string

api-version
query True

string

Api のバージョン。

connectTimeoutInSeconds
query

integer

int32

デジタル ツイン コマンドが応答を待機する最大時間間隔 (秒単位)。

responseTimeoutInSeconds
query

integer

int32

デジタル ツイン コマンドが応答を待機する最大時間間隔 (秒単位)。

要求本文

名前 説明
payload

object

応答

名前 説明
200 OK

object

デジタル ツイン コマンド応答ペイロードを返します

Headers

  • x-ms-command-statuscode: integer
  • x-ms-request-id: string