PUT api/PositionDevices/Logs

Request Information

URI Parameters

None.

Body Parameters

Collection of PositionDeviceLog_Update
NameDescriptionTypeAdditional information
Fix

Whether or not there was a Fix when this log was made

boolean

None.

Age

Age of the position in seconds

integer

None.

Latitude

Latitude of the position. This is represented as a single decimal value

decimal number

None.

Longitude

Longitude of the position. This is represented as a single decimal value

decimal number

None.

Altitude

Altitude of the position in metres, if available

decimal number

None.

Course

Course as at the position, if available. This is represented as a number of degrees relative to true north

decimal number

None.

Speed

Speed as at the position, if available. This is in km/hr

decimal number

None.

Error

Error of the position, if available. This typically represents the horizontal positional error

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:
[
  {
    "Fix": true,
    "Age": 1,
    "Latitude": 1.0,
    "Longitude": 1.0,
    "Altitude": 1.0,
    "Course": 1.0,
    "Speed": 1.0,
    "Error": 1.0,
    "ID": 1,
    "DeviceID": 2,
    "Date": "2026-01-09T23:45:10.4242335+10:00"
  },
  {
    "Fix": true,
    "Age": 1,
    "Latitude": 1.0,
    "Longitude": 1.0,
    "Altitude": 1.0,
    "Course": 1.0,
    "Speed": 1.0,
    "Error": 1.0,
    "ID": 1,
    "DeviceID": 2,
    "Date": "2026-01-09T23:45:10.4242335+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 'PositionDeviceLog_Update[]'.

Response Information

Resource Description

GetPositionLogListResponse
NameDescriptionTypeAdditional information
DeviceLogs

Array of device log entries

Collection of PositionDeviceLog

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": [
    {
      "Fix": true,
      "Age": 1,
      "Latitude": 2.0,
      "Longitude": 3.0,
      "Altitude": 1.0,
      "Course": 1.0,
      "Speed": 1.0,
      "Error": 1.0,
      "ID": 4,
      "Date": "2026-01-09T23:45:10.4394471+10:00",
      "DeviceType": 10
    },
    {
      "Fix": true,
      "Age": 1,
      "Latitude": 2.0,
      "Longitude": 3.0,
      "Altitude": 1.0,
      "Course": 1.0,
      "Speed": 1.0,
      "Error": 1.0,
      "ID": 4,
      "Date": "2026-01-09T23:45:10.4394471+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:45:10.4394471+10:00",
    "BuildDateUTC": "2026-01-09T23:45:10.4394471+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}