跳至主要内容

Retrieve the latest value of a specific data object.

GET 

/api/v1/devices/{deviceId}/data-objects/{dataObjectId}/values/latest

Retrieve latest value of assigned dataObjectId for the device within the system-defined retention period (default: 60 minutes).

Parameters

  • deviceId (string, required): Unique ID of the device. Example: 74fe488d5d35
  • dataObjectId (Guid, required): Unique ID of the data object. Example: 3a217ee3-fb2c-617b-6ff6-7257537afade

Responses

  • 200 OK: Returns the latest data-object value including value object, value type, timestamp, and data object name.
  • 204 No Content: No latest data available for the specified data object.

Security

  • This API requires authentication.

Request

Responses

OK