Data Collection

Get DCI last value

Changed on

Returns the most recent value for the specified DCI

get/objects/{object-id}/data-collection/{dci-id}/last-value

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/objects/{object-id}/data-collection/{dci-id}/last-value
  • Auth
    • HTTP basic
    • or API key in cookie session_handle
    • or API key in header Session-Id

Path parameters

object-idstring required

Object ID or GUID

dci-idstring required

DCI ID or name

Query parameters

rowsAsObjectsboolean

For table DCIs, return rows as objects with column names as keys

Response

Last value

dciTypeinteger
dataOriginstring
timestampinteger
valuestring
tableValueobject

Changes