PUT api/Devices/Logs

Request Information

URI Parameters

None.

Body Parameters

Collection of ConnectedDevice_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.

DelayFromStart

The DelayFromStart value to update the device log to

integer

None.

TimeToRun

The TimeToRun value to update the device log to

integer

None.

Request Formats

application/json, text/json, text/html

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetLogListResponse
NameDescriptionTypeAdditional information
DeviceLogs

Array of device log entries

Collection of ConnectedDevice_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": [
    {
      "DelayFromStart": 1,
      "TimeToRun": 2,
      "Latitude": 3.0,
      "Longitude": 4.0,
      "ID": 5,
      "DeviceType": 10,
      "Date": "2025-11-09T21:26:22.8415965+10:00",
      "Value": "1.0",
      "NumericalValue": 1.0,
      "ReadingType": 8,
      "ReadingUnitType": 9
    },
    {
      "DelayFromStart": 1,
      "TimeToRun": 2,
      "Latitude": 3.0,
      "Longitude": 4.0,
      "ID": 5,
      "DeviceType": 10,
      "Date": "2025-11-09T21:26:22.8415965+10:00",
      "Value": "1.0",
      "NumericalValue": 1.0,
      "ReadingType": 8,
      "ReadingUnitType": 9
    }
  ],
  "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:22.8415965+10:00",
    "BuildDateUTC": "2025-11-09T21:26:22.8415965+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}