Device - Send Device Event
디바이스-클라우드 메시지를 보냅니다. 자세한 내용은 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 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
id
|
path | True |
string |
Device ID |
api-version
|
query | True |
string |
API의 버전입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
iothub-app-XXX |
string |
메시지의 'applicationProperties' 섹션에 배치할 'iothub-app-' 접두사 접두사인 선택적 애플리케이션 속성('iothub-app-' 접두사는 제거됨). |
응답
Name | 형식 | Description |
---|---|---|
204 No Content |
내용 없음 |