PUT api/CalculatedDevices/Logs

Request Information

URI Parameters

None.

Body Parameters

Collection of CalculatedDevice_Log_Update
NameDescriptionTypeAdditional information
ID

ID of the device log entry to update

integer

None.

DeviceID

ID of the device the log belongs to

integer

None.

DeviceType

The Type of Device this log entry is for (Connected or Calculated)

OwnerType

None.

NumericalValue

The reading to set the device log to, if provided.NOTE: If this is null, the reading is not changed. At this time, it is impossible to explicitly set a Reading to null

decimal number

None.

Date

The reading date to change the device log to, if provided.

date

None.

Request Formats

application/json, text/json, text/html

Sample:
[
  {
    "ID": 1,
    "DeviceID": 2,
    "DeviceType": 10,
    "NumericalValue": 1.0,
    "Date": "2025-11-09T21:26:23.764043+10:00"
  },
  {
    "ID": 1,
    "DeviceID": 2,
    "DeviceType": 10,
    "NumericalValue": 1.0,
    "Date": "2025-11-09T21:26:23.764043+10:00"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetCalculatedLogListResponse
NameDescriptionTypeAdditional information
DeviceLogs

Array of device log entries

Collection of CalculatedDevice_Log_Entry

None.

Messages

Array of messages

Collection of Message

None.

ServerInformation

Relevant information regarding the Server

ServerInformation

None.

VersionInformation

Relevant information regarding the API's version

VersionInformation

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "DeviceLogs": [
    {
      "Type": 10,
      "ID": 1,
      "DeviceType": 10,
      "Date": "2025-11-09T21:26:23.7796562+10:00",
      "Value": "1.0",
      "NumericalValue": 1.0,
      "ReadingType": 4,
      "ReadingUnitType": 5
    },
    {
      "Type": 10,
      "ID": 1,
      "DeviceType": 10,
      "Date": "2025-11-09T21:26:23.7796562+10:00",
      "Value": "1.0",
      "NumericalValue": 1.0,
      "ReadingType": 4,
      "ReadingUnitType": 5
    }
  ],
  "Messages": [
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    },
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    }
  ],
  "ServerInformation": {
    "CurrentTimeUTC": "2025-11-09T21:26:23.7796562+10:00",
    "BuildDateUTC": "2025-11-09T21:26:23.7796562+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}