POST api/Devices/Logs/Bulk?headerLines={headerLines}

Used to post bulk Device logs. 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 must be supplied as a Base64-encoded JSON Body based on with the key "mapping".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
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 mapped device 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": [
    {
      "DeviceID": 1,
      "LogsPosted": 2
    },
    {
      "DeviceID": 1,
      "LogsPosted": 2
    }
  ],
  "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:53:44.2710604+10:00",
    "BuildDateUTC": "2026-01-09T23:53:44.2710604+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}