Digital Twin - Invoke Component Command

Dijital ikiz komutunu çağırma.

POST https://fully-qualified-iothubname.azure-devices.net/digitaltwins/{id}/components/{componentPath}/commands/{commandName}?api-version=2021-04-12
POST https://fully-qualified-iothubname.azure-devices.net/digitaltwins/{id}/components/{componentPath}/commands/{commandName}?api-version=2021-04-12&connectTimeoutInSeconds={connectTimeoutInSeconds}&responseTimeoutInSeconds={responseTimeoutInSeconds}

URI Parametreleri

Name İçinde Gerekli Tür Description
commandName
path True

string

componentPath
path True

string

id
path True

string

api-version
query True

string

Api sürümü.

connectTimeoutInSeconds
query

integer

int32

Dijital ikiz komutunun yanıtı bekleyeceği en uzun süre (saniye cinsinden).

responseTimeoutInSeconds
query

integer

int32

Dijital ikiz komutunun yanıtı bekleyeceği en uzun süre (saniye cinsinden).

İstek Gövdesi

Name Tür Description
payload

object

Yanıtlar

Name Tür Description
200 OK

object

Dijital ikiz komutu yanıt yükünü döndürür

Headers

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