Device - Receive Device Bound Notification

This method is used to retrieve a cloud-to-device message.
This method is used to retrieve a cloud-to-device message See https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging for more information. This capability is only available in the standard tier IoT Hub. For more information, see Choose the right IoT Hub tier.

GET https://fully-qualified-iothubname.azure-devices.net/devices/{id}/messages/deviceBound?api-version=2018-06-30

URI Parameters

Name In Required Type Description
id
path True
  • string

Device ID.

api-version
query True
  • string

Version of the Api.

Responses

Name Type Description
200 OK

The body can be any octet-stream. Note that the size of the whole message (body plus properties) must be less than 256 Kb.

204 No Content

No Content Sent if device message queue is empty