PUT api/Devices/Logs

Request Information

URI Parameters

None.

Body Parameters

Collection of ConnectedDeviceLog_Update
NameDescriptionTypeAdditional information
DelayFromStart

The DelayFromStart value to update the device log to

integer

None.

TimeToRun

The TimeToRun value to update the device log to

integer

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.

ID

ID of the device log entry to update

integer

None.

DeviceID

ID of the device the log belongs to

integer

None.

Date

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

date

None.

Request Formats

application/json, text/json, text/html

Sample:
[
  {
    "DelayFromStart": 1,
    "TimeToRun": 1,
    "NumericalValue": 1.0,
    "ID": 1,
    "DeviceID": 2,
    "Date": "2026-01-09T23:54:29.5610102+10:00"
  },
  {
    "DelayFromStart": 1,
    "TimeToRun": 1,
    "NumericalValue": 1.0,
    "ID": 1,
    "DeviceID": 2,
    "Date": "2026-01-09T23:54:29.5610102+10:00"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ConnectedDeviceLog_Update[]'.

Response Information

Resource Description

GetLogListResponse
NameDescriptionTypeAdditional information
DeviceLogs

Array of device log entries

Collection of ConnectedDeviceLog

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": [
    {
      "DelayFromStart": 1,
      "TimeToRun": 2,
      "Value": "1.0",
      "NumericalValue": 1.0,
      "ReadingType": 4,
      "ReadingUnitType": 5,
      "ID": 6,
      "Date": "2026-01-09T23:54:29.5610102+10:00",
      "DeviceType": 10
    },
    {
      "DelayFromStart": 1,
      "TimeToRun": 2,
      "Value": "1.0",
      "NumericalValue": 1.0,
      "ReadingType": 4,
      "ReadingUnitType": 5,
      "ID": 6,
      "Date": "2026-01-09T23:54:29.5610102+10:00",
      "DeviceType": 10
    }
  ],
  "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": "2026-01-09T23:54:29.5610102+10:00",
    "BuildDateUTC": "2026-01-09T23:54:29.5610102+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}