Get latest value of datasources

You can fetch the latest data of a datasource by making an API request to /api/Plant/{plantId}/Element/{elementId}/LastData.
  1. Go to the Plant section and find the /api/Plant/{plantId}/Element/{elementId}/LastData endpoint.
  2. In the Parameters section, enter the datasource ID and your access token, and then click Try It Out.
    Layer 1
    Note: The access token expires 24 hours after either its creation or its last use. For more information, see the Access token.
  3. If the server accepts the token, it returns a "200 HTTP" response and the latest values of the datasource.
    Lehayer 1
You obtain the latest data of a datasource.