POST api/DataNodes/Logs/Bulk/{id}?headerLines={headerLines}

Used to post bulk Device logs for a specific DataNode. This must be done with the body of the call set to form-data.Data must be supplied in appropriately formatted text files with the key "data". Each file must be less than 5 MB. The limit of number of files is currently unknown.Log mapping information is determined by the DataNode specified by the provided ID - as such, the data must be in the exact same order as is typically read from the DataNode in standard operation.Optionally a DateTime Offset may be provided with the key "offset", with the format of hh:mm:ss.This is to be used by System Administrators only

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Integer ID of the DataNode the logs are for

integer

Required

headerLines

Optional number of lines to treat as headers at the start of each file, which will be skipped

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Details on how many logs were posted for each of the Devices on the indicated DataNode and any relevant messages

PostLogsResponse
NameDescriptionTypeAdditional information
PostedDeviceLogDetails

Array of Posted Device Log Details

Collection of PostedDeviceLogDetails

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:
{
  "PostedDeviceLogDetails": null,
  "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-05-07T23:07:39.0623232+10:00",
    "BuildDateUTC": "2026-05-07T23:07:39.0623232+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}