Device - Send Device Event
Cihazdan buluta ileti gönderme. Daha fazla bilgi edinmek için bkz. https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging.
POST https://fully-qualified-iothubname.azure-devices.net/devices/{id}/messages/events?api-version=2020-03-13
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
id
|
path | True |
string |
Cihaz Kimliği. |
api-version
|
query | True |
string |
Api sürümü. |
İstek Başlığı
Name | Gerekli | Tür | Description |
---|---|---|---|
iothub-app-XXX |
string |
İletinin 'applicationProperties' bölümüne yerleştirilecek 'iothub-app-' ön ekine sahip isteğe bağlı uygulama özelliği ('iothub-app-' ön eki kaldırılacaktır). |
Yanıtlar
Name | Tür | Description |
---|---|---|
204 No Content |
İçerik Yok |