Update (Live Data API)
Returns the values of all Data Points / Point Names that have changed (or no values if there have been no changes within 30 seconds).
ARDI uses a long polling model, which means that when you request an update, you might not get an immediate response. Instead, the server may hold your connection open while it waits for fresh data.
Details
URL | /update |
Method | GET or POST |
Parameter | Meaning |
---|---|
id | The subscription ID, as returned from the subscribe call |
format | The format of the returned value. This can be xml or json |
Response
The response is an XML (default) or JSON encoded collection of points, plus an 'id' column that includes the unique code for your subscription.
See the example in subscribe for more information.