Digital Twin - Invoke Root Level Command
Panggil perintah tingkat akar kembar digital.
POST https://fully-qualified-iothubname.azure-devices.net/digitaltwins/{id}/commands/{commandName}?api-version=2020-05-31-preview
POST https://fully-qualified-iothubname.azure-devices.net/digitaltwins/{id}/commands/{commandName}?api-version=2020-05-31-preview&connectTimeoutInSeconds={connectTimeoutInSeconds}&responseTimeoutInSeconds={responseTimeoutInSeconds}
Parameter URI
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
command
|
path | True |
|
|
|
id
|
path | True |
|
|
|
api-version
|
query | True |
|
Versi Api. |
|
connect
|
query |
|
Interval waktu maksimum, dalam detik, bahwa perintah kembar digital akan menunggu jawabannya. |
|
|
response
|
query |
|
Interval waktu maksimum, dalam detik, bahwa perintah kembar digital akan menunggu jawabannya. |
Isi Permintaan
| Name | Type | Description |
|---|---|---|
| payload |
|
Respons
| Name | Type | Description |
|---|---|---|
| 200 OK |
|
Mengembalikan payload respons perintah kembar digital Headers
|