Digital Twin - Invoke Component Command
Roep een digitale dubbel-opdracht aan.
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-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
command
|
path | True |
string |
|
|
component
|
path | True |
string |
|
|
id
|
path | True |
string |
|
|
api-version
|
query | True |
string |
Versie van de API. |
|
connect
|
query |
integer (int32) |
Het maximale tijdsinterval, in seconden, dat de digitale dubbelopdracht wacht op het antwoord. |
|
|
response
|
query |
integer (int32) |
Het maximale tijdsinterval, in seconden, dat de digitale dubbelopdracht wacht op het antwoord. |
Aanvraagbody
| Name | Type | Description |
|---|---|---|
| payload |
object |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
object |
Retourneert de nettolading van het antwoord van de digitale dubbel-opdracht Kopteksten
|