====Snapshot (Live Data API Function)====
This function returns a snapshot containing the current values of the [[data points]] you request.
The return is very similar to the response you get from [[subscribe|subscribe]] - however, there is no subscription ID.
===Details===
|**URL**|/snapshot|
|**Method**|GET or POST|
^Parameter^Meaning^
|codes|A comma-delimited list of ARDI [[data points|data points]]|
|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
===Example===
URL: **/snapshot?codes=20:-1:23**
==Response (XML)==
==Response (JSON)==
{
"items": [
{ "code": "20:-1:23",
"value" : "0" }
]
}