Create Polling Monitor

The following sample shows how to create a polling monitor.

Request

POST /ws/Monitor

Payload

<Monitor>
  <monTopic>DeviceCore,DataPoint/00000000-00000000-00000000-00000000</monTopic>
  <monTransportType>polling</monTransportType>
  <monDescription>Query monitor saves push notifications but does not send them.</monDescription>
</Monitor> 

Response

<?xml version="1.0" encoding="ISO-8859-1"?>
<result>
  <location>Monitor/433016</location>
</result>

To query the data from a polling monitor, see v1/monitors.