POST api/Devices/Logs/Bulk

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 an appropriately formatted text file with the key "data". The file must be less than 5 MB.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

None.

Body Parameters

None.

Response Information

Resource Description

with details on how many logs were posted for each mapped device

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": "2025-11-09T21:42:37.5074007+10:00",
    "BuildDateUTC": "2025-11-09T21:42:37.5074007+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}